Skip to content

[Cleanup] Local legacy directories ~/.config/opencode/skills/{sin-codocs,sin-codocs-sprint} are empty #1

@Delqhi

Description

@Delqhi

Summary

After the v1.0.0 merger of sin-codocs and sin-codocs-sprint into the unified SIN-Code-Codocs-Skill (commit 3198fd0), the local checkouts at:

/Users/jeremy/.config/opencode/skills/sin-codocs/
/Users/jeremy/.config/opencode/skills/sin-codocs-sprint/

are empty (only contain tracked git history, no working files). They should be removed from the local filesystem to avoid confusion.

Discovery method

Sub-agent audit on 2026-06-06 found that find ~/.config/opencode/skills/sin-codocs -type f and find ~/.config/opencode/skills/sin-codocs-sprint -type f produce no output (only .git/ exists). The working tree was emptied when the merger was performed.

What was moved

All 45 source files, 7 templates, 11 scripts, 7 test modules migrated to:

  • New home: /Users/jeremy/dev/SIN-Code-Codocs-Merged/ (a clone of OpenSIN-Code/SIN-Code-Codocs-Skill)
  • PyPI: sin-codocs v1.0.0 (will be in the next sin-code-bundle release)

Why this matters

  1. opencode.json still lists both skills in baseline — the empty dirs cause opencode to fail when it tries to load them
  2. Confusion for new developers — the dirs look like they should contain code
  3. Disk space.git/ directories are several MB each, with no working tree benefit
  4. Search pollutiongrep -r across ~/.config/opencode/skills/ returns stale git history

Proposed action

Step 1: Verify they're empty

ls -la ~/.config/opencode/skills/sin-codocs/
ls -la ~/.config/opencode/skills/sin-codocs-sprint/
# Expect: only .git/ directory, no working files

Step 2: Remove the empty checkouts

rm -rf ~/.config/opencode/skills/sin-codocs
rm -rf ~/.config/opencode/skills/sin-codocs-sprint

Step 3: Verify opencode.json baseline

python3 -c "
import json
with open('~/.config/opencode/opencode.json') as f:
    cfg = json.load(f)
baseline = cfg.get('skills', {}).get('baseline', [])
# sin-codocs-sprint should NOT be in baseline (it was never in baseline as a separate skill,
# but verify). sin-codocs SHOULD still be in baseline (it now points to the merged repo).
print('sin-codocs in baseline:', 'sin-codocs' in baseline)
print('sin-codocs-sprint in baseline:', 'sin-codocs-sprint' in baseline)
"

If sin-codocs-sprint is in baseline, remove it. If sin-codocs is missing, add it back (pointing to the merged repo at SIN-Code-Codocs-Skill).

Step 4: Re-clone the canonical source

After removing the empty checkouts, re-clone the canonical source for local dev:

git clone https://github.com/OpenSIN-Code/SIN-Code-Codocs-Skill.git ~/.config/opencode/skills/sin-codocs

Acceptance criteria

  • ~/.config/opencode/skills/sin-codocs/ is either removed or contains a fresh clone of the merged repo
  • ~/.config/opencode/skills/sin-codocs-sprint/ does not exist
  • opencode.json baseline has sin-codocs (not sin-codocs-sprint)
  • opencode starts without "skill not found" errors for the removed dirs
  • All 7 test modules from the merger still run: cd ~/.config/opencode/skills/sin-codocs && pytest tests/

Related

  • Merger commit: 3198fd0 in OpenSIN-Code/SIN-Code-Codocs-Skill
  • Deprecation notices were already added to both old repos' READMEs (commits 4f3d4d21 and 10ee49f77)
  • Skill-Audit-Matrix: SIN-Code-Bundle/docs/skill-audit-matrix.md (commit b9e7b42)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions