cook-auto-parallel
[IMPORTANT] Use
TaskCreateto break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.
Prerequisites: MUST READ .claude/skills/shared/understand-code-first-protocol.md before executing.
docs/project-reference/domain-entities-reference.md— Domain entity catalog, relationships, cross-service sync (read when task involves business entities/models)docs/test-specs/— Test specifications by module (read existing TCs; generate/update test specs via/tdd-specafter implementation)
Process Discipline: MUST READ
.claude/skills/shared/rationalization-prevention-protocol.md— counter "too simple for a plan" and "I'll refactor later" evasions.
Process Discipline: MUST READ
.claude/skills/shared/red-flag-stop-conditions-protocol.md— STOP after 3+ failed attempts or when fix requires modifying 5+ files for a "simple" change.
Skill Variant: Variant of
/cook— autonomous parallel execution with fullstack-developer subagents.
Quick Summary
Goal: Plan parallel-executable phases and dispatch to fullstack-developer subagents for concurrent implementation.
Workflow:
- Plan — Create plan with parallel-executable phases (strict file ownership)
- Dispatch — Launch fullstack-developer subagents per phase
- Merge — Integrate results and verify
Key Rules:
- Each subagent owns specific files; no cross-boundary edits
- Autonomous mode: no user confirmation between phases
- Break work into todo tasks; add final self-review task
Ultrathink parallel to implement: $ARGUMENTS
IMPORTANT: Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
Workflow
1. Research (Optional)
- Use max 2
researcheragents in parallel if tasks complex - Use
/scout-extto search codebase - Keep reports ≤150 lines
- External Memory: Write research to
.ai/workspace/analysis/{task-name}.analysis.md. Re-read before parallel execution.
2. Parallel Planning
- Trigger
/plan-parallel <detailed-instruction> - Wait for plan with dependency graph, execution strategy, file ownership matrix
3. Parallel Implementation
- Read
plan.mdfor dependency graph - Launch multiple
fullstack-developeragents in PARALLEL for concurrent phases- Example: "Phases 1-3 parallel" → launch 3 agents simultaneously
- Pass phase file path:
{plan-dir}/phase-XX-*.md - Include environment info
- Wait for all parallel phases complete before dependent phases
- Sequential phases: launch one agent at a time
4. Testing
- Use
testersubagent for full test suite - NO fake data/mocks/cheats
- If fail: use
debugger, fix, repeat
5. Code Review
- Use
code-reviewerfor all changes - If critical issues: fix, retest
6. Project Management & Docs
- If approved: use
project-manager+docs-managerin parallel - Update plan files, docs, roadmap
- If rejected: fix and repeat
7. Final Report
- Summary of all parallel phases
- Guide to get started
- Ask to commit (use
git-managerif yes)
Example: Phases 1-3 parallel → Launch 3 fullstack-developer agents → Wait → Phase 4 sequential
IMPORTANT Task Planning Notes (MUST FOLLOW)
- Always plan and break work into many small todo tasks
- Always add a final review todo task to verify work quality and identify fixes/enhancements