一键导入
plan-draft
Write a detailed plan doc and its companion test harness doc for a single component. Use after plan-architect has created the plan index.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write a detailed plan doc and its companion test harness doc for a single component. Use after plan-architect has created the plan index.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Schedule yourself to wake up every 5 minutes and shepherd an open PR — fix failing CI, address review-bot comments (push fixes for legit findings, resolve false positives, re-request review once addressed), reply to mechanical human comments with fixes, and flag architecture-level human comments back to the user. Exits the loop when the PR is green and review is clean. NEVER merges the PR.
Verify implemented plan docs against their actual code, add completion signoff metadata, and surface any gaps as new beads. Designed for scheduler/concierge agents coordinating multi-agent signoff after implementation is done.
Orchestrate the full planning lifecycle — from input assessment through architecture, plan writing, review cycles with convergence, and sign-off. Designed for concierge/scheduler agents coordinating multi-agent planning work.
Surgically trim verbosity and within-doc duplication from a plan doc without losing fidelity. Cuts review residue, restated rationale, illustrative code that prose+signature already covers, redundant adjacent sections, and prose-then-table restatements. Preserves all API/interface specs, acceptance criteria, URP/EO/AA commitments, decision rationale where alternatives matter, and review disposition tables. Run after plan-incorporate, before plan-work-completion-signoff.
Clean up a long-running work branch before landing into main — close beads, prune review docs, strip ceremonial comments, undo accidental cross-cutting refactors that weren't part of the task. Run after implementation completes, before opening the PR to main. Specific to the final land into the trunk, NOT for ordinary feature-to-feature merges along the way.
Independently review a plan doc and its test harness. Produces a review findings doc rated P0-P3. Run multiple times with different reviewers for independent perspectives.
| name | plan-draft |
| description | Write a detailed plan doc and its companion test harness doc for a single component. Use after plan-architect has created the plan index. |
| user-invocable | true |
| allowed-tools | Bash Read Write Edit Grep Glob WebSearch WebFetch Task |
| argument-hint | [doc-name] [scope-description] |
Write a plan doc and its companion test harness doc for a single component.
$0: Doc identifier (e.g., 04d-oltp-sql-engine)$1 (optional): Scope description — what the plan should coverdocs/plans/ (or the project's established plans directory)docs/plans/00-plan-index.md to understand dependencies and scopedocs/plans/00-architecture.md for architectural contextWrite docs/plans/$0.md following project conventions:
Commit the plan doc and record the hash.
Write docs/plans/$0-test-harness.md covering:
For every test category above, specify: (1) where test files will live in the codebase (exact package/directory paths), (2) which make target they roll up into, (3) whether they run in CI PR checks, nightly, or on-demand only. A test described without a location and runner is not a real commitment.
Commit the test harness doc and record the hash.
Report both commit hashes. The docs are now ready for /plan-review.