You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,21 @@
1
1
# Changelog
2
2
3
+
## [1.45.2.0] - 2026-05-27
4
+
5
+
## **`/setup` now mirrors support files and asset directories alongside SKILL.md so skills can read their own assets without path hacks.**
6
+
7
+
Skills like `/review` and `/qa` ship with sidecars — `checklist.md`, `greptile-triage.md`, `specialists/`, `templates/`, `bin/` — that their SKILL.md reads at runtime via `.claude/skills/<skill>/<file>`. Before this fix, `link_claude_skill_dirs` in `setup` only symlinked `SKILL.md`, leaving every sidecar unreachable. Skills worked around this with long absolute paths; new skills couldn't assume they had access to their own assets.
8
+
9
+
Now `setup` iterates over sibling `.md` files and qualifying subdirectories in each skill source dir and calls `_link_or_copy` for each. The Windows path compatibility guard (`_link_or_copy` instead of raw `ln -snf`) is preserved. The fix also adds two new invariant tests to `test/gen-skill-docs.test.ts` that will catch any future regression.
10
+
11
+
### Itemized changes
12
+
13
+
#### Fixed
14
+
- `setup`: `link_claude_skill_dirs` now mirrors supporting `.md` files (except `SKILL.md` itself) and subdirectories (except `dist`, `src`, `test`, `tests`, `scripts`, `node_modules`) via `_link_or_copy` — fixes #1499
15
+
16
+
#### Added
17
+
- `test/gen-skill-docs.test.ts`: two new invariant tests asserting `link_claude_skill_dirs` mirrors support files and directories using `_link_or_copy`
18
+
3
19
## [1.45.0.0] - 2026-05-25
4
20
5
21
## **Design boards now live 24 hours, not 10 minutes. One daemon hosts every board, one tab survives the whole day.**
0 commit comments