git-commit-formatter
Skill3 starsChanged 3 months agoMITView on GitHub
Structure and format Git commits under the Atomic Commit Protocol (ACP) — every commit self-contained, tested, documented, one logical change, in Conventional Commits format. Use whenever you are about to commit, or when ACP is mentioned and you need the rules or what the acronym means. This skill is the canonical definition of ACP. Triggers on: 'git commit', 'commit this', 'commit these changes', 'ACP', 'atomic commit', 'atomic commit protocol', 'conventional commits', 'what is ACP', 'commit message'.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- zachnoah89/agent-skillstheir own version, first seen May 14, 2026
- mono0926/skillstheir own version, first seen Mar 10, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mono0926/skills★ 2same name
- zachnoah89/agent-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 repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- docx-word-processorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 27
One Logical Change: Do NOT mix functional changes with refactoring or formatting.
- Distinctive: line 30
Run the test suite and confirm it passes.
- Very specific: line 33
Intentional Staging: Use git add <files> for specific paths.
- Distinctive: line 51
MUST be 50 characters or less.
- Distinctive: line 52
MUST be in the imperative mood (e.g., "Add feature", not "Added feature").
- Distinctive: line 54
MUST NOT end with a period.
- Distinctive: line 57
MUST be separated from the header by a single blank line.
- Distinctive: line 58
MUST explain the reasoning and context behind the change (the "why"), rather than just repeating what the code does.
- Distinctive: line 59
SHOULD wrap lines at 72 characters.
- Very specific: line 60
SHOULD include an Impact: section and a Testing: section detailing how the code was verified (see Appendix B in the spec for an example).
- Very specific: line 64
Do NOT add Signed-off-by or sign-off footers unless explicitly requested.
- Distinctive: line 65
Do NOT include breaking-change markers or BREAKING CHANGE footers unless explicitly requested.
- Distinctive: line 66
Do NOT push — only commit.
- Distinctive: line 70
Review Diff: Run git diff --cached to catch accidental debug lines or unrelated changes.
- Very specific: line 71
Verify Tests: Run tests (e.g., make test, pytest, npm test) and ensure the GREEN state.
- Very specific: line 72
Match Conventions: Run git log -n 5 --pretty=format:%s to match existing project style.
- Distinctive: line 73
Draft Message: Ensure it follows the ACP format and explains the "why".
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commit — Atomic Commit Protocol (ACP)
ACP = Atomic Commit Protocol. A specification for Git micro-commits: each commit is a complete, self-contained, logically indivisible unit of work — code, tests, and docs together, one logical change, never leaving the codebase inconsistent. Not to be confused with Agent Client Protocol, an unrelated Copilot CLI server mode.
You must adhere to the Atomic Commit Protocol (ACP) before making any git commit. The ACP guarantees that every commit is a complete, self-contained, and logically indivisible unit of work.
Core ACP Composition Rules
An Atomic Commit MUST contain the following elements. Do not commit until all conditions are met:
- One Logical Change: Do NOT mix functional changes with refactoring or formatting. Split unrelated changes into separate commits.
- Implementation & Verification:
- You MUST include TDD tests that validate the implementation. At least one test MUST have failed prior to the implementation and pass afterward.
- Run the test suite and confirm it passes. Never commit broken code.
- Documentation: You MUST include updates to end-user documentation or inline code comments that reflect the change and explain non-obvious logic.
- Cleanliness: You MUST remove all temporary files, build artifacts, debug statements (
console.log,print), and leftover comments before committing. - Intentional Staging: Use
git add <files>for specific paths. Do NOT usegit add .blindly.
For the full formal specification, including rationale and TDD mapping, read: references/acp-spec.md
Commit Message Format
<type>(<scope>): <Summary starting with Capital letter>
<Body explaining the "why", wrapped at 72 chars>
<Impact and Testing evidence>1. The Header (Subject Line)
- Type (Required):
feat,fix,docs,refactor,chore,test,perf,style,ci - Scope (Optional): Short noun for the affected area (e.g.,
auth,api) - Summary (Required):
- MUST be 50 characters or less.
- MUST be in the imperative mood (e.g., "Add feature", not "Added feature").
- SHOULD be Capitalized.
- MUST NOT end with a period.
2. The Body
- MUST be separated from the header by a single blank line.
- MUST explain the reasoning and context behind the change (the "why"), rather than just repeating what the code does.
- SHOULD wrap lines at 72 characters.
- SHOULD include an
Impact:section and aTesting:section detailing how the code was verified (see Appendix B in the spec for an example).
What NOT to Do
- Do NOT add
Signed-off-byor sign-off footers unless explicitly requested. - Do NOT include breaking-change markers or BREAKING CHANGE footers unless explicitly requested.
- Do NOT push — only commit. The user decides when to push.
Steps Before Committing
- Review Diff: Run
git diff --cachedto catch accidental debug lines or unrelated changes. - Verify Tests: Run tests (e.g.,
make test,pytest,npm test) and ensure the GREEN state. - Match Conventions: Run
git log -n 5 --pretty=format:%sto match existing project style. - Draft Message: Ensure it follows the ACP format and explains the "why".
- Commit: Execute the commit. If the change spans multiple logical units, make separate, sequential atomic commits.
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.

