Teach /plan-agent:implementation-plan to accept a markdown plan path and convert it natively into the HTML implementation-plan format — the exact pipeline proven manually in the skill-box plan conversion session, promoted to a first-class skill capability (plan-agent 2.2.0).
Read and implement all steps in the plan at docs/plans/add-md-plan-conversion-to-implementation-plan.md — Add markdown plan conversion to implementation-plan. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-md-plan-conversion-to-implementation-plan.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
More ways to run this plan — goal & workflow prompts, file path
Achieve this goal: Add markdown plan conversion to implementation-plan. The plan at docs/plans/add-md-plan-conversion-to-implementation-plan.md describes one approach — use it as reference, but optimize for the outcome. Fan out across parallel subagents where that serves the outcome. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-md-plan-conversion-to-implementation-plan.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
Run a workflow to implement the plan at docs/plans/add-md-plan-conversion-to-implementation-plan.md — Add markdown plan conversion to implementation-plan. Brief subagents with the plan file at docs/plans/add-md-plan-conversion-to-implementation-plan.md. Reserve a final verification phase for the lead agent, not a subagent. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-md-plan-conversion-to-implementation-plan.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
add-md-plan-conversion-to-implementation-plan.html
docs/plans/add-md-plan-conversion-to-implementation-plan.html
docs/plans/add-md-plan-conversion-to-implementation-plan.md
Context
The story behind this plan — what prompted the work and why it matters now.
The implementation-plan skill's argument parser recognized only issue references ( #n , GitHub/GitLab URLs) and .html plan-file tokens. When a user passed a markdown plan path — "convert docs/plans/distribute-skills-via-skill-box-catalog.md into an HTML implementation plan" — the path fell through to plain objective text, and the conversion semantics had to be improvised in-session: treating the source as authoritative, skipping Clarify/Align/Interview on pre-validated content, preserving frontmatter, swapping the extension, and asking whether to keep or remove the source.
That improvised run also surfaced a recovery path worth encoding: the markdown had landed on origin/main (via a merged PR) after the working tree last updated, so the file looked missing until a fetch + fast-forward recovered it. This change formalizes the whole flow as conversion mode — $MD_SOURCE detection, resolution order (cwd → plan roots → default branch), implied --no-clarify --no-align --no-interview , 1:1 section mapping, frontmatter carry-over, and the Step 8 keep-or-remove source question — so the next markdown conversion needs zero improvisation.
Files that change
Every file this plan touches, and what happens to each one.
- kit/plugins/plan-agent/
CHANGELOG.mdmodified 2.2.0 entry for conversion modeREADME.mdmodified document the plan.md argument and conversion semantics
skills/implementation-plan/SKILL.mdmodified $MD_SOURCE detection + conversion mode defaults.claude-plugin/marketplace.jsonmodified plan-agent 2.1.0 → 2.2.0 + descriptionCLAUDE.mdmodified plugin table row notes .md conversiondocs/plans/add-md-plan-conversion-to-implementation-plan.htmlnew this plan — committed with the change
Steps
The step-by-step work, in order — each step says what to do, why it matters, and how to check it worked.
Tests
The tests that prove the change does what it promises.
Definition of done
The plan counts as done when every statement below is true — check each one off as you verify it.
Final check
One last pass to confirm the whole change works end to end.
Run the objective spec smoke from the Tests section — it prints PASS .
wc -l kit/plugins/plan-agent/skills/implementation-plan/SKILL.md — under the 500-line skill-authoring cap.
Manual smoke (fresh session, plugin loaded): /plan-agent:implementation-plan docs/plans/<any>.md — the run echoes Conversion mode: <md path> → <html path> , skips Clarify/Align/Interview, writes the .html beside the source with frontmatter carried over, and Step 8 offers the keep-or-remove source question.
Model-path smoke: ask "convert docs/plans/<any>.md into an HTML implementation plan" without the slash command — the skill auto-activates into conversion mode.
Wrapping up
Three gates that must all pass before this plan is marked completed.
Completion Report
No items to report — all requirements met.