diff options
| author | Jesse Vincent <jesse@fsck.com> | 2025-10-10 22:20:28 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2025-10-10 22:20:28 -0700 |
| commit | 2227e3151e7f595475ed05a2d24a7c148c6b9c4e (patch) | |
| tree | 6666f46668f3b09495b7e189a9c02a002fd22d25 | |
| parent | cd83c0aac8e1ee25a35c17fc4a8262131f302328 (diff) | |
Add cross-referencing guidance to writing-skills
Added section "5. Cross-Referencing Other Skills" under CSO, explaining:
- Proper format: skills/path/name (no @ prefix or /SKILL.md suffix)
- Why: @ syntax force-loads files, burning context unnecessarily
- How to read: Use Read tool on ${CLAUDE_PLUGIN_ROOT}/skills/path/SKILL.md
This completes the move of cross-referencing guidance from getting-started
to writing-skills, improving separation of concerns.
| -rw-r--r-- | skills/meta/writing-skills/SKILL.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/skills/meta/writing-skills/SKILL.md b/skills/meta/writing-skills/SKILL.md index 57e7174..60850f8 100644 --- a/skills/meta/writing-skills/SKILL.md +++ b/skills/meta/writing-skills/SKILL.md @@ -237,6 +237,19 @@ Mention key concepts multiple times: Grep hits from multiple places = easier discovery +### 5. Cross-Referencing Other Skills + +**When writing documentation that references other skills:** + +Use path format without `@` prefix or `/SKILL.md` suffix: +- ✅ Good: `skills/testing/test-driven-development` +- ✅ Good: `skills/debugging/systematic-debugging` +- ❌ Bad: `@skills/testing/test-driven-development/SKILL.md` (force-loads, burns context) + +**Why no @ links:** `@` syntax force-loads files immediately, consuming 200k+ context before you need them. + +**To read a skill reference:** Use Read tool on `${CLAUDE_PLUGIN_ROOT}/skills/category/skill-name/SKILL.md` + ## Flowchart Usage ```dot |
