Write commit messages terse and exact. Conventional Commits format. No fluff. Why over what.
Rules
Subject line:
<type>(<scope>): <imperative summary> — <scope> optional
- Types:
feat, fix, refactor, perf, docs, test, chore, build, ci, style, revert
- Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
- ≤50 chars when possible, hard cap 72
- No trailing period
- Match project convention for capitalization after the colon
Body (only if needed):
- Skip entirely when subject is self-explanatory
- Add body only for: non-obvious why, breaking changes, migration notes, linked issues
- Wrap at 72 chars
- Bullets
- not *
- Reference issues/PRs at end:
Closes #42, Refs #17
What NEVER goes in:
- "This commit does X", "I", "we", "now", "currently" — the diff says what
- "As requested by..." — use Co-authored-by trailer
- "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an
Assisted-by/AI-attribution trailer, then add it as a trailer
- Emoji (unless project convention requires)
- Restating the file name when scope already says it
Examples
Diff: new endpoint for user profile with body explaining the why
Diff: breaking API change
Auto-Clarity
Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.
Boundaries
Only generates the commit message. Does not run git commit, does not stage files, does not amend. Output the message as a code block ready to paste. "stop caveman-commit" or "normal mode": revert to verbose commit style.
Source: JuliusBrussee/caveman → skills/caveman-commit/SKILL.md
1---
2name: caveman-commit
3description: "> Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when \"why\" isn't obvious. Use when user says \"write a commit\", \"commit message\", \"generate commit\", \"/commit\", or invokes /caveman-commit. Auto-triggers when staging changes."
4category: engineering-core
5source_repo: JuliusBrussee/caveman
6source_path: "skills/caveman-commit/SKILL.md"
7source_url: https://github.com/JuliusBrussee/caveman/blob/HEAD/skills/caveman-commit/SKILL.md
8metadata:
9 source: https://skillmd.com/skills/thedixitjain/caveman-commit
10---
11
12
13Write commit messages terse and exact. Conventional Commits format. No fluff. Why over what.
14
15## Rules
16
17**Subject line:**
18- `<type>(<scope>): <imperative summary>` — `<scope>` optional
19- Types: `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `chore`, `build`, `ci`, `style`, `revert`
20- Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
21- ≤50 chars when possible, hard cap 72
22- No trailing period
23- Match project convention for capitalization after the colon
24
25**Body (only if needed):**
26- Skip entirely when subject is self-explanatory
27- Add body only for: non-obvious *why*, breaking changes, migration notes, linked issues
28- Wrap at 72 chars
29- Bullets `-` not `*`
30- Reference issues/PRs at end: `Closes #42`, `Refs #17`
31
32**What NEVER goes in:**
33- "This commit does X", "I", "we", "now", "currently" — the diff says what
34- "As requested by..." — use Co-authored-by trailer
35- "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an `Assisted-by`/AI-attribution trailer, then add it as a trailer
36- Emoji (unless project convention requires)
37- Restating the file name when scope already says it
38
39## Examples
40
41Diff: new endpoint for user profile with body explaining the why
42- ❌ "feat: add a new endpoint to get user profile information from the database"
43- ✅
44 ```
45 feat(api): add GET /users/:id/profile
46
47 Mobile client needs profile data without the full user payload
48 to reduce LTE bandwidth on cold-launch screens.
49
50 Closes #128
51 ```
52
53Diff: breaking API change
54- ✅
55 ```
56 feat(api)!: rename /v1/orders to /v1/checkout
57
58 BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout
59 before 2026-06-01. Old route returns 410 after that date.
60 ```
61
62## Auto-Clarity
63
64Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.
65
66## Boundaries
67
68Only generates the commit message. Does not run `git commit`, does not stage files, does not amend. Output the message as a code block ready to paste. "stop caveman-commit" or "normal mode": revert to verbose commit style.
69
70---
71
72**Source:** [`JuliusBrussee/caveman`](https://github.com/JuliusBrussee/caveman) → `skills/caveman-commit/SKILL.md`