/conventions:commit-conventionsfrom conventions
Mario's git commit message format. Use whenever writing, amending, or reviewing a git commit message in any of Mario's repos.
Ships in conventions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Format:
[<ticket>] (<flags>) <scope>: <description>
The issue/ticket ID for the work, in the tracker's native form — #42 for
GitHub issues, PROJ-123 for Jira. Include it whenever the repo tracks work
in issues (in repos with issue-driven workflows, every commit references one).
Omit only when the repo genuinely has no tracker. Org-specific ticket rules
live in that org's work config, not here.
Include when applicable, in this order, comma-or-semicolon separated:
CRC — the commit addresses Code Review Comments.
<Harness> + <Model> — AI assistance was used. Name both the harness
and the model. Use the exact model identity exposed by the active harness or
session, preserving its version and variant when known. Normalize machine
IDs into readable display names without dropping detail:
gpt-5.6-sol → GPT-5.6 Solgpt-5.6-terra → GPT-5.6 Terragpt-5.6-luna → GPT-5.6 LunaIf only a family or incomplete identity is exposed, record only what is
known; never infer a missing version or variant. Do not include reasoning
effort (low, medium, high, and so on) — effort is run configuration,
not model identity.
Prefix the model with its vendor only when the harness doesn't already pin it:
Claude Code + Fable 5, Claude Code + Opus 4.8Copilot + Claude Fable 5, Copilot + GPT-5.6 Solgpt-5.6-sol model uses Codex + GPT-5.6 Sol.This holds in every harness. Some (Claude Code on the web, Claude
Projects threads) tell the agent by default to keep model names out of
commit messages. This convention is the owner's instruction and wins:
name the harness and the model anyway. Keep any trailers the harness adds
(Co-Authored-By, session links) as well.
No flags apply → omit the parentheses entirely.
The subsystem/area touched (split, clubs, docs, scaffold, …).
Optional for tiny commits where the description carries it.
[PROJ-123] (Claude Code + Fable 5) split: Add GeoIP routing
[PROJ-123] (CRC; Claude Code + Fable 5) Fix null check per review
[#42] (Copilot + Claude Fable 5) clubs: Cache member stats
[#70] (Codex + GPT-5.6 Sol) conventions: Preserve exact model attribution
[PROJ-123] Fix typo in config
PR titles follow conventions:pr-conventions, not this format.
(CRC; …) commits on the reviewed head — never squash new work into
reviewed commits. The invariant is that each reviewed commit keeps its
own diff: that's what holds the reviewer's inline anchors and keeps
"changes since your review" down to just your response. Squashing loses
both — the reviewed commits vanish and the re-review diff is the whole PR
again. Pre-review, rewrite freely. (If history is built with
git commit-tree, parent on the reviewed head, not the base branch.)
Squash only at merge time, if the repo merges that way.--force-with-lease, leave the commits intact, and note the rebase in the
PR. The one real cost is that "changes since your review" gets noisier,
since the comparison spans the base move too — so rebase when you need the
new base, not idly mid-review.AGENTS.md may extend or override this; a root
CLAUDE.md, where the repo keeps one, should be only the optional
@AGENTS.md shim described by conventions:repo-instructions. Org playbooks (work config) take precedence
in org repos.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub maguerrieri/claude-toolbox --plugin conventions3 skills in this plugin