c/agents › command
0votes

Code review as a senior engineer

Prompt
submitted by CommandVault editors to c/agents

A focused review that finds real bugs instead of nitpicks.

Prompt · 2 variables
Review this diff as a senior engineer on a {{stack}} codebase:

{{diff}}

Report only things worth changing, grouped as:
- Bugs (wrong behavior, crashes, races, security) — include a failing scenario for each.
- Risky (missing tests, unclear error handling, performance traps).
- Simplifications that remove code.

Skip formatting and naming nitpicks unless they hide a bug. For each item give file:line, the problem in one sentence, and the fix. End with "ship / ship after fixes / don't ship".
0 commentsreport

Try it here

Fill in {{stack}}, {{diff}} above first for a better answer, or run it as is and the AI will assume sensible values.

or open in ChatGPT · Claude · Perplexity

How to use this prompt

  1. Fill in the 2 blanks above. The more specific you are, the better the answer.
  2. Copy it and paste it into ChatGPT, Claude, Gemini, Cursor or Codex, or use "Try it here" for a quick test.
  3. Read the answer critically: check anything it claims about your code or data before you rely on it.
  4. Careful: this one is marked medium risk. Review what the AI suggests before you run it on real systems or data.
  • {{stack}} Stack
  • {{diff}} Diff

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.