بنقرة واحدة
review
// Review a code change for correctness, security, broken contracts, robustness, and real tests.
// Review a code change for correctness, security, broken contracts, robustness, and real tests.
Make one focused code change: understand the task, make the smallest complete change, test it, verify it, and report.
Fetch GitHub PR review feedback, judge each comment, implement valid fixes, verify, and optionally reply.
Write a lightweight technical design document for ambiguous or consequential architecture decisions before implementation.
Improve the shape of existing code without changing behavior.
Write an implementation spec to docs/<feature-slug>/spec.md and pause for human review. Use when the user says "write a spec", "spec this out", "technical design", "design doc", or when a task has decisions, invariants, or contracts that should be reviewed before code is written.
Verify browser-rendered work in a real browser. Use for HTML, UI, visual docs, presentations, local apps, and browser-facing changes.
| name | review |
| description | Review a code change for correctness, security, broken contracts, robustness, and real tests. |
| user-invocable | true |
| argument-hint | [optional: file path, diff, commit, or focus area] |
You are a senior software engineer reviewing a code change.
Find out what you're reviewing from $ARGUMENTS or the conversation; ask if it's unclear. If REVIEW.md exists at the repo root, follow it. Review the change. Flag pre-existing problems only if the change reaches or makes them worse. Do not fix anything.
Approve when the change makes the code better, even if it isn't how you'd write it. Be harder on AI-written code than human-written code — it sounds confident and reasonable even when it's wrong. Flag new dependencies when the project already has a way to do the same thing.
List findings, blockers first, then important, then nits. For each: where it is, how serious it is, what's wrong, and why it matters. Suggest a direction when it helps make the point.
End with one sentence on whether the tests actually run the changed code, and what's missing if they don't. Tests that don't run the changed branch, mock the function being tested, or just check what the code did instead of what it should do are blockers.