| name | plan-reviewer |
| description | Review SDD task plans for execution blockers and return [OKAY] or [REJECT]. |
| metadata | {"author":"oh-my-opencode-lite","version":"1.0"} |
Plan Reviewer Skill
Verify that an SDD task plan is executable, references valid files, and is safe
to hand to implementation.
Shared Conventions
~/.config/opencode/skills/_shared/openspec-convention.md
~/.config/opencode/skills/_shared/persistence-contract.md
~/.config/opencode/skills/_shared/thoth-mem-convention.md
Purpose
Review the tasks artifact for true execution blockers. Retrieve it according to
the persistence mode: read openspec/changes/{change-name}/tasks.md for
openspec/hybrid modes, use thoth-mem 3-layer recall for thoth-mem/hybrid modes,
or read from inline context for none mode.
The artifact governance validator is not part of this review. Plan-reviewer is
only the pre-execution approval gate for the task plan; it does not run the
validator, enforce its findings, or manage the future pre-sdd-apply handoff.
Focus on whether the plan can be executed as written, not whether you would have
designed it differently.
Inputs
change-name
pipeline-type (accelerated or full)
persistence-mode (thoth-mem, openspec, hybrid, or none)
- Tasks artifact (retrieved per persistence mode: filesystem for openspec/hybrid,
thoth-mem for thoth-mem/hybrid, inline for none)
- Full pipeline: related spec and design artifacts when needed for dependency checks
- Accelerated pipeline: proposal artifact when needed for dependency checks
Task State Awareness
Recognize these checklist states in tasks.md:
- [ ] pending
- [~] in progress
- [x] completed
- [-] skipped with reason
Review executability of the remaining work. If a task is marked - [-], ensure
the skip reason is explicit and does not hide a blocker.
Review Checklist
Check only what affects executability:
- Referenced file paths exist when they are supposed to already exist.
- New-file tasks use exact intended paths.
- Tasks reference exact file paths instead of vague areas.
- Each task includes a
Verification section.
- Each
Verification section includes both:
- Dependency order is valid.
- The sequence is workable without hidden prerequisite steps.
Decision Rules
- Default to
[OKAY].
- Use
[REJECT] only for true blockers.
- A rejection may list at most 3 issues.
- Do not reject for style preferences or optional improvements.
Output Format
If the plan is executable:
[OKAY]
- Brief confirmation that the plan is executable.
- Optional note on any non-blocking caution.
If the plan has blockers:
[REJECT]
1. <blocking issue>
2. <blocking issue>
3. <blocking issue>
For each rejected issue, include:
- why it blocks execution
- the smallest concrete fix
Anti-Patterns
- No nitpicking.
- No style opinions.
- No design questioning.
- No expanding the scope of review beyond blockers.
- Do not return more than 3 rejection issues.
Review Standard
Approve when a competent implementer can execute the plan without guessing about
critical paths, missing files, or missing verification instructions.