Pipeline
Complete project generation pipeline with Task tool multi-agent orchestration. Requirements -> Design -> Tasks -> Project -> Implementation.From its SKILL.md
npx -y skills add clearclown/claude-code-aida --skill pipelineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.6 KB, as published. Nobody here has run it
AIDA Pipeline Skill
Complete automation pipeline for project generation using Task tool for multi-agent orchestration.
Overview
This skill executes the full AIDA pipeline:
- Phases 1-4: Specification (via Leader-Spec + Players)
- 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
mkdir -p .aida/state .aida/checkpoints .aida/artifacts/requirements .aida/artifacts/designs .aida/tasks .aida/results .aida/specs
Create session state:
{
"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-check all artifacts
- Output: .aida/artifacts/alignment.md
Phase 4: Verification
- Consolidate final specs
- Output: .aida/specs/requirements.md
- Output: .aida/specs/design.md
- Output: .aida/specs/tasks.md
For parallel work, use Task tool with model: haiku.
When complete:
- Update .aida/state/session.json with phase: 5
- Write .aida/results/spec-complete.json
Step 3: Launch Leader-Impl (Phase 5)
Use Task tool with these parameters:
| Parameter | Value |
|---|---|
| description | "Leader-Impl: TDD implementation" |
| subagent_type | "general-purpose" |
| run_in_background | false |
| prompt | See below |
Prompt:
You are AIDA Leader-Impl agent.
Read instructions: agents/leader-impl.md
Project: [PROJECT_NAME]
Read specifications:
- .aida/specs/requirements.md
- .aida/specs/design.md
- .aida/specs/tasks.md
Execute Phase 5: TDD Implementation
1. Initialize project:
mkdir -p [PROJECT_NAME]/src
mkdir -p [PROJECT_NAME]/tests
2. For each task in tasks.md, spawn TDD player:
- Use Task tool with model: haiku
- Include TDD instructions (RED-GREEN-REFACTOR)
3. Quality gates:
- All tests pass
- Build succeeds
- Coverage >= 80%
When complete:
- Update .aida/state/session.json with phase: "completed"
- Write .aida/results/impl-complete.json
Step 4: Report Completion
AIDA Pipeline Complete
Session: [SESSION_ID]
Project: [PROJECT_NAME]
Artifacts:
- Specs: .aida/specs/
- requirements.md
- design.md
- tasks.md
- Project: [PROJECT_NAME]/
Test Results:
- All tests passed
- Coverage: XX%
Next Steps:
cd [PROJECT_NAME]
npm install
npm run dev
Phase Details
Phase 1: Extraction & Architecture
Player tasks (parallel):
- Extract functional requirements
- Extract non-functional requirements
- Design high-level architecture
Output:
.aida/artifacts/requirements/extraction.md.aida/artifacts/designs/architecture.md
Phase 2: Structure & Schema
Player tasks (parallel):
- Define directory structure
- Design data schemas
- Create API contracts
Output:
.aida/artifacts/designs/structure.md.aida/artifacts/designs/schemas.md.aida/artifacts/designs/api.md
Phase 3: Alignment
Tasks:
- Cross-check requirements
- Verify architecture supports features
- Identify gaps
Output:
.aida/artifacts/alignment.md
Phase 4: Verification
Tasks:
- Final review
- Consolidate specs
- Generate task breakdown
Output:
.aida/specs/requirements.md.aida/specs/design.md.aida/specs/tasks.md
Phase 5: TDD Implementation
For Next.js + TypeScript + Prisma project:
cd [PROJECT_NAME]
npx create-next-app@latest . --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" --use-npm --yes
npm install prisma @prisma/client
npx prisma init
TDD Player tasks (parallel):
- Implement feature 1 (RED-GREEN-REFACTOR)
- Implement feature 2 (RED-GREEN-REFACTOR)
- Implement feature 3 (RED-GREEN-REFACTOR)
Output:
[PROJECT_NAME]/
Error Handling
If a phase fails:
- Check
.aida/results/for error reports - Review
.aida/state/session.json - Options:
- Fix issue and use
/aida:workto continue - Restart with
/aida:pipeline
- Fix issue and use
Notes
- Sequential phases - Wait for each Leader to complete
- Parallel players - Leaders spawn multiple players in parallel
- TDD enforced - Phase 5 uses RED-GREEN-REFACTOR
- File-based state - All state in .aida/
- Task tool required - Subagent orchestration