Repository navigation
Description
Problem
A batch of correctness bugs has accumulated in .claude/skills/:
-
Broken relative links — Many
SKILL.mdfiles link to../../rules/*.mdc(e.g.branch-naming.mdc,subagent-delegation.mdc,tdd.mdc,commit-messages.mdc,coding-principles.mdc) and../docs/RELEASE_CYCLE.md..claude/rules/does not exist (rules were converted to skills in C1 — Make.claude/the SSoT for rules & skills #626);.claude/skills/../docs/does not exist either. These links are all dead. -
Duplicate
## Delegationsections —ci_check/SKILL.md,worktree_ci-fix/SKILL.md, andworktree_verify/SKILL.mdeach have the entire## Delegationsection copy-pasted twice. -
Skill name mismatch —
solve-and-pr/SKILL.mdlaunchesjust worktree-start <n> "/worktree-solve-and-pr"but the actual skill directory isworktree_solve-and-pr(underscore). The slash command/worktree-solve-and-prwon't resolve. -
PR-title contradiction —
pr_create/SKILL.mdsays do NOT put the issue number in the PR title (GitHub appends(#PR)).worktree_pr/SKILL.mdmandates<type>: <description> (#<issue_number>)in the title. These contradict each other. -
Obsolete
commands/wrappers — Every file in.claude/commands/*.mdis a stub that just delegates to the correspondingSKILL.md. In current Claude Code, a skill namedXalready provides/X, making these wrappers dead weight. Some have extra context lines that need folding into the SKILL.md before deletion.
Proposed Fix
-
Rewrite broken
../../rules/*.mdclinks to correct targets:branch-naming.mdc→../branch-naming/SKILL.mdsubagent-delegation.mdc→../subagent-delegation/SKILL.mdtdd.mdc→../tdd/SKILL.mdcommit-messages.mdc/coding-principles.mdc→../../../CLAUDE.md(CLAUDE.md principles, no skill equivalent)../docs/RELEASE_CYCLE.md→../../../docs/RELEASE_CYCLE.md
-
Remove the duplicate second
## Delegationblock in the three affected files. -
Fix the slash command reference in
solve-and-pr/SKILL.mdto/worktree_solve-and-pr. -
Update
worktree_pr/SKILL.mdto matchpr_create's rule: no issue number in PR title. -
For commands with extra content, verify it's already in the SKILL.md (or fold it in), then delete the entire
.claude/commands/directory.
Acceptance Criteria
- TDD compliance (see
.claude/skills/tdd/SKILL.md) -
grep -rn 'rules/.*\.mdc' .claude/skills/returns no results - No duplicate
## Delegationsections in any SKILL.md -
solve-and-pr/SKILL.mdreferences/worktree_solve-and-pr -
worktree_pr/SKILL.mdandpr_create/SKILL.mdagree on PR title format -
.claude/commands/directory deleted -
assets/workspace/.claude/stays in sync (sync-manifest hook passes) - Pre-commit passes cleanly
Refs: #626
Activity
fix(skills): correct broken links, dup sections, name/title mismatches
refactor(skills): drop obsolete commands/ wrappers superseded by skills
fix(skills): correct broken links, dup sections, name/title mismatche…
chore: release 0.5.1 (#225)
chore: release 0.5.1 (#962)