Commit
Concise git commit workflow that stages intended files and writes a Conventional Commits-style subject.
- CCM score
- 62 of 100
- skills.sh installs
- 252
- GitHub stars
- 3.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the commit flow: reviewing
git statusandgit diff, staging intended files, and runninggit commit - Requires a
type(scope): summarysubject with a 72-character limit and no trailing period - Enforces local-only commits by never pushing and omitting breaking-change markers, footers, and sign-offs
- Asks the user before committing any ambiguous extra files, and limits commits to any file paths or globs supplied
Install
$ npx -y skills add mitsuhiko/agent-stuff --skill commit -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Create a git commit for the current changes using a concise Conventional Commits-style subject.
Format
<type>(<scope>): <summary>
typeREQUIRED. Usefeatfor new features,fixfor bug fixes. Other common types:docs,refactor,chore,test,perf.scopeOPTIONAL. Short noun in parentheses for the affected area (e.g.,api,parser,ui).summaryREQUIRED. Short, imperative, <= 72 chars, no trailing period.
Notes
- Body is OPTIONAL. If needed, add a blank line after the subject and write short paragraphs.
- Do NOT include breaking-change markers or footers.
- Do NOT add sign-offs (no
Signed-off-by). - Only commit; do NOT push.
- If it is unclear whether a file should be included, ask the user which files to commit.
- Treat any caller-provided arguments as additional commit guidance. Common patterns:
- Freeform instructions should influence scope, summary, and body.
- File paths or globs should limit which files to commit. If files are specified, only stage/commit those unless the user explicitly asks otherwise.
- If arguments combine files and instructions, honor both.
Steps
Details
- Repository
- github.com/mitsuhiko/agent-stuff
- Category
- Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the commit skill do for an agent?
The commit skill guides an agent to review git status and git diff, then stage the intended files and create a git commit with a concise Conventional Commits-style subject. It only commits and does not push, and it asks the user which files to include when unclear.
Which other skills lead the Git & Releases category?
The commit skill sits in the Git & Releases category alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It is aimed at agents that should write clean commit messages in a project's git history.
How do I install the commit skill?
Run npx -y skills add mitsuhiko/agent-stuff --skill commit -y in your project to install it. Once installed, the agent follows the skill's format, using type, optional scope and imperative summary under 72 characters.
Can I limit which files the commit skill commits?
Yes, the skill treats file paths or globs passed as arguments as limits on what gets staged and committed. Freeform instructions passed alongside them also shape the commit scope, summary and body.
More from mitsuhiko/agent-stuff
All 6Similar to Commit
More Git & Releasesgit-commitgithub/awesome-copilot49.5K installsGenerates Conventional Commits messages from the diff and stages related files before committing.
git-commit-workflowlaurigates/claude-plugins161 installsConventional commit guidance and explicit staging conventions for writing messages and splitting changes into focused commits.
conventional-commitgithub/awesome-copilot17.6K installsStructured XML prompt that generates Conventional Commits messages and runs the final git commit automatically.
ce-commiteveryinc/compound-engineering-plugin3.6K installsCreate local git commits with explicit file lists and outcome-focused messages, without pushing or opening a PR.
gh-commitbastani-inc/atomic172 installsCommit helper that stages changes, splits mixed diffs, and writes Conventional Commits messages.
Git Commit Helperdavila7/claude-code-templates456 installsGenerates conventional commit messages from staged git diffs, following a documented type and scope format.