Repository navigation
fix(skills): correct broken links, dup sections, name/title mismatches, drop commands/ - #917
Merged
Merged
Conversation
- Rewrite all ../../rules/*.mdc links to correct targets: branch-naming → ../branch-naming/SKILL.md subagent-delegation → ../subagent-delegation/SKILL.md tdd → ../tdd/SKILL.md commit-messages / coding-principles → ../../../CLAUDE.md - Fix ../docs/RELEASE_CYCLE.md in pr_create and pr_post-merge to ../../../docs/RELEASE_CYCLE.md - Remove duplicate ## Delegation sections from ci_check, worktree_ci-fix, and worktree_verify (copy-paste bug) - Fix solve-and-pr launcher: /worktree-solve-and-pr → /worktree_solve-and-pr (underscore, matching real skill dir) - Align worktree_pr PR title with pr_create: drop (#<issue_number>) from title format — GitHub appends (#PR) automatically; issue is traceable via Refs: in the body Refs: #912
Every .claude/commands/*.md file was a 3-4 line stub pointing to the corresponding SKILL.md. In current Claude Code a skill named X already provides /X, so these wrappers are dead weight. Extra context lines present in a handful of commands (code_tdd → tdd/SKILL.md, git_commit → CLAUDE.md, etc.) are already covered by the skills themselves after the link-fix in the previous commit. Also update CLAUDE.md command table: /project:X → /X to match the skill-provided slash commands now that commands/ is gone. Refs: #912
Signed-off-by: Carlos Vigo <[email protected]>
gerchowl
approved these changes
Jul 8, 2026
# Conflicts: # CHANGELOG.md # assets/workspace/.devcontainer/CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes five categories of correctness bugs in
.claude/skills/(issue #912). No behaviour changes — all edits are documentation/link/structure fixes.Fix 1 — Broken relative links to
../../rules/*.mdc.claude/rules/no longer exists (removed in #626). Every link pointing there is dead. Rewrote to correct targets:../../rules/branch-naming.mdc../branch-naming/SKILL.md../../rules/subagent-delegation.mdc../subagent-delegation/SKILL.md../../rules/tdd.mdc../tdd/SKILL.md../../rules/commit-messages.mdc../../../CLAUDE.md../../rules/coding-principles.mdc../../../CLAUDE.md../docs/RELEASE_CYCLE.md../../../docs/RELEASE_CYCLE.mdFiles affected:
ci_check,code_execute,code_review,code_tdd,git_commit,issue_claim,issue_triage,pr_create,pr_post-merge,pr_solve,worktree_brainstorm,worktree_ci-check,worktree_ci-fix,worktree_execute,worktree_plan,worktree_pr,worktree_solve-and-pr,worktree_verify.Fix 2 — Duplicate
## Delegationsectionsci_check,worktree_ci-fix, andworktree_verifyeach had the entire## Delegationblock copy-pasted twice. Removed the second occurrence in each.Fix 3 — Skill name mismatch in
solve-and-prLauncher called
just worktree-start <n> "/worktree-solve-and-pr"(hyphen). Actual skill dir isworktree_solve-and-pr(underscore). Fixed to/worktree_solve-and-pr.Fix 4 — PR-title contradiction
pr_create/SKILL.mdsays do NOT put the issue number in the title.worktree_pr/SKILL.mdmandated<type>: <description> (#<issue_number>). Alignedworktree_prto matchpr_create: title is now<type>: <description>without the issue number. Decision rationale:pr_creategives the reason (GitHub appends(#PR)automatically); this is the correct policy.Fix 5 — Drop obsolete
commands/wrappersEvery
.claude/commands/*.mdwas a 3-4 line stub pointing to the SKILL.md. Skills provide/Xdirectly; stubs are dead weight. Commands with extra context lines (e.g.code_tdd → tdd/SKILL.md,git_commit → CLAUDE.md) are already covered in the SKILL.md files after Fix 1. Deleted the entire.claude/commands/directory and updatedCLAUDE.mdcommand table from/project:Xto/X.Assets sync
assets/workspace/.claude/skills/was resynchronised viasync_manifest.py. Verified file-level identity before committing.Pre-commit status (local)
Ran with
pre-commit run --all-files(home-manager PATH):branch-name, all file-format/JSON/YAML checks,ruff,ruff-format,taplo-*,shellcheck,just-fmt,nixfmt,typos,pip-licenses,check-action-pins,bandityamllint,pymarkdown,sync-manifest,check-skill-names,check-agent-identity, and several others — all fail with the same root cause:uv runin the worktree (no.venv) falls back to~/.local/share/uv/python/cpython-3.14.x-linux-x86_64-gnu/bin/python3.14, which is a manylinux binary that cannot execute on NixOS. Not caused by these changes. Confirmed manually:sync-manifestwas run successfully using the main repo's.venv/bin/python3.14, assets are verified identical to sources;check-skill-nameswould pass (no skill renames);check-agent-identitywould pass (no AI attribution in commits).Please run
prek install && prek run --all-filesin the devcontainer to get the full green signal before merging.Test plan
grep -rn 'rules/.*\.mdc' .claude/skills/returns no results## Delegationsections in any skillsolve-and-prlaunches/worktree_solve-and-pr(underscore)worktree_prandpr_createagree on PR title format (no issue number).claude/commands/directory is goneprek run --all-filespasses in devcontainerRefs: #912