implement-next-phase
Implement next phase
Invoking this skill
Use when the partner attaches this skill and provides the sketch plan path. That plan includes YAML todos (one per phase, each title matches the corresponding ### Phase N - … heading in plan) plus ## 4 - Sketch solution in the body.
Non-negotiable: Until the partner explicitly approves proceeding (for example: "go ahead," "implement," "proceed with Phase 2"), you do not edit application code, tests, config, or assets for the work. Preparation (reading, searching, analysis, questions) is allowed; building is not, until that approval.
Chat during preparation: Do not deliver a research report, findings recap, or summary of what you learned. Do not restate or summarize the sketch, the plan, or the codebase in chat. The partner already has the plan. In chat, write only: concise questions when something blocks you or is unclear; brief asks when the plan or todos need fixing; and—when you have no further questions—a single short line requesting approval to implement, naming the active phase by its todo title (for example: ready to implement Phase 1 - … when you approve). No other preparation prose in chat.
First actions, in order
-
Read the sketch plan file the partner gave you. Parse YAML frontmatter and read the
planbody. -
Pick the active phase from
todos: Take the first todo whose status ispending(or unset / notcompleted). That todo's title is the active phase label. Iftodosis missing, empty, or there is no pending item, stop and ask the partner to fix the plan or supply a proper solutionize sketch before continuing. -
Orient to the sketch: In
## 4 - Sketch solution, open the### Phase N - …section whose heading text matches the active todo title; read that section's Objective and bullets for implementation scope. If no heading matches, stop and ask the partner to align todos with the sketch. Skim earlier phases in the sketch for ordering and dependencies. -
Gather context (read-only):
- Read completed-phase material the partner points to, or earlier sections of the same plan if they record what was done.
- Open files linked or named in the sketch for this phase; follow callers/callees as needed.
- Use search and repo reads until you could implement without guessing. Keep that picture internal; do not write it to chat.
-
Reconcile and question: If research contradicts the sketch, omits something the code requires, or surfaces anything odd (missing symbols, wrong paths, tests that no longer match), ask one tight question (or a minimal set) in chat—no surrounding narrative. If anything in the phase is vague or ambiguous, ask the same way rather than assume.
-
Handoff when ready: If you still have open questions, stay on step 5; do not ask for approval until they are resolved. When you have no further questions, send only the short approval-request line described under Chat during preparation (phase named by todo title). Stop. Do not implement until the partner explicitly approves.
After approval
When the partner approves, implement only that phase per the sketch and prior answers; keep scope tight. If approval was for a specific phase number, do not roll forward into the next phase without a new cycle of this skill or explicit instruction.
More from jasonharmongit/jh-skills
doctor
Runs pre-PR formatting, checking and testing.
30organize-elixir-functions
Organize functions in a file or across a branch.
30walkthrough-process
Writes a deep markdown walkthrough for code understanding - how a function, module, or process fits into the system. Also supports branch-change walkthroughs when the user explicitly asks about PR/branch diffs.
24solutionize
Plan-only workflow with a human partner; no implementation while this skill governs the turn
22create-skill
>-
21approach-problem
Produce named strategic options with file/line estimates and pros/cons
7