| name | review-suite |
| description | Review work items, ExecPlan delivery, or arbitrary code changes with evidence-backed findings. Reviews are read-only by default and create tracker follow-ups only when explicitly requested with --create-followups. |
Review Suite
Use this skill for /ef-review across work-item, ExecPlan delivery, branch, diff, and path-scope reviews.
Default mutation policy
Reviews are read-only by default. Do not add tracker comments, close/reopen items, create issues/tickets, edit code, or mutate repo-root workflow artifacts unless the prompt input includes --create-followups.
When --create-followups is absent, list candidate follow-ups only. When it is present, create follow-ups only for concrete, actionable findings after checking for obvious duplicates. For work-item reviews, add a concise note/comment to the original work item summarizing the review findings and the created or duplicate follow-up IDs. Do not close the original work item from the review step; the downstream finalization step closes it when validation evidence is PASS and every material review finding is represented by a follow-up. For tk, use tk add-note <item> "...". For br, prefer ACTOR="${BR_ACTOR:-assistant}" and RUST_LOG=error br ... --json, then run RUST_LOG=error br sync --flush-only after mutation.
When creating a follow-up for a work-item review, make that follow-up depend on the reviewed original item before reporting it as created. This prevents autoship ready-queue selection from implementing review follow-ups while the original item's uncommitted implementation is still dirty in the checkout. For tk, after tk create ... returns the new ID, run tk dep <new-id> <original-id>. For br, after br create ... --json returns the new ID, run RUST_LOG=error br dep add --type blocks <new-id> <original-id> --json; then run RUST_LOG=error br sync --flush-only after all mutations. If dependency creation fails, list that follow-up under incomplete follow-up coverage and set Original item may close: no.
Every review must end with a machine-readable # Finalization Handoff section. Set Original item may close: yes only when the verdict is merge-ready/pass and either there are no material findings or every material finding has a created follow-up or an explicitly identified duplicate plus an original-item note/comment. Set it to no for needs-fixes, failed, blocked, missing validation evidence, disabled/incomplete follow-up creation, or failed original-item commenting.
Review modes
Work-item review
Review exactly one implemented work item. Resolve the work item and optional ExecPlan first. Check work-item compliance, ExecPlan compliance, acceptance criteria, validation evidence, accidental scope expansion, missing required behavior, regression risk, and merge readiness. Produce separate judgments for spec compliance, code quality, and validation evidence before giving the overall verdict.
Known execflow workflow-state files such as .pi/execflow-autoship-loop-marker.json, .pi/execflow-validation-gate.json, legacy .execflow/validation-gate.json, .execflow/autoship-progress.json, and .execflow/lessons-learned.md are not delivery artifacts by themselves. Do not create review findings just because they are dirty or untracked; treat them as unrelated workflow state unless their contents are the only available validation evidence and that evidence is stale, missing, or contradictory.
ExecPlan delivery review
Review whether a whole ExecPlan was delivered coherently across derived issues/tickets. Resolve the plan, find derived work items, inspect status/descriptions/dependencies/comments/validation notes, and sample high-risk changed code only as needed. Focus on milestone coverage, dependency sequencing, plan drift, required docs/architecture updates, and material evidence gaps. Produce separate judgments for spec compliance, code quality, and validation evidence before giving the overall verdict.
Change review
Review an arbitrary branch, diff, or path scope. Determine the target from --base <ref>, explicit paths/context, or current uncommitted/current-branch changes. Focus on correctness, regressions, security/data-loss risks, compatibility, validation evidence, maintainability issues that create concrete bugs, and merge readiness. Produce separate judgments for spec compliance, code quality, and validation evidence before giving the overall verdict.
Three-part judgment model
Every review must separate three judgments before the overall verdict:
Spec compliance: whether the implementation satisfies the work item, ExecPlan, acceptance criteria, and stated non-goals without scope creep. This is where missing required behavior, plan drift, wrong dependencies, or extra unrequested behavior belong.
Code quality: whether the change is simple, maintainable, safe, compatible with local patterns, and free of concrete correctness, regression, security, data-loss, or maintainability bugs. Do not use this section for style preferences that do not create real risk.
Validation evidence: whether fresh evidence proves the claimed behavior. Check exact commands, outputs, manual proof, RED/GREEN evidence or exemption, regression validation, and gaps. A final passing broad test run is not enough for testable work when RED proof or exemption is missing.
The overall verdict is the minimum safe conclusion across the three judgments. For example, code can be high quality but still needs-fixes when spec compliance is incomplete or validation evidence is weak. Conversely, strong validation evidence does not excuse scope creep or concrete code risk.
Finding standards
Prefer fewer strong findings over many weak ones. A finding must be concrete, evidence-backed, actionable, and tied to a real risk or acceptance gap. Do not create findings for style nits, vague maintainability preferences, speculative edge cases, or redesign ideas unless they are required for correctness.
Severity:
critical — unsafe to merge/rely on, acceptance criteria are falsely complete, or there is a data-loss/security/compatibility blocker.
major — real bug, missing required behavior, material plan drift, dependency error, or validation gap that should be fixed before relying on the work.
minor — concrete correctness, evidence, or required-doc gap worth tracking, but not a blocker by itself.
Follow-up body format
Use one concise body format for created tracker work items:
Review Follow-up
Review target: <work-item id, ExecPlan path, branch/diff/path>
Severity: <critical|major|minor>
Category: <correctness|regression|tests|maintainability|architecture|security|delivery|other>
Source finding: <short quote or paraphrase>
Required remediation: <specific action>
Acceptance criteria:
- The finding is addressed with the smallest safe change.
- Relevant validation or evidence is documented.
Output format
Use exactly these sections for all review prompts:
Review Verdict
- Review mode: work-item / execplan / change
- Review target:
- Tracker system: tk / br / other
- Spec compliance: pass / concerns / fail / not-assessed
- Code quality: pass / concerns / fail / not-assessed
- Validation evidence: pass / concerns / fail / not-assessed
- Verdict: merge-ready / needs-fixes / partial / failed / blocked / informational
- Confidence: high / medium / low
- Summary:
Findings
- If there are no material findings, write exactly:
- none
- Otherwise use repeated blocks:
Finding 1
- Severity: critical / major / minor
- Category: correctness / regression / tests / maintainability / architecture / security / delivery / other
- File:
path/to/file:line or none
- Evidence:
- Observation:
- Remediation:
Coverage and Evidence
- Spec compliance evidence:
- Code quality evidence:
- Validation evidence reviewed:
- Acceptance or milestone coverage:
- Missing or weak evidence:
- Scope/plan drift:
Follow-up Actions
- Follow-up creation enabled: yes / no
- Candidate follow-ups listed:
- Follow-up items created:
- Follow-up dependencies: not-needed / all-created / incomplete / disabled
- Duplicates skipped:
- Notes/comments added:
- Sync run:
Finalization Handoff
- Closure supported: yes / no
- Review verdict:
- Material findings: none / list findings
- Follow-up coverage: not-needed / all-created / duplicates-skipped / incomplete / disabled
- Original item comment: added / added / not-needed / failed / not-attempted
- Original item may close: yes / no
- Reason:
Recommended Next Actions