Skip to main content
commit-commandsby AnthropicOfficialDevelopmentGitHub stars: 37.3k

Commit Commands plugin: what it installs and how to add it

Streamlines Git workflows by creating commits, pushing branches, opening GitHub pull requests, and cleaning stale local branches.

From the Marketplace: claude-plugins-official marketplace

Install

> /plugin install commit-commands@claude-plugins-official

Run it inside Claude Code. The official marketplace is already known, so there is nothing to add first.

What is inside

  • 3commands

About this plugin

This plugin provides slash commands for common Git repository tasks. /commit reviews staged and unstaged changes, matches the repository's commit style, stages relevant files, and creates a commit. /commit-push-pr can create a branch, commit and push changes, then open a pull request with the GitHub CLI. /clean_gone removes local branches that no longer exist on the remote and handles associated worktrees.

Use it for routine commits, preparing a branch for review, or clearing branches after pull requests are merged. Creating pull requests requires the GitHub CLI to be installed and authenticated, and the repository needs a remote named origin.

What's inside

  • 3 slash commands: /clean_gone, /commit-push-pr, and /commit

More from claude-plugins-official

Skills, not plugins

Prefer a single skill for development work? 471 skills in the same category, each installed on its own.

Development skills