com um clique
execute
Execute PRDs mechanically using task agents or swarm mode
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Execute PRDs mechanically using task agents or swarm mode
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Collaborative planning conversation to produce a Master Plan for a feature
Generate detailed PRDs with hyper-specific tasks from an approved Master Plan
Launch parallel code review agents to review execution results against PRD specifications
Retrospective - review execution, capture learnings, update documentation
Explore a codebase area in depth with parallel research agents before planning
| name | execute |
| description | Execute PRDs mechanically using task agents or swarm mode |
| argument-hint | <prd-directory-name> |
| allowed-tools | Read, Glob, Grep, Task, Bash, TaskCreate, TaskList, TaskUpdate, TaskGet, TeamCreate, SendMessage |
| tags | ["execution","orchestration","parallel"] |
Execute approved PRDs by launching agents that follow task specifications mechanically.
prds/<directory>/PRDS_GENERATEDAsk the engineer which mode to use:
Task tool to launch parallel subagentsTeamCreate to create a team with shared task listTaskListprds/<directory>/master-plan.md to get PRD dependency graphprd-*.md)COMPLETED)Show the engineer what will happen:
Found N PRDs with M total tasks.
Wave 1 (parallel - no dependencies):
PRD-01: "Settings types and state" - 3 tasks
PRD-02: "Settings persistence" - 2 tasks
Wave 2 (depends on wave 1):
PRD-03: "Settings UI components" - 4 tasks (needs PRD-01, PRD-02)
Wave 3 (depends on wave 2):
PRD-04: "Sidebar integration" - 2 tasks (needs PRD-03)
Total: 4 PRDs, 11 tasks, 3 waves
Ask: "Execute in Task mode or Swarm mode? Or want to adjust anything?"
Wait for confirmation before launching anything.
For each task in the current wave, launch a parallel agent using the Task tool.
Critical: Pass the full task content directly to the agent. Do NOT tell the agent to "read the PRD file and find your task." Instead, read the task spec yourself and include it in the agent prompt.
Agent prompt template:
You are executing a PRD task. Follow the specification EXACTLY.
Do not make decisions. Do not add anything not specified.
If something is ambiguous, STOP and report - do not guess.
## Task Specification
<paste the full task content here, including file changes and acceptance criteria>
## Rules
- Create/modify files exactly as specified
- Use context anchors to find insertion points (not line numbers)
- Do not add imports, functions, or code not specified in the task
- Do not refactor or "improve" surrounding code
- If a recommended skill is listed, use it
## When Complete, Report
1. Files created (full paths)
2. Files modified (full paths + what changed)
3. Files deleted (full paths)
4. Test results: run `npm test -- <test-file>` for any test files in the task
5. Acceptance criteria checklist (mark each pass/fail)
6. Issues encountered (if any)
7. Completion timestamp (UTC)
Use the recommended agent type from the task if specified:
subagent_type: "component-builder" for UI taskssubagent_type: "state-architect" for state taskssubagent_type: "general-purpose" as defaultLaunch all independent tasks in the wave simultaneously (single message, multiple Task tool calls).
TeamCreate with name based on featureTaskCreate for every task across all PRDs, with descriptions containing the full task specTaskUpdate with addBlockedBy matching the PRD dependency graphTask tool with team_name parameter. Use recommended agent types. Limit to 5-8 agents max. If there are more tasks than agents, agents pick up new tasks as they complete previous ones.TaskUpdate with owner for unblocked tasksTaskList and teammate messages. As tasks complete, assign newly unblocked tasks.After each wave completes:
npm test -- <test-file>CRITICAL: The orchestrator (you) must update PRD files — do NOT rely on agents to do this. Agents report results back to you; you write the execution logs. This is the audit trail and must not be skipped.
For each completed task, update the PRD file:
PENDING to COMPLETED (or FAILED)### Task N: <Title>
- **Agent:** <agent type used>
- **Mode:** task | swarm
- **Started:** YYYY-MM-DD HH:MM UTC
- **Completed:** YYYY-MM-DD HH:MM UTC
- **Status:** COMPLETED | FAILED | PARTIAL
- **Files created:**
- path/to/new/file.ts
- **Files modified:**
- path/to/existing.ts (added import, updated type, wired selector)
- **Files deleted:**
- (none)
- **Skills used:** /component, /lang-key
- **Test results:**
- `npm test -- settings.test.ts` - PASS (4/4)
- **Issues encountered:**
- (none)
- **Acceptance criteria:**
- [x] File created at correct path
- [x] Types exported correctly
- [x] No TypeScript errors
When all tasks in a PRD are done, update the PRD-level Status to COMPLETED.
Validation gate: Do NOT proceed to the next wave until execution logs are written for all tasks in the current wave. If logs are missing, write them now before moving on.
After all waves complete:
Execution Complete: <feature-name>
PRDs: X/Y completed
Tasks: A/B completed
Failed: F tasks
Duration: Xm Ys
Files created: N
Files modified: M
Files deleted: D
Issues:
1. <issue description> (PRD-XX, Task Y)
2. <issue description> (PRD-XX, Task Y)
Test results:
Unit tests: X passed, Y failed
Integration tests: X passed, Y failed
Suggested next steps:
1. Fix any failing tests
2. Run /team-review to verify code quality
3. Run project linter: npm run lint
4. Manual testing
5. Run /retro for retrospective
Update Master Plan status to COMPLETED (or PARTIAL if tasks failed).
All progress lives in the PRD files:
PENDING -> IN_PROGRESS -> COMPLETED | FAILEDPENDING -> IN_PROGRESS -> COMPLETED | PARTIALPRDS_GENERATED -> IN_PROGRESS -> COMPLETEDThe engineer can read PRD files at any time to check progress.
This skill uses:
/team-review (optional) - Suggest after execution for code reviewThis skill reads from:
/prd output - The PRD files with task specificationsThis skill produces output for:
/retro - Execution logs in PRD files/team-review - Files to review