From b93d0f5f1ea0d84dea8777432b55300b2b623fc8 Mon Sep 17 00:00:00 2001 From: Felitendo Date: Thu, 24 Sep 2026 01:13:05 +0200 Subject: [PATCH] docs: add commit rules to claude.md --- CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 0d672eb..386a645 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,15 @@ ## Style +- Keep everything short: replies, explanations, comments, docs. - Use simple English: short sentences, common words. - Avoid em dashes (—). Do not just swap them for "-" either. Rewrite the sentence instead, for example with a comma, a colon, brackets or two sentences. + +## Commits + +- English only. +- Conventional Commits prefix: `feat:`, `fix:`, `chore:`, `docs:`, `refactor:`, `ci:`, `build:`. +- Subject as short as possible. Imperative, lowercase, no trailing period. +- Body only when something genuinely cannot be inferred from the diff. +- Never add `Co-Authored-By`, "Generated with" or any other AI attribution to commits or PR descriptions.