Create high-quality, executable implementation plans for complex tasks by combining source digestion, parallel worker investigations, critic+guardian+boss review gates, and beginner-friendly packaging. Use when a user needs a step-by-step plan (not immediate implementation), especially when source material is large, fragmented, or hard for newcomers to understand.
Install
npx skillscat add i9wa4/dotfiles/plan-design Install via the SkillsCat registry.
Plan Design
Extend (not replace) the base orchestrator workflow for high-rigor plan authoring.
Use this skill when the output is a plan artifact requiring:
- Multi-source synthesis
- Parallel investigation
- Iterative review gates
- Newcomer-safe clarity and verifiability
1. Relationship to Existing Skills
- Base orchestration mechanics: use
orchestratorskill. - Multi-perspective review mechanics: reuse
subagent-reviewconcepts selectively. - GitHub fetch/comment commands: use
githubskill where needed. - Do not duplicate those skills; add only plan-design specific workflow.
2. Trigger Conditions
Use this skill when one or more apply:
- User asks for a migration plan, rollout plan, or execution roadmap.
- Input includes large docs, predecessor notes, or investigation artifacts.
- User asks for beginner-friendly documentation or says they cannot understand the current plan.
- Plan must pass explicit approval gates (critic/guardian/boss or equivalents).
3. Pre-Step: Overlap Check (Mandatory)
Before drafting, run the following and read the results:
List existing skills:
ls ~/ghq/github.com/i9wa4/dotfiles/agents/skills/Read at minimum:
- ~/ghq/github.com/i9wa4/dotfiles/agents/skills/orchestrator/SKILL.md
- ~/ghq/github.com/i9wa4/dotfiles/agents/skills/subagent-review/SKILL.md
Read any skill whose name suggests planning, review, or session workflow.
Record the overlap matrix in the research artifact:
- Already covered by existing skills
- New behavior unique to this plan-design session
Do not proceed until the unique delta is explicit.
4. 5-Step Workflow
NOTE: This workflow departs from orchestrator base behavior by dispatching workers (Step 2)
BEFORE the annotation cycle (Step 3). This is intentional for plan authoring: workers provide
raw investigation inputs that the annotation cycle then synthesizes. This overrides orchestrator
section 3.2 for plan-design tasks only. In all other contexts, follow the base orchestrator order.
4.1. Step 1: Fetch Source and Build Ground Truth
Create a research artifact for source digestion:
mkoutput --dir research --label "plan-investigation"Note: add a suffix to disambiguate if multiple plans exist in the same session, e.g.
mkoutput --dir research --label "plan-investigation-dbt-merge"
Read all source artifacts in full.
For large files, read in chunks (
offset/limitor line ranges).Extract:
- Constraints
- Open decisions/placeholders
- Risk points
- Missing prerequisites/access assumptions
Output: source digest with section references.
4.2. Step 2: Parallel Investigation
Dispatch worker and worker-alt in parallel with non-overlapping focus:
- worker focus:
- Architecture correctness
- Dependency/order integrity
- Missing technical steps
- worker-alt focus:
- Beginner-friendliness
- Phase verifiability
- Preconditions/tools/access completeness
Required response format from each worker:
- Severity buckets:
BLOCKING,IMPORTANT,MINOR - For each finding: section reference + missing detail + suggested addition
4.3. Step 3: Annotation and Synthesis
- Aggregate both worker outputs into one review package.
- Resolve contradictions between worker findings:
- If worker and worker-alt disagree, prefer the more conservative (safer) finding.
- Document the resolution in the Decision Log.
- Tighten the draft:
- Remove ambiguity
- Ensure all commands are copy-pasteable
- Ensure all expected outputs are specified
- Keep a decision log for each non-obvious choice.
When synthesis is complete, proceed to Step 4 (formal review gate).
Do NOT dispatch to critic or guardian here -- that is Step 4's responsibility.
4.4. Step 4: Review Gate Order (Strict)
- Send to critic and guardian in parallel.
- If either rejects: revise the plan artifact, resubmit to both. Repeat until both approve.
- Maximum 3 revision rounds per gate pass.
- If consensus is not reached after 3 rounds:
a. Record the disagreement in the Decision Log.
b. Notify messenger: "BLOCKED: critic/guardian deadlock after 3 rounds -- human decision required."
c. Do not proceed to boss until messenger resolves the deadlock.
- Submit to boss only after critic AND guardian both approve the same artifact version.
- If boss rejects:
a. Record the rejection reason in the Decision Log.
b. Revise the plan artifact per boss feedback.
c. Return to step 1 of this gate (re-run critic + guardian before resubmitting to boss).
d. Maximum 2 boss rejection rounds.
e. If boss rejects a second time, notify messenger: "BLOCKED: plan rejected twice by boss -- escalate." - Do not finalize or send to messenger until boss approves.
4.5. Step 5: Beginner-Friendly Final Plan Packaging
This step augments the base orchestrator plan template. The sections below are ADDITIONAL
to the base template defined in the orchestrator skill. Sections already in the base template
(Purpose, Source, Context, Investigation Summary, Acceptance Criteria, Decision Log, Risks,
Test Strategy, Progress, Surprises) must still be present. The sections listed here must also
be added for beginner-friendly plan outputs.
Additional required sections:
- Plain-language background
- Glossary (define all domain terms/acronyms used)
- Prerequisites
- tools + versions
- auth checks
- Access matrix
- required permissions per phase
- owner/escalation path
- Phase-by-phase command blocks
- copy-paste commands
- expected outputs
- explicit Definition of Done per phase
- Decision gates
- replace placeholders with concrete decisions or owner/date gates
- Rollback per phase
- trigger + steps + verification
5. Worker Routing Strategy (Default)
- Investigation tasks: dispatch to
worker+worker-altin parallel. - Execution (complex reasoning/design):
worker. - Execution (mechanical/simple):
worker-alt.
If risk is high or ambiguity is high, run parallel and compare.
6. Ambiguity Escalation (Mandatory)
If any worker encounters ambiguous or unclear points while rewriting content for a beginner audience:
- Stop -- do NOT make assumptions and proceed.
- Flag the ambiguity explicitly in the DONE/BLOCKED report to orchestrator.
- Orchestrator runs the full critic + guardian + boss review cycle on the revised content.
- Notify messenger of the ambiguity and the review outcome before finalizing.
This rule applies to all plan rewriting tasks, including glossary entries, command templates, and decision gate prose.
7. Quality Checklist Before Approval
A plan is ready for boss review only if all are true:
- Every technical term used is defined once.
- Every phase has commands + expected outputs + done criteria.
- Prerequisites and access requirements are explicit.
- Placeholder decisions are resolved or converted into named decision gates.
- Critic and guardian approved the same artifact version.
8. Deliverables
- Plan file created via:
mkoutput --dir plans --label plan
- Progress updates and status changes recorded in the plan.
- Final handoff summary including:
- Key decisions
- Unresolved gates
- Evidence of verification outputs