# Bmad Parallel

> Auto-detect and parallelize BMAD story tasks

- Skill: `majiayu000/bmad-parallel` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/bmad-parallel`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/bmad-parallel/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/bmad-parallel

---


# BMAD Parallel Executor

I automatically detect when a BMAD story has parallel-eligible tasks and offer to spawn agents.

## Activation

I activate when:
- `/dev-story` command completes
- User explicitly requests story parallelization
- A story file is updated with new tasks

## Detection Logic

```python
def should_parallelize(story_file):
    tasks = parse_tasks(story_file)
    parallel_tasks = [t for t in tasks if is_parallel(t)]
    return len(parallel_tasks) >= 3
```

## BMAD Context

I include BMAD artifacts in each agent's context:

| File | Purpose |
|------|---------|
| `.bmad/prd.md` | Product requirements |
| `.bmad/architecture.md` | System design |
| `.bmad/tech-spec.md` | Technical specifications |
| Story file | Task context |

## Agent Prompt Template

```
You are a BMAD implementation agent.

## Your Task
{task_description}

## Story Context
{story_content}

## Project Artifacts
- PRD: {prd_summary}
- Architecture: {arch_summary}
- Tech Spec: {spec_summary}

## Instructions
1. Implement ONLY the assigned task
2. Follow existing code patterns
3. Write tests for new functionality
4. Commit with message: "feat(story): {task_name}"
5. Output TASK_COMPLETE when done

Begin implementation.
```

## Files

- `spawn-story.sh` - Parse story tasks and spawn agents

## Integration with Base

This skill extends the base `parallel-executor` skill:
- Uses same worktree pattern
- Same monitoring commands
- Same merge workflow

