一键导入
plan-build-verify
Use this skill for multi-step, spec-driven, or acceptance-gated implementation work that should move through Plan, Build, and Verify phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill for multi-step, spec-driven, or acceptance-gated implementation work that should move through Plan, Build, and Verify phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Finalize the current feature branch by running the `simplify`, `strict-quality-review`, and `/okf update` passes in order, each through its own subagent, automatically accepting in-scope fixes and committing after each phase. Use when the user says finalize, finish this branch, prep for PR, polish and review, run final cleanup, or asks to combine `/simplify`, `/strict-quality-review`, and OKF documentation updates before shipping.
Run a strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a strict quality review, deep code quality audit, or especially strict maintainability review.
| name | plan-build-verify |
| description | Use this skill for multi-step, spec-driven, or acceptance-gated implementation work that should move through Plan, Build, and Verify phases. |
Use this skill to route implementation work through a sequential path:
Most work should move through Plan → Build → Verify. Default to Plan unless the user explicitly directs you to execute an existing plan or verify completed work.
When the selected phase is Plan, do not jump straight to a written spec. Plan starts with context exploration and user alignment. The spec records the agreed direction after the user has responded to the alignment phase and approved or redirected the recommended approach.
| Phase | Input | Output | Status |
|---|---|---|---|
| Plan | Idea, vague request, or new build request | Context exploration → alignment dialogue → approach approval → draft docs/specs/YYYY-MM-DD-<topic>.md with mandatory ## Acceptance criteria and Build handoff → Approved after explicit user approval | Idea → Aligned → Draft → Approved |
| Build | Approved spec, or explicit user override | Implemented tasks, commits, review results, Build completion report | Approved → Implemented |
| Verify | Implemented spec plus completed work or Build report | Acceptance evidence and signoff recommendation | Implemented → Verified |
Build must not start from a draft spec unless the user explicitly overrides the approval gate. Verify must not claim signoff without evidence.
Determine the current phase from the user's request and project state. If the user gives a new build request, start with Plan even if they use the word “build”.
Use Plan when:
Examples that start with Plan:
/plan-build-verify "Let's build an analytics dashboard for foo bar."/plan-build-verify "Add API-backed project creation."/plan-build-verify "We need a Slack integration for agent updates."Use Build when:
Examples that start with Build:
/plan-build-verify "Execute this plan: docs/specs/foo-plan.md"/plan-build-verify "Implement docs/specs/2026-05-21-analytics-dashboard.md"/plan-build-verify "Continue the approved billing settings plan."Use Verify when:
Examples that start with Verify:
/plan-build-verify "Run UAT on foobar."/plan-build-verify "Verify the analytics dashboard work is complete."/plan-build-verify "Check whether this branch is ready to merge."For tiny, clearly bounded edits such as a copy change or single config tweak, do not force the full Plan workflow. State the assumption and ask whether the user wants the full Plan → Build → Verify process.
If the phase remains ambiguous after applying these rules, ask one focused question that resolves the phase.
After selecting the workflow, read the corresponding reference file completely and follow it. For Plan, the first reference step after context exploration is alignment. If you are about to draft a spec before the user has answered an alignment question or approved a recommended direction, stop and ask instead.
Reference files:
references/plan.mdreferences/build.mdreferences/verify.mdOnly load the workflow you need. If the selected workflow's reference file is empty or incomplete, say so and ask the user whether to draft that workflow before proceeding.
## Acceptance criteria section with observable pass/fail criteria that Build can implement and Verify can test.