commit-conventions
Skill1 starsChanged 13 days agoMITView on GitHub
Enforces Conventional Commits format and branch naming conventions, validating commit message structure (type/scope/description header), suggesting branch name patterns (feature/*, fix/*, hotfix/*), and enforcing breaking change notation. Use when the user is about to commit, creating a branch, reviewing commit history, preparing a pull request, setting up commit linting, or asking about commit message format, branch naming, or Conventional Commits.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- aiidateam/aiida-coretheir own version, first seen Nov 2, 2026
- theyoungastronauts/polaristheir own version, first seen Nov 1, 2026
- getsentry/skillettheir own version, first seen Oct 13, 2026
- areal-project/AReaLtheir own version, first seen Oct 8, 2026
- inclusionAI/AReaLtheir own version, first seen Oct 8, 2026
- future-mine/claude-skilltheir own version, first seen Oct 8, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- areal-project/AReaL★ 5.9ksame name
- inclusionAI/AReaL★ 5.9ksame name
- aiidateam/aiida-core★ 608same name
- getsentry/skillet★ 13same name
- theyoungastronauts/polaris★ 4same name
- future-mine/claude-skill★ 1same name
- seven-hills-software/skillwright-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openkata-eval-runnerSkill
- openkata-optimize-skillsSkill
- openkata-review-ruleSkill
- openkata-review-skillSkill
- openkata-rule-conventionsSkill
- openkata-ryu-releaseSkill
- openkata-skill-conventionsSkill
- create-adrSkill
- create-evalsSkill
- create-profileSkill
- create-ruleSkill
- create-skillSkill
- critical-thinkingSkill
- github-create-prSkill
- git-worktreeSkill
- grill-meSkill
- grill-with-docsSkill
- makefile-conventionsSkill
- spec-workflowSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
When asked to "commit all" or "commit everything", first review the diff for unrelated changes.
- Distinctive: line 48
Run the generator before staging if unsure.
- Distinctive: line 82
Before pushing, check for WIP or checkpoint commits:
- Distinctive: line 85
If any commits are checkpoints (prefixed "checkpoint", "wip", "temp"):
- Distinctive: line 90
Do NOT squash everything into one commit
- Distinctive: line 91
If history is clean, skip this step
- Distinctive: line 107
Always check first (step 1).
- Distinctive: line 120
Use git mv for file renames to preserve history
- Distinctive: line 128
Does NOT push to remote
- Distinctive: line 129
Does NOT modify source code
- Distinctive: line 130
Does NOT create pull/merge requests
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Conventions
Enforce consistent commit messages and branch naming using Conventional Commits and kebab-case branch names.
Commit Workflow
- Name branches by type — Follow the branch naming format
in the
git-namingrule. If no rule is installed, see branch-naming.md. - Check existing conventions — Before applying defaults,
look for
.commitlintrc,commitlint.config.js,.czrc,CONTRIBUTING.md, or recent commit history. If the repo has established conventions, follow those instead. - Review changes — Run
git statusandgit diff. - Verify atomicity — One logical change per commit. If you need "and" in the message, split into multiple commits. When asked to "commit all" or "commit everything", first review the diff for unrelated changes. If multiple logical changes are present, propose a split with one commit per concern and confirm the grouping before proceeding.
- Stage specific files — Do not use
git add .orgit add -A. Stage each file individually to avoid committing unrelated changes. - Include generated files — If the project uses code
generation (e.g.,
templ generate), ensure generated output files are staged alongside their source files. Run the generator before staging if unsure. Write the commit message — Follow the
git-namingrule for format. If no rule is installed, see commit-format.md.Key rules:
- Imperative mood, lowercase, no trailing period
- Max 72 characters for the header
- Body required when the reasoning matters — decisions, refactors, non-trivial fixes
- Header-only is fine when the diff tells the full story
- Breaking changes always require a body explaining the impact and migration path
- Separate header, body, and footer with blank lines
- Commit.
- Validate — Run
git log -1to confirm the format. If incorrect, rungit commit --amendto fix.
Branch Workflow
- Check existing conventions — Look for branch protection rules, CI config, or existing branch patterns.
- Create the branch — Follow the
git-namingrule for format. If no rule is installed, see branch-naming.md. - Create from main, delete after merge.
Checkpoint Cleanup
Before pushing, check for WIP or checkpoint commits:
- Run
git log --oneline origin/main..HEAD - If any commits are checkpoints (prefixed "checkpoint",
"wip", "temp"):
git reset --soft origin/mainto unstage all changes- Review with
git diff --cached - Re-stage selectively and create logical, atomic commits
- Do NOT squash everything into one commit
- If history is clean, skip this step
Example Scenario
User: "commit these changes"
- Skill checks for
.commitlintrc— none found, uses defaults - Runs
git statusandgit diffto understand the changes - Changes touch auth middleware — suggests scope
auth - Writes:
fix(auth): handle expired tokens during reconnect - Stages specific files, commits, validates with
git log -1
Common Failures
- Repo already has conventions — applying Conventional Commits over an existing format creates inconsistent history. Always check first (step 1).
- Scope too broad or missing —
fix: stufftells nothing.fix(auth): resolve token expiry race conditiontells the story. - Body on trivial commits — a one-line typo fix doesn't need three paragraphs of reasoning.
- Non-atomic commits — bundling unrelated changes makes history useless. If you need "and", split.
Gotchas
- No "WIP" or "temp" commits — use
git commit --amendorgit rebase -ito clean up before opening a pull request - Use
git mvfor file renames to preserve history
Boundaries
- DOES stage and commit changes
- DOES validate commit message format
- DOES restructure checkpoint commits
- DOES suggest branch names
- Does NOT push to remote
- Does NOT modify source code
- Does NOT create pull/merge requests
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

