ag-atomic-commit
Installation
SKILL.md
AG Atomic Commit
Turn a working tree into a small set of reviewable commits that follow the repository's AGENTS.md rules. Prefer the smallest coherent commit that preserves buildability and review clarity.
Core Rules
- Read every applicable
AGENTS.mdbefore proposing commit boundaries. Apply the deepest matching scope. - Treat
git commitandgit pushas approval-gated actions. Ask every time and do not rely on prior consent. - Require every commit message to be written in English, even when the discussion language or AGENTS instructions are not English.
- Draft the English commit message before requesting approval so the user can review wording and scope together.
- Prefer atomic commits grouped by one behavior change, fix, refactor, test addition, or generated artifact set.
- Keep unrelated edits out of the same commit even when they touch the same file.
- Explain the constraint when a perfectly atomic split would leave the tree uncompilable or obviously broken, then choose the smallest coherent batch.
Workflow
- Inspect the full change set.