From ff3989c41fe45cdc2f675654c44f5d149fd3b8f5 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Mon, 18 May 2026 20:58:07 +0200 Subject: [PATCH] docs(chore): document commit message convention --- CLAUDE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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`