Closure review before declaring non-trivial work done—tiers, parallelism, devil's-advocate questions, final plan todo, Review output. Use after standard/high-risk implementation or when closing a plan (plan-small-diff).
Canonical playbook (procedural detail): tier table, parallelism, questions, and plan-todo wording below live here so they can load on demand. AGENTS.md §6 states the obligation to run this pass for non-trivial work and keeps habits, debugging, and production-readiness pointers.
plan-small-diff.Non-trivial work: plan-small-diff (scope + todos) → implement → (closure) → for shipping-sensitive changes, .
release-readiness-checkBroader skill routing (which skill when): see AGENTS.md §6 — When unsure which workflow.
| Tier | Examples | Extra passes | Closure review |
|---|---|---|---|
| Trivial | Typo, comment-only, rename with no behavior change | None | Quick self-check (~1 min) |
| Standard | Single-file fix, small UI tweak, localized refactor | Optional explore if unfamiliar | Self-review + run tests |
| High-risk | Auth, uploads, file paths, Word/XML, payments, multi-service, schema | Prefer parallel exploration + adversarial questions | Full checklist below + tests |
Rule: Use more tooling only when blast radius or uncertainty is high. Empty ritual wastes time and trains people to ignore the process.
For high-risk or broad changes (many files, unclear architecture):
Do not mandate parallel agents for every task.
Answer briefly in your own words (not checkbox theater). If you list no risks, say explicitly “no material risks identified.”
api-boundary-secure skill.)For shipping-sensitive work, also use release-readiness-check.
For standard or high-risk work, the last todo should be substantive, e.g.:
Review: Holes, future maintenance pain, security boundaries, test gaps. List 1–3 concrete risks or state none; note anything left unverified.
plan-small-diff should end plans with this when scope is non-trivial.
Before declaring work done (for non-trivial tasks), output a short Review section:
Do not treat this as a checkbox with no content.
plan-small-diff — include the final review todo from Final todo for plans aboverelease-readiness-check — shipping / production pathsapi-boundary-secure — new HTTP, files, or auth boundaries