codex-code-reviewer
БесплатноБез исполняемых скриптовНе проверенSystematic code review workflow using zen mcp's codex tool. Use this skill when the user explicitly requests "use codex to check the code", "check if the…
Об этом скилле
Codex Code Reviewer
Overview
This skill provides a systematic, iterative code review workflow powered by zen mcp's codex tool. It automatically checks recently modified code files against project standards (CLAUDE.md requirements), presents identified issues to users for approval, applies fixes, and re-validates until code quality standards are met or the maximum iteration limit is reached.
Operation Modes:
- Interactive Mode (Default): Present issues to user, wait for approval before applying fixes
- Full Automation Mode: Automatically select and apply all suggested fixes without user approval (activated when user initially requests "full automation" or "complete automation")
When to Use This Skill
Trigger this skill when the user says:
- "Use codex to check the code"
- "Please help me check if the recently generated code has any issues"
- "Check the code after each generation"
- Similar requests for code quality validation using codex
Workflow: Iterative Code Review Cycle
Prerequisites
Before starting the review cycle:
- ** Read Operation Mode from Context (automation_mode - READ FROM SSOT):**
- automation_mode definition and constraints: See CLAUDE.md「📚 共享概念速查」
- This skill's role: Skill Layer (read-only), read from context
[AUTOMATION_MODE: true/false], true → auto-fix / false → ask user
1a. Read Coverage Target from Context (coverage_target - READ FROM SSOT):
- coverage_target definition and constraints: See CLAUDE.md「📚 共享概念速查」
- This skill's role: Skill Layer (read-only), read from context
[COVERAGE_TARGET: X%], validate coverage (≥ target pass, < 70% reject)
Identify Files to Review:
- Use
git statusor similar to identify recently modified files - Interactive Mode (automation_mode = false): Confirm with user which files should be reviewed
- Automated Mode (automation_mode = true): Auto-select all recently modified files, log decision to auto_log.md
- Use
Initialize iteration counter:
current_iteration = 1Set maximum iterations:
max_iterations = 5Initialize review tool tracker:
first_review_done = falseDetect Review Context:
- Check if this is final quality validation (project completion/final verification)
- If YES: Enable Final Validation Mode (requires minimum 2 passes: codereview + clink)
- If NO: Use Standard Review Mode
Review Cycle Loop
Execute the following loop until termination conditions are met:
Step 1: Select and Invoke Appropriate Review Tool
Tool Selection Logic:
if current_iteration == 1 and not first_review_done:
# First review: Use mcp__zen__codereview
review_tool = "mcp__zen__codereview"
first_review_done = True
else:
# Second and subsequent reviews: Use mcp__zen__clink with codex CLI
review_tool = "mcp__zen__clink"
A) First Review: Call mcp__zen__codereview
Tool: mcp__zen__codereview
Parameters:
- step: Detailed review request (e.g., "Review the following files for code quality, security, performance, and adherence to project standards...")
- step_number: current_iteration
- total_steps: Estimate based on findings (start with 2-3)
- next_step_required: true (initially)
- findings: Document all discovered issues
- relevant_files: [list of recently modified file paths - MUST be absolute full paths]
- review_type: "full" (covers quality, security, performance, architecture)
- model: "codex" (or user-specified model)
- review_validation_type: "external" (for expert validation)
- confidence: Start with "exploring", increase as understanding grows
Important: Use absolute full paths; follow zen mcp's codereview workflow (2-3 steps); reference references/quality_standards/README.md (on-demand loading)
B) Second and Subsequent Reviews: Call mcp__zen__clink with codex CLI
Tool: mcp__zen__clink
Parameters:
- prompt: "Review files for: 1) Code quality 2) Security 3) Performance 4) Architecture 5) Documentation. Categorize by severity (critical/high/medium/low), provide file:line locations and fix recommendations."
- cli_name: "codex"
- role: "code_reviewer"
- files: [absolute full paths]
- continuation_id: [optional, for context continuity]
Important: Use absolute full paths for files; use continuation_id for context continuity; supported params: prompt, cli_name, role, files, images, continuation_id
Step 2: Present Findings and Decision Making
After codex returns the review results:
Summarize Issues Clearly:
- Group by severity (critical/high/medium/low)
- Provide specific file locations and line numbers
- Explain the impact of each issue
Decision Making Based on automation_mode (READ FROM CONTEXT):
- automation_mode behavior and decision logic: See CLAUDE.md「📚 共享概念速查」and「G11 Automated Repair Skills」
[AUTOMATION_MODE: false]→ Interactive: Ask user approval[AUTOMATION_MODE: true]→ Automated: Auto-fix Critica
Установить codex-code-reviewer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл codex-code-reviewer?
Systematic code review workflow using zen mcp's codex tool. Use this skill when the user explicitly requests "use codex to check the code", "check if the recently generated code has any issues", or "check the code after each generation". The skill performs iterative review cycles - checking code quality, presenting issues to the user for approval, applying fixes, and re-checking until no issues remain or maximum iterations (5) are reached.
Как установить скилл codex-code-reviewer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codex-code-reviewer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic