create-plan
Creates execution-ready `PLAN.md` artifacts by composing `grilling`, `parallel-research`, `swarm-planner`, `tdd`, and `codebase-design` into one planning run. Use when work must be decomposed before c
SKILL.mdskills/agnostic/planning/create-plan/SKILL.md
GitHubCreate Plan
Contract
- Role: higher-order planning orchestrator
- Entrypoint type: public entrypoint
- Upstream: current retained agent-ready
ARCHITECTURE.mdandSPEC.md, including for an explicit planning request - Delegates to:
planning-discoveryfor bounded readonly orientation when subagents are available;$grilling,$parallel-research,$swarm-planner,$tdd,$codebase-design;plan-reviewerfor the final readonly plan review - Downstream: execution-ready
PLAN.mdforimplement-spec - Entry conditions: scope is clear enough to plan; stop if required planning inputs or tools are missing
- Stop conditions:
PLAN.mdis complete; eligible in-scope backlog sync is complete, or an explicit skip reason is recorded; no implementation started
Required Inner Skills
- MUST use
$grilling - MUST consider
$parallel-researchfor readonly planning discovery - MUST use
$swarm-planner - MUST use
$tdd - MUST use
$codebase-design - MUST use
$show-me - MUST use
$wait-what
Create a plan first. Never implement code in this skill.
Before naming or rewriting domain concepts, read the canonical glossary in the
routed requirements-grill status artifact. Preserve its canonical terms;
route proposed terminology changes through requirements-grill instead of
silently renaming them.
Quick start
- Read repo, git, existing plan, and backlog context before asking questions.
Before planning on any entry or resume, verify the
Architecture/SPEC Pair Complete gate in the installed
delivery-phaseskill'sreferences/artifact-state.md. This includes direct requests andlocalplans. Return missing, stale or conflicting proof to Requirements Phase /requirements-grill; planning cannot choose replacement architecture decisions. - Keep a visible planning control panel in the conversation: locked decisions, open decisions, current graph step, and next step.
- Read
references/grill-ambiguity.mdand run$grillingas explicit ambiguity reduction. - Update a running decision ledger after every response set, processing each answer individually so the user never has to reconstruct state from memory.
- After a whole response set is processed, emit any synthesis checkpoint required by
references/grill-ambiguity.md. - After
$grillingcompletes, continue to plan synthesis; backlog eligibility remains step 14. - If readonly discovery has independent code paths, specs, backlog items, external docs, or hypotheses, read and use
$parallel-researchbefore final task synthesis. - Research with
opensrc path <package>oropensrc path <owner>/<repo>plus primary-source web docs when current behavior matters. - Locate scoped
AGENTS.mdfiles for every planned task path. Scoped guidance uses one final## Skillstable withSkill | Exact trigger. Select only non-phase rows whose exact triggers match the task, then open each selected installed skill'sSKILL.md; that installed file is workflow authority. RootAGENTS.mdstays table-free. Phase wrappers remain global orchestration entrypoints and are excluded from scoped tables. - For every implementation task, convert applicable scoped or named skill
obligations into
implementation_skill_guidance; preserveassigned_skillsas planning provenance. - Read
references/architecture-convergence.md. Persist architecture applicability. Derive applicable convergence detail from the current Architecture/SPEC pair; route missing or contradictory target design to Requirements Phase /requirements-grill. Applicability never waives the architecture artifact. - Read
references/planner-task-graph.mdand run$swarm-plannerto produce the swarm graph andTntask contract. - Read
references/tdd-shaping.mdand run$tddto attach RED/GREEN targets to eachTntask. - Read
references/backlog-sync.md. For eligible projected work, preserve the provider Task identities and native blocker graph returned bywrite-backlog; otherwise record an explicit skip reason and continue plan completion. - Invoke
$show-meto present the task graph, dependencies, waves, and validation gates from the complete plan state before$wait-what. The presentation is a derived view;PLAN.mdfields remain the execution authority. - Before writing
PLAN.md, invoke$wait-whaton the complete plan. Proceed only when its language contract passes without changing the resolved decision ledger. - Read
references/stop-conditions.mdand stop exactly there.
Workflows
Default workflow
- Derive host, owner, tracker, and scope from repo state instead of assuming them.
- Ask only for missing high-impact inputs such as scope, goal, or backlog target.
- Every plan-shaping question in each
$grillinground must use the exact block:Decision,Recommendation,Question,Why it matters. - Keep
$grilling,$parallel-research,$swarm-planner,$tdd, and$codebase-designas visible inputs to one planning run; record when$parallel-research,planning-discovery, orplan-revieweris used or intentionally skipped because the work is not split-friendly or subagents are unavailable. - Build the plan's Wiki Context before task synthesis. Resolve the wiki
contract with the installed
docs-ingest-phaseskill'sreferences/wiki-contract.md. Select articles through its discovery entrypoints, by each entry's "Applies when" cue, and through search. Read each selected article and its supporting sources; check every material claim that shapes the plan against primary evidence. Send each novel, evidence-backed finding todocs-ingest-phase, or record a knowledge no-op. Done when the plan's## Wiki Contextsection, in thereferences/plan-schema.mdformat, cites every routed page used or states no applicable context. - Resolve each task's scoped guidance from root
AGENTS.mddown to the nearestAGENTS.mdfor itslocation. - Use each task's required skill guidance while shaping its scope, dependencies, validation, RED target, and review mode; do not merely list skills after the plan is written.
- Assign each task the deduplicated union of skills whose exact triggers match in every touched scope, merging all touched scopes for cross-directory tasks.
- Build worker waves from the selected task-identity mode. Projected work uses
provider Tasks and native blocker edges. Planning-only work uses the explicit
unprojected
Tngraph. Place every currently unblocked Task with a disjoint write scope in the same wave. Use a one-Task wave only when blockers or ownership leave one Task unblocked. - Normalize every task with stable ids,
depends_on,location,owned_paths,wave_boundary,description,validation,status,log,files edited/created, task-identity mode and its required identity fields,assigned_skills,implementation_skill_guidance,tdd_status,tdd_target, RED/GREEN commands, evidence fields,codebase_design_notes,review_mode,runtime_validation,runtime_target,runtime_evidence, andruntime_cleanup. Each task'svalidationis focused: tests for the changed behavior, integration checks the change directly touches, and type/lint for affected workspaces. CI owns the full suite; see validation scope. Architecture-bearing tasks also carry the convergence fields required byreferences/architecture-convergence.md. - Keep the task execution kernel inline: identity, dependencies, owned paths, intended outcome and acceptance references, validation/RED/GREEN commands, applicable risk gates and Architecture Checkpoint identifiers, status and provider identity. Use the task schema for exact fields.
- Supply detailed specification, code, architecture and skill context through resolvable Context Pointers. For a bounded Derived Context Excerpt, retain source identity, selector, freshness and subordinate status; source changes require refresh. Use the worker context contract for pointer selection and stale-context handling. Preserve authoritative decisions in their source instead of copying whole documents into the plan.
- For complex work, express the plan as a swarm graph of
Tntasks with dependency-aware validation gates, expected outcomes, assertions, or checks that let the executor self-verify before moving on. - Stop after plan creation and either eligible in-scope backlog sync or its explicit skip record. Do not implement code or spawn implementation workers.
Stack-aware preservation
If SPEC.md contains Dependency Readiness or Branch/Base Intent, copy those
sections into PLAN.md and validate that they are internally consistent.
- Preserve
No Stack RequiredorReadyplus its dependency evidence. - Do not decide stack topology in
create-plan. depends_onpreserves provider-native Task blocker edges. Those delivery blockers do not imply stacked PRs; accepted branch/base intent owns PR topology separately.Blockedis invalid agent-ready input. Stop planning and report the stale or contradictory spec instead of producing an execution-ready plan.- If
Branch/Base Intentis notNot applicable, make implementation tasks reference that intent as an execution constraint.
Review modes
cli: tests, commands, APIs, non-visual validationbrowser: interactive UI validationmixed: both are required
Advanced features
See REFERENCE.md for the overview and graph map.
- Grill / ambiguity reduction: see references/grill-ambiguity.md
- Planner / swarm graph: see references/planner-task-graph.md
- TDD shaping: see references/tdd-shaping.md
PLAN.mdschema and task contract: see references/plan-schema.md- Architecture applicability and convergence contract: see references/architecture-convergence.md
- Backlog sync rules: see references/backlog-sync.md
- Stop conditions: see references/stop-conditions.md