Skip to content
Canon

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

  1. ConceptThe problem, the idea, who it is for and what it is not.
  2. LayoutThe folder, the three sections, every page and its front matter.
  3. LifecycleThe eight stages and the documentation matrix.
  4. Health checksCompleteness, findings and the two-step check.
  5. Getting startedStart a hub and keep it current in every pull request.
  6. 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