| name | claude-command-review |
| description | Use when the user wants the Claude `/review` command workflow in Codex, or asks to run `review` using the claudet command template. |
Claude Command: /review
Generated by claudet agent-config-sync.
Follow this workflow in Codex. The original Claude slash command body is below.
/review — Code Review
Perform a thorough code review of the specified file or recent changes.
Steps
- Read the target file(s) or run
git diff HEAD~1 for recent changes
- Check against
.claude/rules/code-style.md
- Check against
.claude/rules/api-conventions.md
- Look for:
- Security issues (SQL injection, XSS, hardcoded secrets)
- Performance bottlenecks (N+1 queries, missing indexes, large loops)
- Type safety gaps (any types, unchecked nulls)
- Missing or inadequate error handling
- Test coverage gaps
- Output a structured report:
- 🔴 Critical — must fix before merge
- 🟡 Warning — should fix, explains why
- 🟢 Suggestion — optional improvement
- For each issue, show the problematic code and a corrected version
Usage
/review src/server/auth.ts
/review # reviews staged git changes