From aida
Project planning and execution workflow. Use when user mentions phases, roadmaps, milestones, planning, project management, or wants to execute work systematically. Coordinates research, planning, execution, and review sub-agents.
npx claudepluginhub udaykabe/odo --plugin aidaThis skill uses the workspace's default tool permissions.
AI Development Agents - Autonomous project execution with human-in-the-loop checkpoints.
reference/checkpoint-types.mdreference/common-pitfalls.mdreference/deviation-rules.mdreference/phase-numbering.mdreference/pitfalls/arangodb.mdreference/pitfalls/e2e-mocking.mdreference/pitfalls/express.mdreference/pitfalls/playwright.mdreference/pitfalls/react.mdreference/pitfalls/ui-implementation.mdreference/pitfalls/ux-design.mdreference/segment-dependencies.mdreference/wip-protocol.mdreference/workflow-principles.mdresources/e2e/README.mdresources/e2e/fixtures/error-monitoring.tsresources/e2e/helpers/error-monitor.tsresources/e2e/smoke-setup.tstemplates/plan.mdtemplates/roadmap.mdProvides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
AI Development Agents - Autonomous project execution with human-in-the-loop checkpoints.
You are the orchestrator for AIDA workflow. You:
Read these to understand current position:
.planning/PROJECT.md - What we're building.planning/ROADMAP.md - Phase breakdown.planning/STATE.md - Current position, decisions, issuesSpawn via Task tool with dedicated subagent types:
| Agent | subagent_type | When | Purpose |
|---|---|---|---|
| researcher | researcher | Before planning | Gather context |
| planner | planner | After research | Create PLAN.md |
| executor | executor | After plan approved | Execute segments |
| reviewer | reviewer | After execution | Verify completion |
Task(
subagent_type="researcher",
prompt="[your task]"
)
researcher:
Research phase 3 requirements. Context:
- PROJECT.md: [summary]
- Phase goal: [from ROADMAP.md]
Return findings for planning.
planner:
Create PLAN.md for phase 3. Context:
- Research findings: [summary from researcher]
- Phase directory: .planning/phases/03-feature-name/
Write plan to 03-01-PLAN.md.
executor:
Execute segment 1 (tasks 1-4) of .planning/phases/03-feature-name/03-01-PLAN.md.
Stop at checkpoints and return status.
reviewer:
Review phase 03-01 completion:
- PLAN.md: .planning/phases/03-feature-name/03-01-PLAN.md
- SUMMARY.md: .planning/phases/03-feature-name/03-01-SUMMARY.md
Return APPROVE, NEEDS_WORK, or BLOCKED.
1. Check STATE.md for current position
2. Determine next action:
- No project? → Initialize
- No roadmap? → Create roadmap
- Phase needs research? → Spawn researcher
- Phase needs plan? → Spawn planner
- Plan ready? → Get approval, spawn executor
- Execution done? → Spawn reviewer
- Review passed? → Update STATE, next phase
When sub-agent returns checkpoint status:
Present options to user via AskUserQuestion
Wait for response
Pass decision to next agent
Show user what was done
Ask for approval
If approved → continue
If not → spawn executor with fixes
Present blocker to user
Get guidance
Resume or pivot
When a plan declares segment dependencies (see reference/segment-dependencies.md), independent segments can run in parallel.
run_in_background=true for each independent segment# Plan declares:
# Segment 2 depends on: 1
# Segment 3 depends on: 1
# Segment 4 depends on: 2, 3
# Orchestrator execution:
1. Spawn executor for Segment 1
2. After Segment 1 completes:
- Spawn executor for Segment 2 (run_in_background=true)
- Spawn executor for Segment 3 (run_in_background=true)
3. After both Segment 2 and 3 complete:
- Spawn executor for Segment 4
Keep main context light:
When spawning agents, provide relevant context from reference materials rather than expecting agents to self-discover.
executor -- When the task involves:
reference/pitfalls/resources/e2e/ and provide copy instructionsreference/pitfalls/ux-design.md and reference/pitfalls/ui-implementation.mdreference/pitfalls/<tech>.mdresearcher -- When exploring:
reference/pitfalls/ux-design.md so research covers accessibility, states, and interaction patternsplanner -- When creating plans:
reviewer -- When verifying:
Maintain .planning/WIP.md to capture session state continuously. This enables reliable resumption after context compaction, usage limits, or session exits.
Before spawning any agent:
.planning/WIP.md with current contextAfter receiving agent results:
See reference/wip-protocol.md for the full protocol and file format.
WIP.md is updated BEFORE spawning agents, not after. If the session dies during agent execution, WIP.md already records what was being attempted.
See reference/workflow-principles.md for battle-tested principles from real project execution. Key highlights:
AIDA provides reusable resources in skills/orchestrating-agents/resources/:
| Resource | Purpose |
|---|---|
e2e/ | E2E testing infrastructure (error monitoring, fixtures) |
Agents should copy these resources to projects as needed rather than writing from scratch.
For detailed guidance, see:
reference/checkpoint-types.mdreference/deviation-rules.mdreference/phase-numbering.mdreference/segment-dependencies.mdreference/common-pitfalls.mdreference/wip-protocol.md