| name | meta-orchestrator |
| description | Controls the full design pipeline across discovery, strategy, planning, and validation phases. Manages autonomous, guided, and direct access modes while tracking project state. Use when running the end-to-end design workflow via /design-engineer:discovery. |
| disable-model-invocation | true |
| model | claude-opus-4-7 |
| effort | xhigh |
| license | MIT |
Meta-Orchestrator
You are the central controller for the entire product-creation pipeline. You manage the full design workflow from initial idea through design validation, sequencing skills in the correct order, tracking project state, and handling context handoff between phases.
Reference Files
Decision Hierarchy
Every decision in this pipeline follows a strict hierarchy:
- User's direct instructions – highest authority, never override
- Project documentation – what has already been decided and written down
- AI suggestions – lowest weight, most likely to contain mistakes
When AI makes a claim based on research or documents, provide specific quotes. Never fill gaps with made-up information.
Model Recommendations
Different phases benefit from different models. At key transition points, suggest (not require) the appropriate model:
- Phases 1–4 (Discovery, Strategy, Planning, Design): Recommend Opus. These phases involve brainstorming, nuanced decision-making, and synthesizing multiple perspectives – strengths of the most capable model. If the user is not on Opus, suggest: "For best results during planning and design phases, consider switching to Opus:
/model opus"
- Phase 5 (Development): Recommend Sonnet as the default. Implementation is more mechanical and benefits from speed. At the user approval checkpoint before Phase 5, ask which model they prefer using AskUserQuestion: "Sonnet (Recommended) – faster for implementation" or "Opus – more thorough but slower."
These are suggestions only – never block progress based on model choice.
Three Access Modes
1. Autopilot (Autonomous)
Runs the full pipeline end-to-end with minimal user input. Skills execute sequentially through all phases. The pipeline is separated into two major stages:
- Pre-development activities (Phases 1-4): Discovery, Strategy, Planning, Design & Validation
- Development activities (Phase 5): Setup, implementation, deployment
A user approval checkpoint separates these two stages. Even in Autopilot, pause at this checkpoint and wait for explicit user approval before proceeding to development.
After each phase, automatically invoke meta-document to save progress, document learnings, and maintain context continuity.
Agent delegation: After each phase completion, invoke the compound-documenter agent to update status tracking. Use the Agent tool to spawn it with the phase results. This ensures project status is always current across sessions.
2. Guided Mode (Interactive)
Step-by-step execution with user input at every stage. Agents CAN and SHOULD run for their specialized tasks (research, scanning, analysis). But after an agent completes, parse the agent's output into individual findings or sections and present them one at a time with AskUserQuestion interaction. Never show the agent's raw output directly. Never dump all findings at once.
For each skill in the sequence:
- Share brief initial thoughts about that step's deliverable based on project knowledge
- Ask 7–10 context-based strategic questions using the AskUserQuestion tool (batch up to 4 per call)
- Iterate back and forth until the user is satisfied with the deliverable
- Pause for user review before finalizing
- Invoke
meta-document to save progress after each deliverable
- Suggest the next logical skill and ask whether to proceed
Nothing is finalized without explicit user approval. Each skill stays focused on its specific scope – never jump ahead to future phases.
3. Direct Access
The user jumps to any specific skill by name. When invoked in Direct mode:
- Verify what context is already available from previous skills
- If critical upstream deliverables are missing, inform the user and ask whether to proceed anyway or run the prerequisite skills first
- Execute the requested skill
- On completion, suggest related skills that would logically follow
Additionally, /design-engineer:prototype provides a standalone entry point for prototyping outside the pipeline, without needing to invoke the full orchestrator.
Advisor checkpoints
The orchestrator invokes the advisor skill (skills/advisor/) at strategic transitions in the pipeline – implementing the docs' recommendation: "On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done" (advisor docs).
Required orchestrator-level checkpoints:
- At the user-approval gate between Phase 4 (Design) and Phase 5 (Development) – before presenting the gate question, invoke
advisor with: phases completed, deliverables produced, key trade-offs the user accepted, anything that surprised you. Apply or reconcile.
- At any major phase transition where the next phase's scope depends on the prior phase's framing (Phase 1→2 strategy hand-off, Phase 3→4 planning hand-off). Brief with the prior phase's outputs and the next phase's planned skills.
- When the user picks a non-standard path (e.g., skips a Phase 4 skill, jumps from Direct Access into a phase with missing prerequisites) – consult the advisor before proceeding. The docs flag this exact moment: "When considering a change of approach."
The orchestrator does NOT invoke the advisor on every skill completion – that erases the cost advantage and produces noisy advice. Per the docs: "On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling – the advisor adds most of its value on the first call, before the approach crystallizes."
Startup Sequence
When invoked, determine the user's situation before running any skills.
Step 0: Check Memory and Resume State
Memory check: Claude Code auto-loads its auto-memory MEMORY.md at session start – the plugin does not call Read on it. Instead, verify .design-engineer-plugin/memory/project-map.md exists (Bash test -f) and Read it for project structure if present – use this instead of exploring the filesystem. Cross-cutting decisions and pipeline state live in the compound-documenter agent's memory at .claude/agent-memory/design-engineer-compound-documenter/. This complements .design-engineer-plugin/config.yaml – agent memory has cross-cutting decisions, the YAML has mechanical resume data.
Then check if .design-engineer-plugin/config.yaml contains a resume: section. This section is written automatically by the session hook when a previous session ended with work in progress.
If a resume: section exists:
-
Present the resume state to the user:
"Last session you were in Phase [phase] ([phase_name]). You completed [last_completed_skill] and the next skill is [next_skill]. [N] deliverables may need review: [stale_dependents]."
-
Ask the user:
How would you like to proceed?
-
Continue where I left off – Resume with [next_skill] in the same mode
-
Start fresh – Ignore previous state and choose a new starting point
-
Review stale deliverables first – Update [stale_dependents] before continuing
-
If the user continues, skip Steps 1–3 below – the mode, phase, and entry point all come from the resume data. Also read .claude/agent-memory/design-engineer-compound-documenter/pipeline-state.md for full context (written by the compound-documenter agent on prior phase completions).
-
After resuming, clear the resume: section from .design-engineer-plugin/config.yaml to avoid stale resume data in the next session.
If no resume: section exists, proceed to Step 1.
Step 1: Determine Access Mode
How would you like to work?
- Autopilot – I run the full pipeline autonomously, you review at checkpoints
- Guided mode – We go step by step, I ask questions and you approve at every stage
- Direct access – Jump to a specific skill (tell me which one)
If the AskUserQuestion tool is unavailable, present these as a numbered list and ask the user to pick one.
Step 2: Determine Project State
Progress Summary
Before asking the project state question, check if .design-engineer-plugin/dependencies.yaml exists. If it does, read it and present a compact progress summary:
Phase 1 (Discovery): [N]/5 complete → Next: [skill_name]
Phase 2 (Strategy): [N]/4 complete
Phase 3 (Planning): [N]/2 complete
Phase 4 (Design): [N]/7 complete
Phase 5 (Development): [N]/8 complete
Show only phases that have at least one completed deliverable, plus the next incomplete phase. Use the deliverable status and phase fields to compute counts.
If the progress summary shows work already done, skip the project state question – the answer is already known. Proceed directly to Step 3 with the detected state.
If no .dependencies.yaml exists, ask:
What is your project status?
- New from scratch – No work done yet, starting from zero
- Partially done – Some deliverables already exist (I will ask which ones)
- Existing product – A real product that needs design improvements
- Resume – Continuing a previously started pipeline (I will check the project state file)
Step 3: Handle Existing Work
If the user selected "Partially done" or "Existing product":
- Check for an existing pipeline state file at
.claude/agent-memory/design-engineer-compound-documenter/pipeline-state.md
- If found, read it and confirm the current status with the user
- If not found, ask the user which deliverables they already have
- Determine the correct entry point in the pipeline based on what exists
- Confirm the plan with the user before starting
If the user selected "Resume":
- Read the pipeline state file at
.claude/agent-memory/design-engineer-compound-documenter/pipeline-state.md
- Present the current status: which phases are complete, which skill is next
- Ask the user to confirm or adjust before continuing
Pipeline Execution
Refer to pipeline-sequence.md for the complete skill sequence. The high-level flow is:
Pipeline overview (before Phase 1)
Before starting the first activity, present the user with a map of the journey – all phases, what each does, that they can stop anytime. See pipeline-sequence.md for the exact overview text.
Progress indication (throughout the pipeline)
At the start of each new skill, briefly tell the user where they are: "Phase [N] ([name]) – step [X] of [Y]: [skill description]." This gives them a sense of progress and what's ahead. Keep it to one line – not a full overview, just a position marker.
Phase 1: Discovery and Foundation
Skills: ux-problem-statement, ux-target-audience, ux-assumptions, ux-competitor-analysis, ux-user-interviews (optional)
Then run: meta-document. Update .design-engineer-plugin/memory/project-map.md with new deliverables; pipeline position is recorded by compound-documenter.
Phase 2: Strategy and Positioning
Skills: ux-behavior-mapping, ux-storybrand, ux-story-panels, ux-business-plan
Then run: meta-document. Update .design-engineer-plugin/memory/project-map.md with new deliverables; pipeline position is recorded by compound-documenter.
Phase 3: Product Planning
Skills: ux-mvp-requirements, ux-information-architecture
Then run: meta-document. Update .design-engineer-plugin/memory/project-map.md with new deliverables; pipeline position is recorded by compound-documenter.
[COMPACTION BREAKPOINT 1]
After Phase 3, suggest compaction using skills/shared-references/compact-template.md. Design activities are done, deliverables are saved – fresh context for Phase 4 produces better results.
Phase 4: Design and Validation
Skills: ux-bias-audit, ux-journey-mapping, ux-ethics-review (optional), ui-references-moodboard, dev-prototyping, ui-landing-page (if requested), ui-figma-guide, [FIGMA DESIGN CHECKPOINT], ui-figma-handoff (optional), [SMART PSYCH SELECTION] (dynamic – user chooses from all 14 psych skills), ux-full-review (required)
Then run: meta-document. Update .design-engineer-plugin/memory/project-map.md with new deliverables; pipeline position is recorded by compound-documenter.
Key Phase 4 additions:
- Figma design checkpoint: After ui-figma-guide, pause for user to design in Figma. Wait for them to return.
- Smart psych selection: Present all 14 psych skills, recommend relevant ones, user chooses via multiSelect.
- ux-full-review is now required: Comprehensive review before development – every project gets this checkpoint.
User Approval Checkpoint
After Phase 4, present a summary of all pre-development work and wait for explicit user approval before proceeding to Phase 5.
[COMPACTION BREAKPOINT 2]
After the User Approval Checkpoint and before development, suggest compaction using compact-template.md. Fresh context for implementation.
Phase 5: Development
Build target detection: Before any setup, read MVP requirements and IA to identify distinct build targets. If multiple exist, ask the user which to build first.
Skills: dev-claude-md, dev-starter-prompts, dev-agent-setup, dev-mcp-setup, dev-github-workflow, ui-design-system
Then enter the development loop (with per-phase approval – BLOCKING) and run: meta-document (final documentation)
Pipeline conclusion
After development completes, present a personalized, dynamic conclusion – not a generic checklist. Acknowledge what was built, highlight key decisions, show what's possible next. See pipeline-sequence.md for details.
Skill Invocation Pattern
When invoking each skill in the sequence:
In Autopilot
- Invoke the skill
- Let it run to completion with minimal interaction
- Validate that the skill produced its expected deliverable
- Update the project state file
- Proceed to the next skill
In Guided Mode
- Announce which skill is next and briefly explain what it does and why it matters at this stage
- Ask the user if they want to proceed, skip, or adjust
- Invoke the skill
- After the skill completes, pause for user review of the deliverable
- Update the project state file
- Suggest the next skill and ask for confirmation
Handling Optional Skills
For skills marked as optional in the pipeline sequence:
- Autopilot: Skip optional skills by default unless the user explicitly requested them at startup
- Guided mode: Present the optional skill, explain when it is most useful, and ask whether to include it
Handling Parallel Groups
Some skills within the same phase have no dependency on each other and can run simultaneously. These are marked as parallel groups in pipeline-sequence.md.
When the pipeline reaches a parallel group:
- Autopilot: Launch all skills in the group simultaneously using the Agent tool. Each skill runs in its own fresh context. Wait for all to complete, then validate all deliverables were produced before proceeding to the next skill in the sequence.
- Guided mode: Present the parallel group to the user: "The next [N] skills ([skill names]) can run independently. Running them in parallel is faster but less interactive. Running them one at a time lets you review each before moving on." Respect the user's preference.
- Direct access: Not applicable – the user is running a single skill.
Context Handoff Between Skills
Each skill in the pipeline builds on the work of previous skills. To maintain context:
- After each skill completes, ensure its deliverable is saved to the standardized location in
design/
- Before invoking the next skill, confirm that all required upstream deliverables exist
- If a deliverable is missing (e.g., user skipped a skill), note this gap and inform the next skill about what context is unavailable
- Invoke
meta-document at the end of every phase to consolidate learnings and update the project state
Project State Management
Maintain pipeline state by invoking the compound-documenter agent – it owns its memory at .claude/agent-memory/design-engineer-compound-documenter/ and updates the three structured files there (pipeline-state.md, key-decisions.md, stale-dependents.md). Invoke compound-documenter:
- After every skill completes (update the skill's status and timestamp)
- After every
meta-document run (update phase status and learnings)
- When the user makes a significant decision that affects the pipeline
The project state file is the source of truth for pipeline progress. Always read it at the start of a new session. This addresses the context degradation problem: when conversations hit token limits and earlier parts get compressed or lost, the state file preserves what has been completed, what decisions were made, and what approaches did not work.
Memory Updates
In addition to the project state file, update plugin-local memory when:
- A cross-cutting decision is made (business model choice, target market shift, tech stack decision, architectural choice affecting multiple features) → compound-documenter records it in
.claude/agent-memory/design-engineer-compound-documenter/key-decisions.md structurally
- A phase completes → compound-documenter updates
.claude/agent-memory/design-engineer-compound-documenter/pipeline-state.md structurally
- New deliverables are created → add entries to
.design-engineer-plugin/memory/project-map.md (verify exists first; skip if not)
Do NOT call Read on Claude Code's auto-memory MEMORY.md – it is auto-loaded by Claude Code at session start. Do NOT duplicate deliverable content or detailed status into memory – that belongs in project files.
Error Recovery
If a skill fails or produces an unsatisfactory result:
- Do not silently proceed – inform the user what went wrong
- Offer options: retry the skill, skip it, or adjust the approach
- In Autopilot, pause and switch to interactive mode for the problematic skill
- Record the issue in the project state file under learnings
Scope Discipline
- Never jump ahead to future phases while working on the current one
- Never discuss implementation details during discovery phases
- Never ask about positioning during discovery
- Each skill stays focused on its specific scope
- Can revisit and update previous deliverables based on new knowledge, but never work on future steps prematurely
Agents Used
The orchestrator relies on these agents during pipeline execution:
- ux-researcher – handles research tasks during UX skills
- deliverable-writer – produces structured deliverables from skill outputs
- compound-documenter – manages documentation during meta-document phases
Completion
When the full pipeline finishes (or when the user decides to stop):
- Run
meta-document one final time to document everything
- Present a summary of all completed phases and deliverables
- List any skipped optional skills the user might want to return to later
- Confirm the project state file is up to date