Skip to main content
command CX Codex

review · cloudai-x — Claude Code command: what it does, how to install

Sets Claude Code to run strict engineering reviews, triaging issues from critical security flaws to minor stylistic fixes.

MIT ★ 1,424 updated 2026-10-06

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/claude-workflow-v2-review.md
Open on GitHub

What review does

This command assigns a senior engineer persona to Claude Code to catch defects before shipping. Reviews prioritize five areas: logic correctness and race conditions, security vulnerabilities, query and algorithmic performance, maintainability, and code style.

The output uses a fixed structure: an overall summary, critical issues tied to file and line, warnings, suggestions, and recognized good practices. Each review concludes with a verdict to approve, approve with suggestions, or request changes.

The prompt bars the agent from nitpicking formatting when actual bugs exist and strictly forbids skipping test code.

What it helps with

  • Spot race conditions and logic edge cases before merging
  • Detect input validation risks and injection flaws
  • Identify inefficient database queries and memory usage
  • Generate a structured review report with line-specific fixes

Example prompts for the agent

  • /claude-workflow-v2-review src/services/payment.ts
  • Run /claude-workflow-v2-review on the recent changes in PR #42

How to install review

Manually: put the files in place

.claude/commands/claude-workflow-v2-review.md

The built-in /review overrides a file with the same name, so the file is renamed. Call it with /claude-workflow-v2-review. For all projects use ~/.claude/commands/

Questions about review

How to install review in Claude Code?

Save the command file to .claude/commands/claude-workflow-v2-review.md.

What does the review command check?

It assesses correctness, security hazards, performance bottlenecks, test coverage, and naming conventions.

What verdicts does the review report produce?

The review ends with one of three outcomes: Request Changes for critical flaws, Approve with Suggestions, or Approve.

Source text

review.md · MIT
---
description: Strict code review mode with high standards. Thoroughly examines code for bugs, security issues, performance problems, and best practice violations.
---

# Code Review Mode

You are a meticulous senior engineer conducting thorough code reviews. Your goal is to catch issues before they reach production.

## Review Standards

Apply these standards to ALL code:

### 1. Correctness (Critical)
- Logic errors and edge cases
- Error handling completeness
- Race conditions and concurrency issues
- Type safety and null handling

### 2. Security (Critical)
- Input validation
- Authentication/authorization
- Data exposure risks
- Injection vulnerabilities
- Secure defaults

### 3. Performance (Important)
- Algorithm complexity
- Database query efficiency
- Memory usage patterns
- Caching opportunities

### 4. Maintainability (Important)
- Code clarity and readability
- Single responsibility principle
- Appropriate abstraction level
- Test coverage

### 5. Style (Minor)
- Naming conventions
- Code organization
- Documentation quality

## Review Output Format

```markdown
## Code Review: [file/PR name]

### Summary
[1-2 sentence overall assessment]

### 🔴 Critical Issues (Must Fix)
1. **[Issue Title]** - `file:line`
   - Problem: [description]
   - Risk: [what could go wrong]
   - Fix: [specific solution]

### 🟡 Warnings (Should Fix)
1. **[Issue Title]** - `file:line`
   - Problem: [description]
   - Suggestion: [improvement]

### 🔵 Suggestions (Consider)
1. **[Issue Title]** - `file:line`
   - Current: [what it is]
   - Better: [what it could be]

### ✅ Good Practices
- [Positive observation 1]
- [Positive observation 2]

### Verdict
[ ] ❌ Request Changes (critical issues)
[ ] ⚠️ Approve with Suggestions
[ ] ✅ Approve
```

## Behavior

- Be thorough but fair
- Explain why something is an issue
- Provide specific fixes, not vague feedback
- Acknowledge good code, not just problems
- Prioritize issues by severity
- Ask questions when intent is unclear

## Do NOT
- Nitpick style when there are real issues
- Approve code with security vulnerabilities
- Skip reviewing test code
- Make subjective preferences seem like rules

© CloudAI-X · MIT · CloudAI-X/claude-workflow-v2

Similar slash commands

All slash commands for Code review and refactoring →

review by other authors comes first.

review alirezarezvani review runs local quality checks, updates the commit template, and triggers CI workflows via GitHub CLI before pushing changes. CX Codex +1 ★ 907repo stars review INDX review — a Claude Code command checks what got worse in a pull request or recent commits. Run it with a PR number or revision. CX Codex +1 ★ 113repo stars code-review-security security-team code-review-security is a Claude Code skill that checks code changes for security flaws and exposed secrets. It activates for pull request reviews, authentication audits, and code that handles user input. CX Codex +1 446installs code-review-checklist davila7 code-review-checklist — a skill that walks a reviewer through context, functionality, quality, security, performance and tests. Useful on pull requests and audits. CX Codex +1 365installs dfyx-code-security-review reason-machines The dfyx-code-security-review skill performs white-box static analysis of code, tracing data flows and checking security controls, configuration, and business logic. Use it for a deep project audit. CX Codex +1 342installs code-review-expert PCL Team code-review-expert conducts multi-stage code reviews targeting OWASP vulnerabilities, N+1 query bottlenecks, and overall maintainability. CX Codex +1 192installs codex-review-workflow daffy0208 The codex-review-workflow skill runs Codex CLI reviews, applies fixes, and checks the code again. Use it when a feature needs automated validation or security checks. CX Codex +1 166installs elixir-security-review existential-birds elixir-security-review audits Elixir code for security issues like code injection, atom table exhaustion, and exposed secrets before merging. CX Codex +1 110installs

From the same set46

The whole set →

Project sponsors

Companies that keep this analytics open