Commit
Make focused Git commits that follow your repo’s conventions.
Use /commit in Claude Code or $commit in Codex, or ask the agent to commit. Read the skill.
Use it when a change is ready to record, a large diff needs splitting into focused commits, or you only need a commit message. It works across languages and repository layouts.
Example prompts
How it works
The agent inspects the working tree and staged changes, then groups related code, tests and documentation into commits. It follows the repository’s message format, hooks and required checks.
Each commit contains one complete change. Unrelated work stays intact; if changes cannot be safely separated, it leaves them pending. The summary includes commit hashes, check results and any remaining work. A message-only request returns a draft without creating a commit.
Installing the skill does not enable automatic commits. Automatic local commits need an explicit policy; pushing and releases are separate actions.
Works well with
- Code smell for cleanup before committing.
- Bootstrap for choosing the repository’s commit policy during setup.
See the source and adaptation notes.