When to choose it
Reducing repetitive steps in a Git workflow.
Choose it if: Commit, push and pull-request steps are recurring work and you want those commands in one package.
Look elsewhere if: You only need to inspect a diff; these commands can create commits and publish changes.
What the source describes
- Drafts a commit message from changes
- Provides a commit, push and PR workflow
- Includes cleanup of branches whose remotes are gone
Requirements
- Claude Code with plugin support
- Git repository with an existing configured commit identity
- Existing authorized GitHub CLI and origin destination for commit-push-pr; not required for commit alone
Components in this package
- Commit — The focused commit command from the Commit Commands package.
Install for this repository only
- Identify the actual package. This official marketplace plugin contains commit, commit-push-pr and clean_gone command definitions. Install the package once with the existing local-scope command. The README says its commands are automatically available, but current official documentation requires the plugin to be installed and enabled; follow its activation or reload message.
- Inspect the checkout before a write command. Confirm the branch and separate staged from unstaged changes. The commit definitions inject git status and git diff HEAD; that diff combines tracked staged and unstaged changes, while untracked file contents need separate inspection. Existing staging is not a promise that only those paths will be committed.Shell • read-only preparation
git status --short --branch git diff --stat git diff --cached --stat git branch --show-current - Choose the smallest workflow. Use commit for a local commit. Choose commit-push-pr only when a branch push and a GitHub PR are intended, the origin destination is known, and the existing GitHub CLI session is authorized. Git and a configured commit identity are needed for committing; GitHub CLI is not an extra dependency for commit alone.
- Keep cleanup separate. The clean_gone definition enumerates gone branches, then uses git worktree remove --force and git branch -D. A deleted upstream branch does not establish that local commits are merged or that its worktree is clean. Inspect branch ownership, local commits and every affected worktree before deciding to use this separate command.
Run the installation command in your shell after reviewing the source. Local scope enables the package for you in this repository. It does not enable it for every collaborator.
claude plugin install commit-commands@claude-plugins-official --scope localHow to use it
Stage relevant changes and create one local commit. This is the write workflow, not a request for a draft message.
/commit-commands:commitRun the documented commit, origin push and GitHub PR workflow only after checking the destination and intended scope. The reviewed body creates a branch if the current branch is named main; do not infer support for every default-branch name.
/commit-commands:commit-push-prInvoke the separately reviewed branch/worktree cleanup only when its deletions have been deliberately assessed. No cleanup command is needed to make a commit.
/commit-commands:clean_goneAn original preparation request for a normal Claude conversation. It deliberately does not invoke the package command. This request example is written by ClaudeStack; it is not a transcript of a tested session.
Before I invoke any Commit Commands command, use read-only Git inspection to summarize this checkout, branch, staged and unstaged scope, and untracked paths. Suggest which workflow fits a local commit only. Draft a message for the changes I identify, but do not stage, commit, push, open a PR or remove a worktree.The current manifest and README both declare 1.0.1. This is reviewed source metadata, not a measured installed version or an inferred release date. The earlier 2026-10-10 review found no manifest version; its fixed source links remain below.
The README calls cleanup safe and describes automatic command availability. The actual cleanup definition and current installation documentation provide more precise boundaries.
The 2026-11-13 follow-up found the three command-definition blobs unchanged from the earlier review. The version declaration alone does not establish new command behavior or a runtime fix. No plugin, Git write workflow or cleanup command was executed for this review.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- Invoking commit asks Claude to stage and create one commit using the injected repository context. The reviewed command has no output-only or dry-run argument parser and asks for tool calls in a single response.
- commit-push-pr asks for one commit, an origin branch push and gh pr create. Creating the PR has its own repository, head and base selection; the result is not a merge or proof of passing checks.
- clean_gone can remove linked worktrees and force-delete local branches. Its effects differ from pruning remote-tracking references and are not limited to merged local work.
Self-check: After an intended write, inspect the actual status, created commit and included paths. After publication, verify the destination branch SHA and existing PR rather than rerunning an uncertain workflow. Record actual project test outcomes separately; a generated message or PR checklist does not prove those commands ran.
Troubleshooting
The command is missing despite the README saying it is automatic
Check the official marketplace, the installed package scope and the session activation message. Look for the full commit-commands namespace; use the current plugin loading instructions rather than assuming the README installation paragraph describes your session.
A draft-only request creates a commit
Do preparation in a normal prompt before invoking the command. The actual commit definition directs a Git write and does not implement a preview flag. Adding an undocumented --dry-run argument is not a verified output-only mode.
Unrelated or sensitive files may be staged
Inspect staged, unstaged and untracked content before invocation, then verify the resulting commit paths. The README describes secret avoidance, but the command definition contains no dedicated secret scanner or enforced path exclusion list.
The PR step fails after the commit or push
Read the actual local commit, remote branch and any existing PR before retrying. Check the existing GitHub CLI authorization and target repository without creating credentials or changing permissions merely to complete a convenience command. gh pr create --dry-run may still push changes according to its current manual.
Branch creation is refused
The source allowlist spells its checkout pattern as git checkout --branch, while Git documents new-branch checkout with -b. Inspect the actual requested command and installed policy; the spelling difference is source evidence, not a runtime failure reproduced here. Do not broaden permissions blindly.
Cleanup is described as safe because a remote branch is gone
The source force-removes worktrees and force-deletes branches. Independently check local-only commits, dirty/untracked files and worktree ownership. Do not run cleanup as a prerequisite to the commit workflow.
Disable or remove it
- Disable or uninstall commit-commands in the scope where it is enabled and follow the plugin reload instruction to remove its commands from future sessions.
- Removing the plugin does not undo commits, pushes, PRs or deleted worktrees. Inspect the resulting repository and remote state separately; this guide does not prescribe an automatic destructive rollback.
Limitations & considerations
- Commands can stage, commit and push real changes
- Read the planned diff and destination before running a write workflow
Source & review record
Our description is based on public documentation and manifests available on 2026-11-13. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- Reviewed definition source
- License of the reviewed source
- Official plugin installation documentation
Repository last pushed at the time of review: 2026-11-13T01:14:19Z. This date does not prove that the extension works with a particular Claude Code release.
Usage guide sources
Upstream revision checked for this guide: f75f5b25ae94f4332be4ff5f18435741d2589bdb. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.
- Package identity ↗
- Package README, claims and requirements ↗
- Actual commit instruction and injected context ↗
- Actual publish workflow and allowed-tools pattern ↗
- Actual forced branch/worktree cleanup ↗
- Bundled Apache-2.0 license ↗
- Current installation, local scope and activation ↗
- Current plugin command naming and dynamic context ↗
- Git staged, unstaged and HEAD comparisons ↗
- GitHub CLI PR destination and dry-run side effects ↗
- Git branch force-deletion semantics ↗
- Git worktree removal and force behavior ↗
- Git new-branch checkout syntax ↗
- 2026-11-13 manifest with explicit 1.0.1 version ↗
- 2026-11-13 README version and package overview ↗