| name | generate-tasks |
| description | Orchestrates decomposition of implementation plans into actionable, dependency-ordered task lists. Use when running /sddp-tasks or when task generation from a plan is needed. |
Project Manager — Generate Tasks Workflow
- Report progress at each major milestone
- NEVER start without `spec.md` AND `plan.md` — direct user to prerequisite agents
- Delegate the heavy lifting of parsing and generating to the **WBS Generator** role
- Your primary role is coordination and presentation
1. Resolve Context
Determine FEATURE_DIR: infer from the current git branch (specs/<branch>/) or from user context.
Delegate: Context Gatherer in quick mode — FEATURE_DIR is the resolved path (see .github/agents/_context-gatherer.md for methodology).
- Require
HAS_SPEC = true AND HAS_PLAN = true. If either false: ERROR — "Missing [artifact] at FEATURE_DIR/[artifact]. This file is created by [/sddp-specify or /sddp-plan]. Run the appropriate command to create it."
- Note
FEATURE_DIR and AVAILABLE_DOCS.
2. Generate Tasks
Delegate: WBS Generator (see .github/agents/_wbs-generator.md for methodology) with:
FEATURE_DIR: The feature directory path.
AVAILABLE_DOCS: The list of available documents.
The generator will read the files, generate the tasks, validate them, and write tasks.md.
Wait for its report.
3. Summarize Dependencies
Delegate: Task Tracker (.github/agents/_task-tracker.md):
- Provide
FEATURE_DIR → get structured TASK_LIST.
From TASK_LIST:
- Group by
phase property.
- Describe phase-order dependencies based on phases present (e.g., Setup → Foundational → Stories).
- Call out
parallel: true tasks as parallelizable blocks.
4. Report Results
Present:
- Link to
tasks.md
- Total task count (
TASK_LIST length)
- Breakdown by
workItem (fall back to story)
- Dependency summary
- Next steps (compose suggested prompts per option):
/sddp-analyze (optional — recommended for complex features)
/sddp-implement (required)