codebase-docs
Installation
SKILL.md
Codebase Docs
Actively build and sharpen the project's domain model and architecture as you design. This is the active discipline: challenging terms, inventing edge-case scenarios, policing seams and layers, and writing the glossary and conventions down the moment they crystallise. (Merely reading docs/GLOSSARY.md for vocabulary or docs/ARCHITECTURE.md for context is not this skill: that's a one-line habit any skill can do. This skill is for when you're changing the model or the conventions, not just consuming them.)
Four kinds of doc, four jobs:
docs/GLOSSARY.md: what things are. The language: terms, contexts, and how they relate.docs/ARCHITECTURE.md: how the system is built. The conventions: stack, layout, layers, seams. Facts only, no history. It references the glossary and never redefines it.docs/specs/YYYY-MM-DD-<feature>.md(optional): what one feature must achieve. Its goal, its bounds, and how its user will see it work. Dated, and never a design or a plan.docs/decisions/NNNN-<decision>.md(optional): why a hard-to-undo choice was made, so the reason outlives the conversation.ARCHITECTURE.mdkeeps only the resulting fact.