ワンクリックで
review
Two-stage code review: spec compliance first, then code quality. Auto-triggered after implementation. Also available as /review.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Two-stage code review: spec compliance first, then code quality. Auto-triggered after implementation. Also available as /review.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Analyze any codebase and generate a complete .claude/ configuration to make it AI-native. Use when setting up Claude Code for a new or existing repo. Handles cold-start by detecting stack, framework, patterns, and generating tailored CLAUDE.md, agents, skills, rules, and hooks.
Validate your .claude/ configuration. Checks that commands work, paths exist, hooks are valid, and agents are well-formed. Use after /claude-init or /update to catch issues.
Land completed work — verify tests, present options (merge/PR/keep/discard), execute chosen workflow. Auto-triggered after implementation and review pass. Also available as /finish.
Execute implementation plans using fresh subagents per task with two-stage review. Auto-triggered for plans with multiple independent tasks. Also available as /subagent-dev.
Verification before completion — no success claims without fresh evidence. Auto-triggered before any completion claim. Also available as /verify.
Re-analyze a repo and update its existing .claude/ configuration. Detects stack changes, new dependencies, and config drift without overwriting customizations. Use when the codebase has evolved since initial /claude-init.
SOC 職業分類に基づく
| name | review |
| description | Two-stage code review: spec compliance first, then code quality. Auto-triggered after implementation. Also available as /review. |
| allowed-tools | Read, Grep, Glob, Bash |
Review all changes in two passes: first check if the spec is met, then check code quality.
Automatically after implementing any change. Also useful before committing or creating PRs.
Does the code match what was requested?
Change summary (loaded fresh when this skill triggers):
!git diff --stat HEAD 2>/dev/null || git diff --stat
Recent commits on this branch:
!git log --oneline -5 2>/dev/null || echo "(no git history)"
Read the full diff for any file that shows up above before judging it — git diff HEAD -- <file> for unstaged + staged, git diff <base>...HEAD -- <file> when reviewing a PR. Never review from memory.
For each requirement/acceptance criterion from the plan or request:
Missing requirement? Flag it. Don't proceed to Stage 2 until spec is met. Extra code not in spec? Flag it. YAGNI — remove unless there's a clear reason.
For each changed file, check:
Correctness:
Security:
Conventions:
Tests:
Label every finding — not all feedback is mandatory, and treating nits as blockers erodes trust in the review:
| Severity | Meaning | Action |
|---|---|---|
| Critical | Bug, security hole, data loss, spec violation | Blocks approval |
| Important | Wrong pattern, missing test, latent bug | Should fix before merge |
| Nit | Style, naming, minor cleanup | Author may ignore |
| FYI | Informational, no change requested | No action |
Lead with what matters. If you have one structural problem and ten nits, the structural problem IS the review. Don't bury it.
Change size check: ~100 changed lines reviews well, ~300 is acceptable, ~1000 should be split before review. Flag oversized diffs — and flag refactoring mixed into feature changes (they should be separate commits).
## Review
### Spec Compliance: PASS / FAIL
- [requirement]: ✅ implemented + tested / ❌ missing
### Code Quality
**Critical** (blocks approval):
- [file:line] Description. Fix: ...
**Important** (should fix):
- [file:line] Description. Fix: ...
**Nit** (author may ignore):
- [file:line] Description.
### Verdict: APPROVE / REQUEST CHANGES
These thoughts mean you're about to rubber-stamp:
| Thought | Reality |
|---|---|
| "Looks fine to me" | That's not a review. Check spec compliance line by line. |
| "It's just a small change" | Small changes cause big bugs. Review anyway. |
| "I wrote it so I know it works" | Author blindness is real. Review your own code like a stranger's. |
| "Tests pass so it's fine" | Tests verify behavior, not quality or security. |
| "No critical issues" without reading diff | You haven't checked. Read the diff first. |
If you catch yourself thinking any of these: stop, read the diff, follow both stages.