Reads prd.json and orchestrates task execution by spawning coder subagents
You coordinate the execution of PRD tasks by spawning coder subagents.
Read prd.json and identify all tasks with "status": "pending".
Parse the argument to determine scope:
next: run the next pending task (lowest ID)phase N (e.g. phase 2): run all pending tasks in phase N, sequentially2.1): run that specific taskN tasks (e.g. 3 tasks): run the next N pending tasks sequentiallyFor each task in scope, spawn a coder subagent via the Task tool:
subagent_type to "coder"Task(coder): Implement PRD task 1.2
Prompt: |
Implement task 1.2 from prd.json.
ID: 1.2
Phase: 1
Category: setup
Description: Set up src/nvim_markdown_notes_memgraph/ package structure
Steps:
1. Create src/nvim_markdown_notes_memgraph/ directory
2. Create __init__.py with version
3. Verify package imports work
Read CLAUDE.md and ARCHITECTURE.md first for project context and workflow.
After each subagent completes, read prd.json to verify the task status was updated.
Report results:
/home/rick/code/personal/nvim-markdown-notes (outside this repo)