/skills:write-domain-glossaryfrom skills
Writes a GLOSSARY.md to resolve inconsistent naming and terminology across a codebase. Useful when building a domain model, establishing ubiquitous language, or deciding naming conventions.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A glossary keeps people and modules from using different words for the same thing, or the same word for two different things.
GLOSSARY.md and docs/adr/ first if they exist, so you start from decisions already made.Create or update GLOSSARY.md at the repository root as soon as each term settles, rather than waiting until the end. Keep it focused on domain meaning, not implementation specs or scratch notes.
Use one entry per concept:
### Canonical term
Plain-English definition of what this concept is and where its boundary sits.
- **Avoid**: alias one, alias two
- **Code**: `src/path/primary.ts` (alias used in `src/path/legacy.ts`)
- **Collisions**: `src/other/file.ts` uses "shared word" for [other concept]
Check GLOSSARY.md before finishing:
Skip an ADR for routine synonym cleanup. Offer to create an ADR in docs/adr/ only when all three are true:
Based on mattpocock/skills (MIT), rewritten by Copybook.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub heyvhuang/copybook-skills --plugin skills24 skills in this plugin
/add-pre-commit-checksUse when asked to add pre-commit hooks, set up Husky or lint-staged, stop bad commits, or run Prettier and type checks on commit. Sets up a pre-commit hook that formats staged files, type-checks with the project config, and runs related tests, proven by blocked and fast commits. Not for picking a test set for a change (run-affected-tests)./build-throwaway-prototypeUse when asked to prototype, spike, try an idea out quickly, sanity-check a state model or logic, or mock up what a UI should look like. Builds a throwaway prototype that answers one named design question from one command or one HTML file while leaving production code untouched. Not for building a finished production page (design-web-page)./Other plugins' skills for the same job