Complete project generation pipeline with Task tool multi-agent orchestration. Requirements -> Design -> Tasks -> Project -> Implementation.
View on GitHubSelect agents to install to:
npx add-skill https://github.com/clearclown/claude-code-aida/blob/main/skills/pipeline/SKILL.md -a claude-code --skill pipelineInstallation paths:
.claude/skills/pipeline/# AIDA Pipeline Skill
Complete automation pipeline for project generation using Task tool for multi-agent orchestration.
## Overview
This skill executes the full AIDA pipeline:
1. **Phases 1-4**: Specification (via Leader-Spec + Players)
2. **Phase 5**: Implementation (via Leader-Impl + TDD Players)
## Multi-Agent Architecture
```
[Pipeline Skill]
|
+-- Task tool --> [Leader-Spec]
| |
| +-- Task tool --> [Player] (haiku)
| +-- Task tool --> [Player] (haiku)
| |
| +--> .aida/specs/
|
+-- Task tool --> [Leader-Impl]
|
+-- Task tool --> [TDD Player] (haiku)
+-- Task tool --> [TDD Player] (haiku)
|
+--> [PROJECT]/
```
## Execution Flow
### Step 1: Initialize Session
```bash
mkdir -p .aida/state .aida/checkpoints .aida/artifacts/requirements .aida/artifacts/designs .aida/tasks .aida/results .aida/specs
```
Create session state:
```json
{
"session_id": "<UUID>",
"started_at": "<ISO8601>",
"mode": "pipeline",
"phase": 1,
"user_request": "<REQUEST>",
"project_name": "<PROJECT>"
}
```
### Step 2: Launch Leader-Spec (Phases 1-4)
**Use Task tool with these parameters:**
| Parameter | Value |
|-----------|-------|
| description | "Leader-Spec: specification phases" |
| subagent_type | "general-purpose" |
| run_in_background | false |
| prompt | See below |
**Prompt:**
```
You are AIDA Leader-Spec agent.
Read instructions: agents/leader-spec.md
Project: [PROJECT_NAME]
User Request: [USER_REQUEST]
Execute Phases 1-4:
Phase 1: Extraction & Architecture
- Spawn players for requirements and architecture
- Output: .aida/artifacts/requirements/
Phase 2: Structure & Schema
- Spawn players for structure and schema design
- Output: .aida/artifacts/designs/
Phase 3: Alignment
- Cross-ch