一键导入
review-implementation-execution
Reviews implementation execution (code changes) against a plan for quality, coverage, and plan alignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews implementation execution (code changes) against a plan for quality, coverage, and plan alignment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Publishes a clean normal feature or task branch and creates its pull request on explicit human request.
Instructions for writing good design plan artifacts. Use when specifically requested.
Instructions for writing good implementation plans artifacts. Use when specifically requested.
Instructions for executing implementation plans. Use when specifically requested.
Instructions for executing a task from an implementation plans. Use when specifically requested.
Instructions for investigating a codebase to answer a specific question.
| name | review-implementation-execution |
| description | Reviews implementation execution (code changes) against a plan for quality, coverage, and plan alignment. |
Start with the diff, expand context only as required, and keep findings compact. Re-review only after changes to acceptance criteria, a new code path, behavior, interface, data, security, or tests.
Read the implementation journal, inspect the modified files recorded in it, and run verification commands.
Use this skill to review code changes against an implementation plan and journal — verifying AC coverage, plan alignment, scope creep, and code quality.
This skill is a sub-skill called by orchestrators:
run-feature — after stage 3 (execute) produces an implementation journalrun-bug-fix — after the fix is executedrun-fix — after the scoped fix is executedDo not confuse with review-code, which reviews files against quality standards without a
plan or journal. Use review-implementation-execution when a plan exists to verify against —
use review-code when there is no plan.
Your prompt must include:
task-NN (e.g. task-03) or whole-planIf any of these are missing, ask before proceeding. Do not guess.
Write the review to execution-review--{scope-id}--{N}.md in the same directory as the journal. Read
.agents/artifacts/execution-review/description.md for the canonical section definitions, and render
.agents/artifacts/execution-review/template.md.j2 to produce the initial file. Replace all dummy
content — every line drawn from the retro encabulator — with real content for this review. The rendered
file must contain no placeholder text when submitted. Supply the path to your caller on completion.
Read the implementation journal. From it, locate and read the implementation plan referenced in the journal's
## Source plan section. If Project Commands or Project Standards is missing from the plan, report a
Critical finding and stop.
Locate and read the design plan referenced by the implementation plan for higher-level context.
Walk through every finding from the prior review artifact. For each, mark:
file:line evidenceFrom the journal's ## Files modified section(s), collect the list of files changed for the scope being
reviewed. Read each file directly. Do not rely solely on the journal's description of what changed.
Consult the project's working guides or the plan's Project Commands section to find the
correct commands for running all quality checks. Run all of them: type checker, linter, and
tests.
Do not invent commands not documented in the project. If no coverage command is documented,
record skipped (no project-documented command) in the verification evidence.
If any quality check fails (type errors, lint errors, test failures): stop, write the review artifact noting the full failure output, and return "Quality checks failing. Fix before review." Do not continue the review past this point.
Read the task's Acceptance Criteria section from the plan. Cross-reference with the implementor's AC
validation in the journal, but verify each AC independently against the actual code.
For each AC:
file:line evidence and the test name that exercises itA Critical finding for any of:
For each file listed in the journal as modified, identify which plan task justifies the change. Unjustified changes to unrelated subsystems, security-sensitive code, or public APIs are Critical findings. Other unjustified changes are Significant findings.
Enforce these quality gates:
| Standard | Severity |
|---|---|
| Error handling on all external calls (network, fs, db, process) | Critical |
| No type-safety violations without a justification comment | Critical |
| No swallowed exceptions or ignored return values | Critical |
| New public functions have tests | Critical |
| Tests verify behavior, not mock interactions | Critical |
| No test-only hooks or helpers in production files | Critical |
| No input validation gaps or injection vectors | Critical |
| Null/undefined inputs handled where applicable | Significant |
| Edge cases (empty, boundary, max) covered | Significant |
| New code paths covered by tests (when coverage tool available) | Significant |
| Logic not placed in wiring/bootstrap files without justification | Significant |
| No unused imports, functions, or branches | Trivial |
Fill in all sections of the template. Store the artifact as described in ## Artifact.