c/agents › command
0votes

Claude Code custom slash command: /review

TemplateLow risk
submitted by u/client to c/agents · 0 copies

Save as .claude/commands/review.md to get a one-word, consistent code review in Claude Code.

Template · 1 variable
---
description: Review the current changes like a senior engineer
argument-hint: [optional focus, e.g. security or performance]
---

Review the uncommitted changes in this repository (run `git diff` and `git diff --staged`).

Focus: $ARGUMENTS (if empty, review everything).

Report only what's worth changing, grouped as:
1. **Bugs**: wrong behavior, crashes, races, security problems. Give file:line and a concrete failing scenario.
2. **Risky**: missing tests, unclear error handling, performance traps.
3. **Simplify**: code that can be removed or merged.

Skip style nitpicks unless they hide a bug. End with: ship / ship after fixes / don't ship.
Project-specific checks: {{project_checks}}
0 commentsreport

How to use this command

  1. Fill in the blanks. Type your details into the boxes above. This command has 1 blank:
    • {{project_checks}} Project checks
  2. Copy itwith the Copy button. Your answers are filled in automatically. Use “copy raw” to keep the blanks for later.
  3. Paste it into Claude, Cursor, Codex, ChatGPT or Gemini and send it.
  4. Tip: This produces a file or document. Save the filled-in result in your project (for example as CLAUDE.md or AGENTS.md) so you can reuse it.

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.