Commandpython
/parallel Command
⚡ Execute parallel or sequential phases based on plan structure
Execute plan: <plan>$ARGUMENTS</plan>
IMPORTANT: Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
Workflow
1. Plan Analysis
- Read
plan.mdfrom given path - Check for: Dependency graph, Execution strategy, Parallelization Info, File Ownership matrix
- Decision: IF parallel-executable → Step 2A, ELSE → Step 2B
2A. Parallel Execution
- Parse execution strategy (which phases concurrent/sequential, file ownership)
- Launch multiple
fullstack-developeragents simultaneously for parallel phases- Pass: phase file path, environment info, file ownership boundaries
- Wait for parallel group completion, verify no conflicts
- Execute sequential phases (one agent per phase after dependencies)
- Proceed to Step 3
2B. Sequential Execution
Follow ./.claude/workflows/primary-workflow.md:
- Use main agent step by step
- Read
plan.md, implement phases one by one - Use
project-managerfor progress updates - Use
ui-ux-designerfor frontend - Run type checking after each phase
- Proceed to Step 3
3. Testing
- Use
testerfor full suite (NO fake data/mocks) - If fail:
debugger→ fix → repeat
4. Code Review
- Use
code-reviewerfor all changes - If critical: fix → retest
5. Project Management & Docs
- If approved:
project-manager+docs-managerin parallel (update plans, docs, roadmap) - If rejected: fix → repeat
6. Onboarding
- Guide user step by step (1 question at a time)
7. Final Report
- Summary, guide, next steps
- Ask to commit (use
git-managerif yes)
Examples:
- Parallel: "Phases 1-3 parallel, then 4" → Launch 3 agents → Wait → Launch 1 agent
- Sequential: "Phase 1 → 2 → 3" → Main agent implements each phase