원클릭으로
code-review-protocol
Code review protocol. Use when reviewing final diffs against .agents/PLAN.md.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Code review protocol. Use when reviewing final diffs against .agents/PLAN.md.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Onboard project or init project safely: prepare the active repository with agent state, a full persistent codebase-memory index, evidence-based AGENTS.md handling, and safe check reporting.
Backend implementation protocol. Use by backend agents when editing assigned server-side slices.
Failure routing protocol. Use when routing test or review failures to the correct agent.
Frontend implementation protocol. Use by frontend agents when editing assigned UI slices.
Performance review checklist. Use for database, API, rendering, caching, loops, network calls, bundle, and runtime risks.
Reviews .agents/PLAN.md for implementation readiness, correctness, scope, risk, and validation gaps.
| name | code-review-protocol |
| description | Code review protocol. Use when reviewing final diffs against .agents/PLAN.md. |
Review only concrete diffs and applicable plan requirements. Do not implement fixes.
Read .agents/PLAN.md, .agents/PROGRESS.md, and relevant .agents/HANDOFF.md before reviewing. Review the requested concrete diff; do not turn the review into a broad cleanup or refactoring pass. A finding must be introduced by the reviewed change unless the request explicitly includes pre-existing problems.
Every delegated code review is durable. Read .agents/REVIEW.md as the read-only schema and write the complete result only to the orchestrator-assigned absent .agents/REVIEW_code-<n>.md path. Never write findings to .agents/REVIEW.md, self-allocate, or overwrite artifacts.
A re-review receives a new successor artifact with predecessor/disposition references; it never edits its predecessor.
Check:
Report only discrete, actionable problems that the author would likely fix. A finding must have a demonstrated effect on correctness, security, performance, reliability, or maintainability; identify the affected scenario, input, or caller rather than speculate. Do not report style nits, formatting, generic refactoring, or intentional behavior changes.
Use one finding per problem. Point to the shortest useful changed line or range, normally one line and rarely more than 5–10 lines. Keep each comment to one concise paragraph, explain why it fails and when, and state the needed fix when useful. Findings are ordered P0 through P3.
[P0]: Drop everything to fix. A universal release, operations, or major-usage blocker that does not depend on input assumptions.[P1]: Urgent. Fix in the next cycle.[P2]: Normal. Fix eventually.[P3]: Low. Nice to have.Do not emit numeric or JSON priorities.
Write the full templates/REVIEW.md schema to the assigned artifact. Use exactly this shape for every finding:
### F1 — [P1] Short imperative title
File: `/absolute/path/to/file.ext:123`
Comment: One concise paragraph explaining why this is an issue, including the scenario/input where it occurs and the needed fix when useful.
:start-end range.No findings.After the findings, include:
## Overall Correctness
Patch is correct
One to three sentences explaining the verdict.
Use exactly Patch is correct or Patch is incorrect. A patch is correct only when existing code and tests will not break and the patch is free of bugs and other blocking issues. Any correctness bug, including a [P1] or [P2] finding, makes the patch incorrect; non-blocking style, formatting, documentation, and other nits do not. Use the durable artifact's owner, status, plan-compliance, and routing sections. A re-review writes the next assigned code artifact and references predecessor dispositions; it never edits its predecessor. Chat returns only path, verdict, and blocking status.
templates/REVIEW.md: plan, code, security, performance, migration, or test review.open, accepted, resolved, deferred, wont-fix, and blocked.<artifact-path>#F<n> through .agents/PROGRESS.md section 6. Issues / Routing when requested, preserving the finding's [P0]–[P3] priority without copying its comment.