Commit 82efa10
fix(setup): mirror support files + asset dirs alongside SKILL.md in link_claude_skill_dirs
Closes #1499.
`link_claude_skill_dirs` previously only symlinked SKILL.md into each skill
directory. Skills like /review reference sibling files (checklist.md,
greptile-triage.md, specialists/, TODOS-format.md) via the
`.claude/skills/review/` path — but those files were never linked, so the
skill hit its own STOP point on every global install.
After this fix, link_claude_skill_dirs also:
- Symlinks all .md support files (except SKILL.md and *.tmpl) alongside SKILL.md
- Symlinks support asset directories (specialists/, bin/, references/,
templates/, migrations/, etc.) while excluding build dirs (dist/, src/,
test/, tests/, scripts/, node_modules/)
Idempotent — re-running ./setup upgrades existing installs cleanly.
Supersedes the partial fix in #1486 (bin/ only); this covers all asset types.
Affected skills: review (checklist.md, greptile-triage.md, design-checklist.md,
TODOS-format.md, specialists/), qa (references/, templates/), careful (bin/),
freeze (bin/), plan-devex-review (dx-hall-of-fame.md), cso (ACKNOWLEDGEMENTS.md),
setup-gbrain (memory.md), gstack-upgrade (migrations/).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 40e34de commit 82efa10
2 files changed
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
405 | 427 | | |
406 | 428 | | |
407 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2270 | 2270 | | |
2271 | 2271 | | |
2272 | 2272 | | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
2273 | 2300 | | |
2274 | 2301 | | |
2275 | 2302 | | |
| |||
0 commit comments