💡

Streamline your git workflow with simple commands for committing, pushing, and creating pull requests.

⚙️
Git workflow automation Automation
Installation · plugin marketplace (claude-plugins-official)
$ /plugin install commit-commands

Anthropic official marketplace plugin

What it does

Streamline your git workflow with simple commands for committing, pushing, and creating pull requests.

Commands

  • /commit — Creates a git commit with an automatically generated commit message based on staged and unstaged changes
  • /commit-push-pr — Complete workflow command that commits, pushes, and creates a pull request in one step
  • /clean_gone — Cleans up local branches that have been deleted from the remote repository

Use cases

  1. After making changes, /commit generates a commit message matching your repo’s conventions and commits.
  2. When finishing a feature, /commit-push-pr creates a branch, pushes, and opens a PR with a written description — in one step.
  3. After a merge, /clean_gone clears out the merged branches from your local checkout.

Notes

  • /commit-push-pr requires GitHub CLI (gh) installed and authenticated.
  • Sensitive files (.env, credentials.json, etc.) are excluded from commits automatically.
  • Commit messages include a Claude Code attribution by default.

Frequently Asked Questions

What is Commit Commands?

An Anthropic official marketplace plugin that automates the commit, push, and PR creation flow as one slash command.

Where does it run?

Claude Code.

How do I install it?

In Claude Code, run `/plugin install commit-commands`.

Which slash commands does it provide?

`/commit` (analyzes changes and produces a repo-style commit message), `/commit-push-pr` (commit + push + open a PR with description), and `/clean_gone` (clean up local branches whose remote was deleted).

Are there prerequisites?

`/commit-push-pr` requires GitHub CLI (`gh`) installed and authenticated. Sensitive files like `.env` and `credentials.json` are automatically excluded from commits.