Skill: generate-plan
Goal → reviewable Plan, with every step routed to a specialist. Owned by the Architect agent.
When to use
- A Goal exists in
Wiki/Goals/and you want to see what executing it would look like - After
/decompose-priority, when ratifying a candidate Goal - When a draft Plan exists but needs re-routing because team / agent registry changed
Procedure
-
Load the Goal: read
Wiki/Goals/{slug}.md. Extractpriority,horizon,suggested_template,suggested_agents,linked_artifacts, body charter + DoD. -
Load the parent priority for strategic alignment context.
-
Pick a template (override > goal.suggested_template > auto-detect):
- rmbc2: 4 steps — Research / Mechanism / Brief / Copy — for marketing creative work
- decision-memo: 3 steps — Steelman / Devil's Advocate / Synthesis — for trade-off decisions
- phased-build: N phases of 1–4 weeks each — for software/product builds
- freeform: arbitrary 1–5 steps — for everything else
-
Generate steps (max
max_steps, default 5):- Each step has: id, title, agent, skill, inputs, status (
todo), depends_on (list of step ids), estimated_minutes - Each step must reference an EXISTING agent + skill from the registry — don't invent
- When a step needs a skill that doesn't exist, mark
agent: architectandskill: research(a synthetic placeholder); flag the gap in the Plan body so Adam knows - Dependency-order the steps; parallel steps share the same
depends_on
- Each step has: id, title, agent, skill, inputs, status (
-
Write
Wiki/Plans/{YYYY-MM-DD}-{goal-slug}.md:
---
type: plan
goal: <a class="wikilink wikilink-broken" href="#">Wiki/Goals/<slug></a>
priority: <a class="wikilink wikilink-broken" href="#"><priority wikilink></a>
status: draft # draft → approved → in-progress → done | rejected
template: <rmbc2 | decision-memo | phased-build | freeform>
created: YYYY-MM-DD
approved: ? # filled by approval action
target_completion: YYYY-MM-DD
estimated_minutes_total: <sum>
steps:
- id: 1
title: "<step title>"
agent: <agent-slug>
skill: <skill-slug>
inputs:
<key>: <value>
<key>: <value>
status: todo
depends_on: []
estimated_minutes: <int>
run_id: ?
- id: 2
...
---
# Plan: <Goal display name>
## Why this plan
(1 paragraph: how the chosen template fits the Goal, why this sequence, what's deliberately scoped out.)
## Step rationale
- **Step 1**: why it's first, what it produces, what it unblocks
- **Step 2**: ...
## Risks / blockers
- (anything that could derail execution)
## Review checklist (for Adam)
- [ ] Steps in the right order
- [ ] Right agents assigned
- [ ] Inputs are specific enough to run without follow-up questions
- [ ] No conflict with Hard Avoids (compliance, fitness sensitivities, family-first)
- [ ] Total estimate fits this week's energy budget
## How to approve
Open this file in `/plans/<id>` (Phase 4d) and click Approve. The Plan moves to `status: approved` and its steps appear on the kanban (`/board`, Phase 4e). Each step's Run button dispatches via the Phase 3 run system.
For now (pre-Phase 4d/e): edit the frontmatter `status: draft` → `status: approved` manually, then run each step's skill from `/skills/<skill>` with the inputs listed in the step.
-
Surface to Adam: return the path + a one-paragraph summary including total estimated time and any flagged gaps (e.g., "Step 3 needs a skill that doesn't exist yet").
-
Append an entry to
Wiki/Log.md(agent:architect, skill:generate-plan).
Hard rules
- Status starts at
draft. Always. Plans never auto-approve, never auto-execute. - Every step must have a real agent + skill OR be flagged as a research gap. No placeholder names.
- Every step's
inputsmust be specific enough that the structured form would auto-fill without follow-up questions. This is the Phase 3.1 lesson — pre-flight decisions, not mid-flight prompts. - Don't propose more than 5 steps. If a Goal needs more, the answer is "decompose into sub-Goals first."
- Read the parent priority's section. Weekly plans should be doable this week. MIT plans should fit 90 days. Don't propose a 6-month plan against a weekly priority.
- Slug collision: if
Wiki/Plans/{date}-{slug}.mdalready exists for today, append-v2,-v3etc.
Cross-links
- Agents/Architect — owner
- Skills/decompose-priority — what produces Goals
- Wiki/Plans/ — where output lands
- Templates/plan — per-template skeleton files (drop a new template + register it for extensibility)