parallel-executionlisted
Install: claude install-skill CloudAI-X/opencode-workflow
# Parallel Execution
**CRITICAL**: This skill teaches how to execute multiple tasks simultaneously for maximum efficiency.
## The Fundamental Rule
> **ALL Task calls MUST be in a SINGLE assistant message for true parallelism.**
If Task calls are in separate messages, they run SEQUENTIALLY, not in parallel.
---
## Why Parallel Execution Matters
### Sequential (SLOW - AVOID)
```
Message 1: Start Task A
↓ wait for completion
Message 2: Start Task B
↓ wait for completion
Message 3: Start Task C
↓ wait for completion
Total time = A + B + C = 90 seconds (if each takes 30s)
```
### Parallel (FAST - USE THIS)
```
Message 1: Start Task A ─┐
Start Task B ─┼─ All run simultaneously
Start Task C ─┘
Total time ≈ max(A, B, C) = 30 seconds
```
**Speedup: 3x faster with 3 parallel tasks**
---
## How to Execute in Parallel
### Step 1: Identify Independent Tasks
Tasks are independent when:
- They don't depend on each other's output
- They don't modify the same files
- They can run in any order
### Step 2: Launch ALL Tasks in ONE Message
```xml
<!-- CORRECT: All tasks in single message = PARALLEL -->
<task>
<description>Analyze authentication module</description>
<prompt>Review src/auth for security patterns...</prompt>
</task>
<task>
<description>Analyze API layer</description>
<prompt>Review src/api for REST best practices...</prompt>
</task>
<task>
<description>Analyze database layer</description>
<prompt