This handles git commits with Conventional Commits formatting, so you get consistent `feat(scope): do the thing` style messages without thinking about it. It reviews your diffs, checks recent commit history to match your project's scope conventions, and stages only what you specify if you pass file paths. The nice touch is how it treats arguments flexibly: you can pass files to limit what gets committed, freeform instructions to guide the message, or both. It won't push or add footers, just creates the commit. Useful if you want structured commit messages but don't want to context switch out of your conversation with Claude to write them manually.

skills.sh installs
275
GitHub stars
3.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add mitsuhiko/agent-stuff --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Files

Create a git commit for the current changes using a concise Conventional Commits-style subject.

Format

<type>(<scope>): <summary>

  • type REQUIRED. Use feat for new features, fix for bug fixes. Other common types: docs, refactor, chore, test, perf.
  • scope OPTIONAL. Short noun in parentheses for the affected area (e.g., api, parser, ui).
  • summary REQUIRED. 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

Sponsors

Details

Repository
github.com/mitsuhiko/agent-stuff
Categories
Git & Pull Requests, AI & Agent Building
First seen
Jun 3, 2026

More from mitsuhiko/agent-stuff

All 6
1patricio0312rev avatarsecurity-pr-checklist-skillpatricio0312rev/skillsCreates repeatable security review checklist for PRs with required checks, common pitfalls, and automated gating. Use for "security review", "PR checklist", "co271skills.sh installs
2everyinc avatarresolve-pr-feedbackeveryinc/compound-engineering-pluginResolve PR review feedback by evaluating validity and fixing issues in parallel. Use when addressing PR review comments, resolving review threads, or fixing cod243skills.sh installs
3everyinc avatargit-clean-gone-brancheseveryinc/compound-engineering-pluginClean up local branches whose remote tracking branch is gone. Use when the user says "clean up branches", "delete gone branches", "prune local branches", "clean231skills.sh installs
4siviter-xyz avatarsemantic-gitsiviter-xyz/dot-agentManage Git commits using conventional commit format with atomic staging. Always generate plain git commands before running them and offer to let the user run th201skills.sh installs
5cherryhq avatargh-create-issuecherryhq/cherry-studioAutomates GitHub issue creation while respecting your repository's template structure.0skills.sh installs
6cherryhq avatarissue-reportercherryhq/cherry-studio帮助用户提交 Bug Report 或 Feature Request。支持 GitHub Issue(有账户)和本地存档(无账户)两种模式。当诊断发现是代码 Bug 时主动提议,或当用户说"帮我提 issue"、"这是个 bug"、"我想要这个功能"、"submit a bug"、"feature request"时0skills.sh installs