Skip to content
AI & Agents
Skill

/commit

Read this skill before making git commits

From plugin
agent-stuff
3.2k18 skills1 command

Claude Code

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

SKILL.md

commit.SKILL.md
name: commit
description: "Read this skill before making git commits"

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

1. Infer from the prompt if the user provided specific file paths/globs and/or additional instructions. 2. Review `git status` and `git diff` to understand the current changes (limit to argument-specified files if provided). 3. (Optional) Run `git log -n 50 --pretty=format:%s` to see commonly used scopes. 4. If there are ambiguous extra files, ask the user for clarification before committing. 5. Stage only the intended files (all changes if no files specified). 6. Run `git commit -m "<subject>"` (and `-m "<body>"` if needed).

Read more
@mitsuhiko
Ships withagent-stuff

Armin's personal Pi Coding Agent package: reusable skills, extensions, prompt commands, themes, and a few supporting utilities that I use across projects. The package is published to npm as mitsupi.

Stars on GitHub

Momentum

stars in total
3.2k
Star history of mitsuhiko/agent-stuff on GitHub, a chart by star-history.com

Other skills on agent-stuff.

anachb

anachb

Austrian public transport (VOR AnachB) for all of Austria. Query real-time departures, search stations/stops, plan routes between…

apple-mail

apple-mail

Search, read, and extract attachments from Apple Mail's local storage. Query emails by sender, recipient, subject, body, date,…

ghidra

ghidra

Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and…

github

github

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced…

google-workspace

google-workspace

Access Google Workspace APIs (Drive, Docs, Calendar, Gmail, Sheets, Slides, Chat, People) via local helper scripts without MCP.…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about commit.

Which coding agents can use commit?
commit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.