review-conventions
Internal reference skill — shared conventions for all code review agents. Not user-invocable.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Internal reference skill — shared conventions for all code review agents. Not user-invocable.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Internal reference skill — coding standards and patterns for developer agents. Not user-invocable.
Close out work by committing local changes, pushing, waiting for green CI, and merging the PR. Universal — works on any branch with an open PR; no task structure required. Use when asked to 'merge the PR', 'ship it', 'merge and close', 'commit push merge', 'finalize the PR', 'land it on main', 'we're done — close it out', or whenever the user signals end-of-work and the next step is to merge. If (and only if) the current work is one phase of a multi-phase task in `tasks/**/phase-N-*/`, also make upcoming phase tech-decomposition documents accurate for the implementation that just landed by adding handoff notes or updating stale assumptions before merging — otherwise this step is silently skipped. Make sure to use this skill whenever the user signals end-of-implementation and wants the changes merged — even if they don't say the word "skill". NOT for opening a new PR (use plain `gh pr create`). NOT for addressing review comments (use /prc). NOT for preparing a session handoff to a fresh context (use /ph).
Use when a plan, design, or discovery document needs stress-testing for hidden assumptions, scope gaps, unresolved branches, or ambiguous wording; also when the user explicitly says "grill me".
Implements a feature from a technical decomposition using TDD, keeping the task document updated and handing off cleanly to review. Use when starting, continuing, or resuming implementation from a tech-decomposition or task directory. Trigger: 'implement this task', 'start implementation', 'continue/resume implementation', 'build from the tech decomposition', or after /ct produces a decomposition. NOT for creating the plan (/ct), feature discovery (/nf), small untracked changes (/si-quick or /quick), or code review (/sr).
Use when asked to review code before merge or review a PR, branch, commit range, task path, or current working tree. Trigger on requests like 'review PR', 'review my changes', 'review this branch', 'is this ready to merge', or other pre-merge review requests. Supports task/spec-aware review when task docs exist. NOT for addressing review comments (use /prc).
Test-driven development with red-green-refactor loop using vertical slices. Use when building features or fixing bugs with TDD, when /si or /si-quick needs canonical TDD discipline, when user mentions "red-green-refactor", "tracer bullets", "test-first", or asks for integration-style tests. Forbids horizontal slicing (all tests then all implementation).
| name | review-conventions |
| description | Internal reference skill — shared conventions for all code review agents. Not user-invocable. |
Shared knowledge preloaded into review agents. Apply these conventions when reviewing code.
{{TEST_CMD}}{{DOCS_DIR}}{{LAYER_RULES}}
anyReviews run in two stages so we get recall AND precision:
Find stage (this skill) — report every issue you notice, including low-severity and uncertain ones. For each finding, include:
severity: CRITICAL | MAJOR | MINOR | INFOconfidence: high | medium | lowlocation: file:linesuggestion: concrete fix or next step
Do not self-censor based on severity or confidence — a later verification pass
will filter before anything reaches the user.Presentation — consolidate repeats ("5 functions missing error handling" with a list, not 5 separate findings). Explain why each issue matters. Highlight positive practices alongside problems.
Norms from Google's engineering practices guide:
Change sizing — a reviewable change is small (~100 lines is a healthy target). If the diff is large and not mechanically generated, flag it and suggest splitting; a 1000-line PR gets a worse review, not a better one.
The standard is "improves code health" — approve a change that improves the codebase even if it isn't perfect. Don't block on personal preference; block on real problems.
Mark non-blocking comments — prefix advisory notes (Nit:, Optional:, FYI:) so the author can tell what must change from what's a suggestion. Severity inflation trains authors to ignore you.
Primary scope: only review files in changed_files
Use full_diff to focus on changed lines
You may read unchanged files for context (interfaces, contracts), but don't raise findings against unchanged code — the author isn't touching it in this PR.
Skip pre-existing issues unless the current changes make them worse (e.g., a bug that used to be in dead code is now reachable).
Each agent owns specific concerns — do not duplicate other agents' work:
| Concern | Owner |
|---|---|
| Spec requirements match | spec-compliance-reviewer |
| Architecture fit, layers, module boundaries | senior-architecture-reviewer |
| Security, auth, injection, OWASP | security-code-reviewer |
| Code quality, naming, DRY, complexity | code-quality-reviewer |
| Test coverage and quality | test-coverage-reviewer |
| Documentation accuracy | documentation-accuracy-reviewer |
| Performance, N+1, memory | performance-reviewer |
If you spot something outside your scope, note it as a one-line INFO finding with
the likely owner (e.g. "possible security concern — flag for security-code-reviewer")
and move on.
{{DOCS_DIR}}product-docs/tasks/<task-dir>/tech-decomposition*.md{{TEST_DIR}}