Triggers
- eng plan review
- review the architecture
- review architecture
- engineering review
- lock in the plan
- tech review
- technical review
- plan engineering review
- arch review
- review implementation plan
Plan Review — Engineering mode
Overview
The plan has been through CEO and design review. Scope is locked,
shape is locked. This review's job: catch the architecture issues
that would make the plan painful to build, scary to ship, or
expensive to maintain.
This is the third review in the autoplan pipeline (CEO → design
→ eng). Run it after scope and shape are settled, not before — eng
review of a plan that's about to be re-scoped is wasted.
Do not re-litigate scope. If you find a fundamental scope
problem at this stage, escalate it to the user as a blocker rather
than silently rewriting it.
Six dimensions to score (0–10)
For each, one-sentence "what would make it a 10," then the score.
- Architecture clarity — does the plan name every component
and the boundary between them? Could a stranger draw the diagram
from the plan alone?
- Data flow — for each user-facing action, is the path
traced through every layer (request → auth → business logic →
storage → response)? Are state transitions explicit?
- Edge cases — what happens on partial failure, network
timeout, duplicate request, expired auth, race condition,
empty input, oversized input? At least 5 named edge cases per
non-trivial component.
- Test coverage — are there testable acceptance criteria for
each shipped behaviour? What's the smallest reproduction for
the bug that would convince us it's broken?
- Reversibility — can changes be rolled back without data
loss? Is the schema backwards-compatible? Are deploys staged?
- Operability — what would the on-call person need to
diagnose this at 3am? Logs, metrics, runbook, structured
errors with codes?
Below 7 on any dimension ➜ patch the plan before approval.
What you must add to the plan
If missing, fill these in directly (don't just flag them):
- Module map — list of files / new packages and what each
owns. Reference existing files in the repo by path so callers
can be located.
- Schema diff — table-level changes, indexes, constraints,
migration order, backfill plan.
- Failure modes — bullet list of named failures + the agent's
intended response (retry / fail-loud / silent-skip / escalate).
- Acceptance criteria — testable statements that match the
CEO/design layer's "demand reality." Not "the function returns,"
but "the user sees X within Y seconds."
- Rollback — exact steps to revert. If "we'd just push another
commit," say so explicitly.
How to use
- Read the plan (path, text, or
goal_status of the active goal).
- Pull
knowledge_search(scope="system") for the project's
architecture/conventions docs and any previously-learned
scope="learned" lessons (we don't want to repeat known
mistakes).
- Walk the six dimensions.
- Either (a) patch the plan in place, or (b) return a structured
diff + list of escalations.
When called from plan_autoplan, return JSON matching the schema
the tool expects. When called interactively, narrative is fine.
Hard rules
- Don't add a new dependency without naming the alternative we
considered and rejected.
- Don't change a public API without a deprecation path.
- Don't propose a schema change without a backfill / rollback
plan.
- Don't paper over a known scope issue with engineering rigor —
escalate to the user.
What this skill does NOT do
- Re-litigate scope (CEO review's job — escalate instead).
- Critique UI/UX (design review's job).
- Write code or implement.
Verify
- The deliverable for this phase exists as a concrete artifact (doc, ticket, board, repo) and its location is shared, not described
- Each commitment has an owner name, a due date, and a definition-of-done that someone other than the author could check
- Risks are listed with likelihood/impact and a named mitigation, not as a generic 'risks: TBD' bullet
- Dependencies on other teams/vendors/agents are explicit; an ack from each dependency is recorded or marked 'pending'
- Success criteria for the next phase are numeric or otherwise objectively testable
- A rollback / kill-switch / 'we will stop if X' criterion is written down before work starts
1---2name: plan-review-eng3description: Use when reviewing the implementation plan for architecture, data flow, edge cases, and test coverage before any code is written.4---56## Triggers78- eng plan review9- review the architecture10- review architecture11- engineering review12- lock in the plan13- tech review14- technical review15- plan engineering review16- arch review17- review implementation plan1819# Plan Review — Engineering mode2021## Overview2223The plan has been through CEO and design review. Scope is locked,24shape is locked. This review's job: catch the architecture issues25that would make the plan painful to build, scary to ship, or26expensive to maintain.2728This is the *third* review in the autoplan pipeline (CEO → design29→ eng). Run it after scope and shape are settled, not before — eng30review of a plan that's about to be re-scoped is wasted.3132**Do not re-litigate scope.** If you find a fundamental scope33problem at this stage, escalate it to the user as a blocker rather34than silently rewriting it.3536## Six dimensions to score (0–10)3738For each, one-sentence "what would make it a 10," then the score.39401. **Architecture clarity** — does the plan name every component41 and the boundary between them? Could a stranger draw the diagram42 from the plan alone?432. **Data flow** — for each user-facing action, is the path44 traced through every layer (request → auth → business logic →45 storage → response)? Are state transitions explicit?463. **Edge cases** — what happens on partial failure, network47 timeout, duplicate request, expired auth, race condition,48 empty input, oversized input? At least 5 named edge cases per49 non-trivial component.504. **Test coverage** — are there testable acceptance criteria for51 each shipped behaviour? What's the smallest reproduction for52 the bug that would convince us it's broken?535. **Reversibility** — can changes be rolled back without data54 loss? Is the schema backwards-compatible? Are deploys staged?556. **Operability** — what would the on-call person need to56 diagnose this at 3am? Logs, metrics, runbook, structured57 errors with codes?5859Below 7 on any dimension ➜ patch the plan before approval.6061## What you must add to the plan6263If missing, fill these in directly (don't just flag them):6465- **Module map** — list of files / new packages and what each66 owns. Reference existing files in the repo by path so callers67 can be located.68- **Schema diff** — table-level changes, indexes, constraints,69 migration order, backfill plan.70- **Failure modes** — bullet list of named failures + the agent's71 intended response (retry / fail-loud / silent-skip / escalate).72- **Acceptance criteria** — testable statements that match the73 CEO/design layer's "demand reality." Not "the function returns,"74 but "the user sees X within Y seconds."75- **Rollback** — exact steps to revert. If "we'd just push another76 commit," say so explicitly.7778## How to use79801. Read the plan (path, text, or `goal_status` of the active goal).812. Pull `knowledge_search(scope="system")` for the project's82 architecture/conventions docs and any previously-learned83 `scope="learned"` lessons (we don't want to repeat known84 mistakes).853. Walk the six dimensions.864. Either (a) patch the plan in place, or (b) return a structured87 diff + list of escalations.8889When called from `plan_autoplan`, return JSON matching the schema90the tool expects. When called interactively, narrative is fine.9192## Hard rules9394- Don't add a new dependency without naming the alternative we95 considered and rejected.96- Don't change a public API without a deprecation path.97- Don't propose a schema change without a backfill / rollback98 plan.99- Don't paper over a known scope issue with engineering rigor —100 escalate to the user.101102## What this skill does NOT do103104- Re-litigate scope (CEO review's job — escalate instead).105- Critique UI/UX (design review's job).106- Write code or implement.107108## Verify109110- The deliverable for this phase exists as a concrete artifact (doc, ticket, board, repo) and its location is shared, not described111- Each commitment has an owner name, a due date, and a definition-of-done that someone other than the author could check112- Risks are listed with likelihood/impact and a named mitigation, not as a generic 'risks: TBD' bullet113- Dependencies on other teams/vendors/agents are explicit; an ack from each dependency is recorded or marked 'pending'114- Success criteria for the next phase are numeric or otherwise objectively testable115- A rollback / kill-switch / 'we will stop if X' criterion is written down before work starts