- Canon
- Docs
Crafthall Canon
Documentation
How Canon works: one documentation folder per product, a fixed layout, required pages per lifecycle stage and a check that finds stale pages. Plain Markdown in your repository – no account, no service, MIT licensed.
- sections
- 3
- page types
- 18
- lifecycle stages
- 8
- health checks
- 14
Start here
- ConceptThe problem, the idea, who it is for and what it is not.
- LayoutThe folder, the three sections, every page and its front matter.
- LifecycleThe eight stages and the documentation matrix.
- Health checksCompleteness, findings and the two-step check.
- Getting startedStart a hub and keep it current in every pull request.
- Use withUse it with MADR, spec-kit, OpenSpec and BMAD.
The model in code
The layout, the stages, the matrix (16 documents × 8 stages), the checks and the completeness count are one dependency-free TypeScript package. The pages on this site read it, so they cannot drift from the code.
import { healthOf, completeness, requirementsAt } from '@crafthall/canon';
requirementsAt('validation').map((r) => r.label);
// ['Overview and pitch', 'Value proposition and target market',
// 'Quality and product metrics']
const h = healthOf({ stage: 'validation',
present: { overview: true, value: true }, findings: [] });
completeness(h); // 0.67 – product metrics still missing