plan-to-implementation
Installation
SKILL.md
Plan to Implementation
Resume a plan from an existing draft PR, execute it with SDD, and flip that same PR ready. The PR description, its single marked plan comment, and the pushed branch are the durable state. Never recreate the planning session and never call gh pr create from this skill. Exact commands: rehydrate-and-finish.md.
Invoking this skill means the user has reviewed and approved the complete marked plan comment and selected this repository's SDD workflow. Do not ask for plan approval again before dispatch. Subagent-driven development is the sole execution mode. Never expose, recommend, or invoke Native superpowers:executing-plans from this workflow, even when upstream offers it or cost pressure favors it.
Rehydrate (every fresh entry — all 6 steps, in order)
- Resolve the single open draft PR that closes the issue and has exactly one comment containing
<!-- BEGIN PLAN -->. Zero or multiple matches — PRs or marker-bearing comments: stop and report; never guess or match by title. - Verify the linked issue is finalized: no
[DRAFT]prefix, and noNext:line in its## Brainstorm statesection (a revision still in progress). If not, stop and report — route it back tobrainstorming-to-issue #N. - Verify that one PR comment contains exactly one ordered
BEGIN PLAN/END PLANmarker pair — not the PR description. - Resolve the worktree from the PR's
headRefName. Never ask about worktrees — always isolate. Exactly one worktree on that branch: enter it. No match: create one for that existing branch persuperpowers:using-git-worktrees(native tool preferred, else.worktrees/<branch>), never a new feature branch, never a consent prompt. More than one match: stop and report — two worktrees on one branch is broken state, not a preference question. A failing baseline is likewise a stop, not a question. Rungh pr checkout <M>inside the resolved worktree. - Extract only the marker-delimited text from that comment into
.superpowers/sdd/plan.md— never stale local scratch, never surrounding comment prose, never the PR description. - If
.superpowers/sdd/plan/progress.mdexists, preserve it and resume from it; else start at Task 1.