Git & version control
/commit
Source: src/commands/commit.ts
Analyzes your staged changes and generates a commit message, then creates the commit. Claude reads the diff and writes a conventional commit message that summarizes what changed and why.
/commit-push-pr
Source: src/commands/commit-push-pr.ts
Runs the full commit → push → pull request flow in a single step. Claude generates the commit message, pushes the branch to the remote, and opens a PR with an auto-generated title and description.
Requires a GitHub remote configured on the repo and appropriate authentication (e.g.,
gh auth login)./branch
Source: src/commands/branch/
Create a new branch or switch to an existing one.
/diff
Source: src/commands/diff/
View file changes. By default shows unstaged changes. Pass arguments to target staged changes or diff against a specific ref.
/pr_comments
Source: src/commands/pr_comments/
Fetch and display review comments on the current pull request, then optionally address them. Claude reads the PR comments from GitHub and can generate fixes inline.
/rewind
Source: src/commands/rewind/
Revert the project to a previous state. Claude presents a list of recent states or commits you can roll back to.
Code quality
/review
Source: src/commands/review.ts
Runs an AI-powered code review over staged and unstaged changes. Claude checks for correctness, style, potential bugs, and adherence to best practices, then provides inline feedback.
/security-review
Source: src/commands/security-review.ts
A security-focused variant of /review. Claude looks specifically for vulnerabilities, insecure patterns, exposed secrets, and other security concerns in the current diff.
/advisor
Source: src/commands/advisor.ts
Request architectural or design advice. Describe a problem or paste a snippet and Claude offers higher-level guidance on structure, patterns, and trade-offs.
/bughunter
Source: src/commands/bughunter/
Scans the codebase for potential bugs. Claude examines logic, edge cases, and error handling to surface issues that tests might not catch.
| Command | Source | Type | Description |
|---|---|---|---|
/commit | commit.ts | PromptCommand | AI-generated git commit message |
/commit-push-pr | commit-push-pr.ts | PromptCommand | Commit, push, and create PR in one step |
/branch | branch/ | PromptCommand | Create or switch git branches |
/diff | diff/ | PromptCommand | View staged, unstaged, or ref-based changes |
/pr_comments | pr_comments/ | PromptCommand | View and address PR review comments |
/rewind | rewind/ | PromptCommand | Revert to a previous state |
/review | review.ts | PromptCommand | AI-powered code review |
/security-review | security-review.ts | PromptCommand | Security-focused code review |
/advisor | advisor.ts | PromptCommand | Architectural and design advice |
/bughunter | bughunter/ | PromptCommand | Find potential bugs in the codebase |