with one click
review
Review code changes, auto-fix safe issues, and report bugs
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Review code changes, auto-fix safe issues, and report bugs
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Guidelines for testing the application with Vitest, including unit tests, integration tests (emulator), AI tests, and eval suites for LLM features
Cursor Cloud VM setup and service startup instructions for local development
Guidelines for implementing LLM (Language Model) functionality in the application
Simplify and refine recently modified code for clarity, consistency, and maintainability while preserving exact behavior. Use when asked to simplify, polish, refactor lightly, or clean up current-session changes before review or PR.
Commit changes and open a pull request with safe metadata
Review prompt and tool-description changes in a branch or PR. Use when asked to audit system prompts, prompt builders, tool descriptions, prompt inputs, or nearby evals/tests; summarize what changed; identify guidance that feels eval-shaped or too heavy for product use; and find repeated instructions between the main prompt and tool descriptions.
| name | review |
| description | Review code changes, auto-fix safe issues, and report bugs |
| disable-model-invocation | true |
Code review with craftsman's eye. Auto-fix obvious issues, surface real bugs.
Reference @AGENTS.md for project conventions. Apply those patterns as review criteria.
path/to/file.ts:123 format only| Category | What | Action |
|---|---|---|
| [BUG] | Logic errors, security, data loss, race conditions | Report → wait |
| [FIX] | Type gaps, missing error handling, test gaps, slop | Report → wait |
| [AUTO] | Unused imports, dead code, console.log, typos | Fix immediately |
| [CONSIDER] | Refactors, style opinions, nice-to-have | Mention only |
AUTO examples:
NOT AUTO (needs confirmation):
Always ask these questions during review:
_vars or // removed comments?components/ subfolder — we don't do that in route directories)apps/web/components/.validation.ts fileswithAuth or withEmailAccount?Awaited<ReturnType<typeof fn>>?LoadingContent for loading/error states?useAction from next-safe-action/hooks for form submissions?z.infer<typeof schema> instead of duplicate interfaces?logger.trace() for PII fields?.claude/skills/testing/SKILL.md?@/utils/logger?apps/web/utils/ai/reply/draft-attribution.ts DRAFT_PIPELINE_VERSION bumped for analytics?AGENTS.md or this review file?Inheritance Test: Would I curse the previous author? Understand at 2am?
Pride Test: Would I put my name on this?
Auto-detect: conversation changes → staged → current diff
git diff --cached --name-only # or HEAD
Group files by area/dependency:
Batch 1: apps/web/app/api/agent/* (3 files)
Batch 2: apps/web/app/(app)/[emailAccountId]/agent/* (related components)
Batch 3: apps/web/utils/actions/* (2 files)
Output: Found X files in Y batches
──────────
BEFORE reading any file content, create todo list:
- [ ] Batch 1: API routes (skills, allowed-actions)
- [ ] Batch 2: agent page components (agent-page, chat, tools)
- [ ] Batch 3: server actions (agent.ts, agent.validation.ts)
Use todo_write to track batches.
──────────
For each batch:
git diff --cached -- path/to/files)Issue format:
1. **[BUG]** Race condition in concurrent saves — `src/db.ts:45`
2. **[FIX]** Missing error boundary — `src/App.tsx:12`
3. **[CONSIDER]** Extract to custom hook — `src/Form.tsx:34`
After each batch:
Batch 1 done: AUTO: 2 fixed | BUG: 1 | FIX: 2
──────────
Total: BUG: X | FIX: X | CONSIDER: X (auto-fixed: Y)
Issues:
1. [BUG] ... — `path:line`
2. [FIX] ... — `path:line`
What to fix?
- a) BUG + FIX [recommended]
- b) BUG only
- c) All including CONSIDER
- d) Custom (e.g., "1,3")
I'll assume a) if you don't specify.
Learnings:
- Any patterns worth adding to AGENTS.md?
- Any new review checks to add to this file?
STOP. Wait for selection.
──────────
Process fixes batch-by-batch (same grouping):
BUG (Logic/Security):
FIX (Quality):
as any)CONSIDER (Opinions):
# Staged
git diff --cached
git diff --cached --name-only
# All uncommitted
git diff HEAD
git diff HEAD --name-only
| Error | Response |
|---|---|
| No changes | "Check git status or specify files" |
| File not found | List available, ask to specify |
| Binary files | Skip, mention in summary |
| Large file (>10k) | "Review specific sections?" |