Skip to content

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
View on GitHub

Own this skill? Claim it

What it does

  • Covers the commit flow: reviewing git status and git diff, staging intended files, and running git commit
  • Requires a type(scope): summary subject 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 -y

Installs 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>

  • 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

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 6

Similar to Commit

More Git & Releases