slash commands / reference

COMMAND REFERENCE

Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 10 commands indexed.

commands
10
tools
5

/code-review

code-review

Claude Code

Review the current diff for correctness bugs and for reuse, simplification, and efficiency cleanups. Pass --fix to apply findings, --comment to post as GitHub PR comments, or ultra for a deep cloud review.

reviewcode-qualitybugscleanup
view command →

/diff

code-review

Claude Code

Open an interactive diff viewer showing uncommitted changes and per-turn diffs. Navigate with arrow keys between the git diff and individual Claude turns.

diffgitreviewchanges
view command →

/permissions

configuration

Claude Code

Manage allow, ask, and deny rules for tool permissions. Opens a dialog to view rules by scope, add or remove rules, and review auto-mode denials.

permissionssecurityallowdeny
view command →

/plan

planning

Claude Code

Enter plan mode to design your approach before coding. Claude proposes an execution plan for review before any implementation starts.

planningplan-modearchitecturepre-coding
view command →

/security-review

code-review

Claude Code

Analyze pending branch for security vulnerabilities — injection, auth issues, data exposure, and other OWASP risks.

securityowaspvulnerabilitiesaudit
view command →

/simplify

code-review

Claude Code

Review changed code for cleanup opportunities and apply the fixes. Four review agents run in parallel covering reuse, simplification, efficiency, and abstraction level.

cleanuprefactorsimplifyefficiency
view command →

/approve

configuration

Codex CLI

Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy.

approvepermissionsoverrideretry
view command →

/diff

code-review

Codex CLI

Show the Git diff including files Git isn't tracking yet. Review Codex's edits before committing or running tests.

diffgitreviewchanges
view command →

/review

code-review

Codex CLI

Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests.

reviewcode-qualitytestingpr
view command →

/plan

planning

Cursor CLI

Switch to Plan mode — the agent researches your codebase, asks clarifying questions, and produces a reviewable implementation plan before writing code.

plan-modeplanningarchitecturepre-coding
view command →