commit-commands Plugin
Plugin Claude Code Productivity Claude Code Customization & WorkflowProject Management & CollaborationThe explanation below is AI-generated. Please verify it against the sources.
commit-commands is a Claude Code plugin that provides slash commands to automate git commit, push, and pull request workflows. According to the README, it includes three commands: /commit for creating commits with auto-generated messages, /commit-push-pr for a full commit-push-PR workflow, and /clean_gone for cleaning up local branches deleted from the remote. The plugin is authored by Anthropic and is at version 1.0.0. /commit-push-pr requires the GitHub CLI (gh) to be installed and authenticated, and the repository must have a remote named origin.
Overview
According to the README, this is a Claude Code plugin (not a standalone SaaS) that adds slash commands to streamline common git operations, reducing manual command execution and context switching.
What you can do with commit-commands
- Run /commit to have changes analyzed and committed with an automatically drafted message matching the repo's commit style
- Run /commit-push-pr to create a branch (if needed), commit, push to origin, and open a pull request via gh pr create with a summary and test plan
- Run /clean_gone to identify and delete local branches (and associated worktrees) marked as [gone] after their remote counterparts were deleted
- Rely on secret-avoidance behavior when committing (e.g., avoiding .env, credentials.json) per the README
- Use the plugin automatically within Claude Code, as it is included in the Claude Code repository per the README
Sources
Original description (English)
Commands for git commit workflows including commit, push, and PR creation
History of commit-commands
- Plugin Added commit-commands