Skip to content

Commit f67ccb6

Browse files
committed
docs: document git commit conventions for all sessions
1 parent 08aa641 commit f67ccb6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,3 +396,18 @@ outside the repo; CI skips it silently when no wordlist is present.
396396
- TypeScript strict mode.
397397
- No `any` types. The spec defines exact shapes; use them.
398398
- Error handling follows the degradation contract ([§5.8](atrib-spec.md#58-degradation-contract)): catch everything, log with `atrib:` prefix, never throw to caller.
399+
400+
### Git commit conventions (all sessions, local or hosted)
401+
402+
Before committing, set the repository git identity to the maintainer's:
403+
`git config user.name "Nader Helmy"` and
404+
`git config user.email creator.nader@gmail.com`. Hosted sessions ship their
405+
own default identity; do not commit under it.
406+
407+
Message rules:
408+
409+
- Conventional prefix (`feat:`, `fix:`, `docs:`, `test:`, `style:`, `chore:`, `ci:`), imperative mood, subject ≤72 characters.
410+
- One idea per subject; no em dashes, metrics, or promotional framing.
411+
- No attribution trailers of any kind (`Co-Authored-By`, session links, generated-with lines).
412+
- Body optional; when present, add reviewer context rather than re-describing the diff.
413+
- Think first, commit once: no immediate follow-up commits reworking the same change.

0 commit comments

Comments
 (0)