commit-commands: a Claude Code plugin by Anthropic
Official
For developers on GitHub who want commits, pushes and pull requests done with one command. Skip it if you write every commit message yourself.
- Score
- 76of 100
- Rank
- #7of 25
- Updated
- 2026
Install
/plugin install commit-commands@claude-plugins-official
Type it in Claude Code. View the source
What does commit-commands do?
commit-commands is a Claude Code plugin that adds three git slash commands. /commit reads your staged and unstaged changes and recent commit messages, drafts a message in the same style, stages the relevant files and commits, skipping files with secrets such as .env. /commit-push-pr creates a branch if you are on main, commits, pushes to origin and opens a pull request with gh pr create, including a summary and test plan, then gives you the link. /clean_gone deletes local branches whose remote branch is gone, removing any worktrees tied to them first.
When should you use commit-commands?
Use it when
- You want a commit message that matches your repo's style
- Turning finished work into a pull request in one step
- Clearing out local branches after merges
Skip it when
- Your remote is not on GitHub
- You do not want Claude attribution in commits and PRs
What it needs and what it can touch
You need
- Git
- The GitHub CLI (gh), signed in, for pull requests
- A git remote named origin
What it can do
- Runs git commands that stage, commit and push
- Opens pull requests with gh
- Deletes stale local branches and worktrees
From reading its instructions, not from running it.
Why it scores 76
Strongest on upkeep (100 of 100), weakest on adoption (61).
Details
- Stars of the shared plugin repository
- 46,718
- Last repository change
- License
- Not stated
- Data confidence
- Medium
Did it do the job for you?
Alternatives to commit-commands
-
Get githubgithub
For developers who want Claude to work with issues, pull requests and Actions on GitHub.