with one click
workflow-plan
// Break an approved design into atomic implementation tasks — creates dependency-ordered task specs ready for parallel agent execution.
// Break an approved design into atomic implementation tasks — creates dependency-ordered task specs ready for parallel agent execution.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | workflow-plan |
| description | Break an approved design into atomic implementation tasks — creates dependency-ordered task specs ready for parallel agent execution. |
Decompose the design into atomic, narrowly-scoped implementation tasks.
The user invokes this as /workflow-plan {slug}.
$ARGUMENTS is empty, scan .workflow/*/ directories and list available workspaces — ask which one.workflow/*/ for a folder matching the slug $ARGUMENTSSTATUS.yaml — phase must be design-complete or discussion-complete:
design-complete → normal flow, read DESIGN.mddiscussion-complete → design was skipped, derive plan from DISCUSSION.md directlydesign-complete: verify DESIGN.md exists. If discussion-complete: verify DISCUSSION.md exists (DESIGN.md is optional).phase: plan, updated: {ISO timestamp}Every task MUST include an ## Applicable Skills section listing which project skills the task-implementer agent should consult. This is the primary mechanism for ensuring agents follow project patterns.
Project skills (from .claude/skills/ — agent reads these files directly):
| Skill | Tag when... |
|---|---|
code-style | Always — every task gets this |
component-architecture | Task creates or modifies React components |
data-fetching | Task involves queries, API calls, or Query/Queries wrappers |
styling-design | Task involves Tailwind CSS, visual design, loading states |
new-component | Task creates a new React component from scratch |
page-building | Task creates a new page or page-level component |
query-autonomy | Task refactors prop passthrough into select-based queries |
Plugin skills/tools (agent uses via Skill tool or MCP tools):
| Skill | Tag when... |
|---|---|
frontend-design | Task involves building distinctive new UI (not just structural changes) |
context7 | Task uses library APIs that must be verified — tag with specific libraries to look up (e.g., "context7: TanStack Query select option, nuqs parseAsArrayOf") |
systematic-debugging | Task involves fixing bugs or unexpected behavior |
The design's ## Applicable Skills section tells you which skills are relevant to this workspace. Distribute them to individual tasks based on what each task does.
Read these files from the workspace:
DESIGN.md — architecture, component breakdown, file changes, applicable skillsDISCUSSION.md — original context and scopeASSUMPTIONS.md — if it existsBreak the design into atomic tasks. Each task should:
Map which tasks depend on others:
depends_on: [1, 3] — this task can't start until tasks 1 and 3 are doneblocks: [5, 6] — tasks 5 and 6 can't start until this is doneGroup tasks into batches for parallel execution:
depends_on: []Create .workflow/{type}/{slug}/plan/PLAN.md:
---
slug: "{slug}"
total_tasks: {N}
tasks:
- id: 1
title: "..."
depends_on: []
blocks: [3, 4]
batch: 1
skills: [code-style, data-fetching]
- id: 2
title: "..."
depends_on: []
blocks: [5]
batch: 1
skills: [code-style, component-architecture, styling-design]
- id: 3
title: "..."
depends_on: [1]
blocks: [6]
batch: 2
skills: [code-style, data-fetching]
batches:
- batch: 1
tasks: [1, 2]
- batch: 2
tasks: [3, 4]
---
## Summary
{What this plan implements, referencing the design}
## File Impact Summary
### New files
- `path/to/file.ts` — Task 1
### Modified files
- `path/to/file.ts` — Tasks 2, 4
## Risk Areas
- {Anything that might cause issues during implementation}
Frontmatter schema notes:
tasks — full task overview (replaces the markdown table); used by workflow-implement to resolve dependenciesbatches — execution order; each batch lists task IDs that can run in parallelCreate .workflow/{type}/{slug}/plan/task/TASK_{N}.md for each task using this template:
---
task: {N}
title: "{Title}"
status: pending
depends_on: []
blocks: []
batch: {batch_number}
skills:
- code-style
- "{other applicable skills}"
files_create:
- path: "path/to/file.ts"
description: "What this file does"
files_modify:
- path: "path/to/file.ts"
description: "What specific changes to make"
files_reference:
- path: "path/to/file.ts"
description: "Why to read this (pattern to follow, types to use, etc.)"
acceptance:
- "Specific functional criterion 1"
- "Specific functional criterion 2"
- "bun check passes"
- "bun lint --fix clean"
---
## Context
{Why this task exists and how it fits in the plan. Reference the design.}
## Objective
{Single clear sentence of what this task accomplishes.}
## Skills Guidance
The task-implementer agent MUST read these skills (from `.claude/skills/`) before writing code.
Always include `code-style`. Add others based on what the task does:
- `component-architecture` — {Why, if applicable}
- `data-fetching` — {Why, if applicable}
- `styling-design` — {Why, if applicable}
## Implementation Notes
- Specific guidance, patterns to follow, gotchas
- Reference existing code patterns: "Follow the same pattern as `api/functions/movies.ts`"
- Note any project conventions: "Use `cn()` for class merging, named exports only"
## Out of Scope
- {Things explicitly excluded — prevents agent scope creep}
Frontmatter schema notes:
skills — list of skill names the task-implementer must read; always includes code-stylefiles_create / files_modify / files_reference — structured file lists for programmatic accessacceptance — flat list of strings; the last two should always be bun check and bun lintphase: plan-complete