diff --git a/CLAUDE.md b/CLAUDE.md index d51815f4..9d4b2d35 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -301,3 +301,13 @@ Runtime config - Ask before any change to importReportFromPdf or extractReportJson — these handle user data. - After PDF roundtrip tests fail: check attachment bytes, then Zod validation, then pako decompression. - pnpm binary: `~/.local/share/pnpm/bin/pnpm` on dev host. Add to PATH in shell profile. + +## Commit message convention + +Conventional Commits format. Subject ≤72 chars, imperative mood, no trailing period. +Allowed scopes: `schema`, `store`, `anatomy`, `pdf`, `editor`, `home`, `new`, `ui`, `config`, `species`, `docker`, `docs`, `tests`, `chore`. + +Examples: +- `test(schema): cover Report version literal` +- `feat(store): implement addObservation` +- `feat(anatomy): parse data-bone-id from SVG`