Instructions
kb/instructions/ is the searchable home for reusable procedures in this repo.
It contains two kinds of artifacts:
- Plain instructions: markdown procedures invoked manually from the KB
- Promoted skills: instruction subdirectories containing
SKILL.mdthatcommonplace-initcopies into runtime skill directories
Warning: Promoted Skills Run From A Different Path
Promoted skills are not executed from kb/instructions/. commonplace-init copies selected instruction directories into:
.claude/skills/cp-skill-<name>/.agents/skills/cp-skill-<name>/
The copies keep the same file contents, but the runtime path is different. That means promoted skills must not rely on their own on-disk location being kb/instructions/<name>/.
When writing or editing a promoted skill:
- Prefer stable workspace-root paths in prose and commands, such as
kb/notes/,kb/notes/COLLECTION.md, andkb/types/ - Do not assume markdown-relative links inside the skill will resolve from the runtime copy
- Treat
kb/instructions/as the searchable source surface, and the runtime skill directories as compiled copies
Promotion Convention
To promote an instruction into a runtime skill:
- Put it in
kb/instructions/<name>/SKILL.md - Add
<name>to the promoted skill list insrc/commonplace/cli/init_project.py - Keep any auxiliary files in the same directory so
commonplace-initcopies them with the skill
Not every instruction subdirectory is promoted. The explicit list in commonplace-init is the source of truth for what gets copied into runtime skill surfaces.