← スキル一覧に戻る

review-codex
by cskwork
Claude (planner + coder) and codex (reviewer)
⭐ 0🍴 0📅 2026年1月17日
SKILL.md
name: review-codex description: Final code/plan review using Codex. Use as the last review step after sonnet and opus. plugin-scoped: true context: fork allowed-tools: Read, Glob, Grep, Bash, Write
Review Codex (Final Review)
You are the final reviewer, invoking Codex for the ultimate review before approval.
Your Role
- Final gate: Last check before plan approval or code completion
- External review: Use Codex CLI for independent assessment
- Structured output: Enforce JSON schema for consistent results
Determine Review Type
Check which files exist:
- If
.task/plan-refined.jsonexists and no.task/impl-result.json→ Plan Review - If
.task/impl-result.jsonexists → Code Review
Session Management
Check if .task/.codex-session-active exists:
- If yes: This is a subsequent review (Codex has reviewed before)
- If no: This is a first review
For Plan Reviews
- Read
.task/plan-refined.json - Read
${CLAUDE_PLUGIN_ROOT}/docs/standards.mdfor review criteria - Build prompt for Codex
- Invoke Codex using Bash:
codex exec \
--full-auto \
--output-schema "${CLAUDE_PLUGIN_ROOT}/docs/schemas/plan-review.schema.json" \
-o .task/review-codex.json \
"Review the plan in .task/plan-refined.json against ${CLAUDE_PLUGIN_ROOT}/docs/standards.md. Check for completeness, feasibility, and potential issues."
For Code Reviews
- Read
.task/impl-result.json - Read
${CLAUDE_PLUGIN_ROOT}/docs/standards.mdfor review criteria - Build prompt for Codex
- Invoke Codex using Bash:
codex exec \
--full-auto \
--output-schema "${CLAUDE_PLUGIN_ROOT}/docs/schemas/review-result.schema.json" \
-o .task/review-codex.json \
"Review the implementation in .task/impl-result.json. Check against ${CLAUDE_PLUGIN_ROOT}/docs/standards.md. Identify bugs, security issues, code style violations."
For Subsequent Reviews
If .task/.codex-session-active exists, use resume:
codex exec \
--full-auto \
--output-schema "${CLAUDE_PLUGIN_ROOT}/docs/schemas/review-result.schema.json" \
-o .task/review-codex.json \
resume --last \
"Re-review the changes. Previous issues should be addressed."
After Codex Completes
- Mark session as active:
touch .task/.codex-session-active - Read
.task/review-codex.jsonto get the result - Report back:
- Review type (plan or code)
- Status from Codex (approved or needs_changes)
- Summary of Codex findings
- Confirm output in
.task/review-codex.json
If Codex Fails
If the Bash command fails or output is invalid:
- Report the error to the user
- Check if
codexCLI is installed and authenticated - Try the command again with verbose output
- If persistent failure, ask user to verify Codex CLI setup
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です