From aida
AIDA Resume - Continue from last session state. Reads session.json and resumes from where AIDA left off. Useful for continuing interrupted implementations.
npx claudepluginhub clearclown/claude-code-aida-red --plugin aidaThis skill uses the workspace's default tool permissions.
Continue AIDA execution from the last saved session state.
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Builds DCF models with sensitivity analysis, Monte Carlo simulations, and scenario planning for investment valuation and risk assessment.
Calculates profitability (ROE, margins), liquidity (current ratio), leverage, efficiency, and valuation (P/E, EV/EBITDA) ratios from financial statements in CSV, JSON, text, or Excel for investment analysis.
Continue AIDA execution from the last saved session state.
/aida:resume
Or with specific project:
/aida:resume twitter-clone
You MUST follow this protocol exactly. Do NOT deviate.
Read .aida/state/session.json to understand current state:
cat .aida/state/session.json
Extract key information:
current_phase - Which phase are we in?project_name - What project?pending_tasks - What's left to do?completed_tasks - What's already done?quality_gates_passed - Have gates passed?Based on current_phase:
| Phase | Action |
|---|---|
SPEC_PHASE | Resume specification generation (Phases 1-4) |
IMPL_PHASE | Resume implementation (Phase 5) |
COMPLETED | Project already done - show status |
| Missing/Empty | No session - suggest /aida instead |
Check which spec outputs exist:
.aida/specs/{{PROJECT}}-requirements.md.aida/specs/{{PROJECT}}-design.md.aida/specs/{{PROJECT}}-tasks.mdIf any missing, launch Leader-Spec to complete:
Task tool:
description: "Leader-Spec: Complete Remaining Phases"
subagent_type: "general-purpose"
model: "sonnet"
prompt: [see leader-spec.md]
After completion, transition to IMPL_PHASE
Check what implementation exists:
ls -la ./backend/
ls -la ./frontend/
ls -la ./docker-compose.yml
Run quality gates to see what's failing:
./scripts/quality-gates.sh {{PROJECT}}
Based on failures, launch appropriate Players:
Iterate until ALL gates pass
Show project status and exit:
Project {{PROJECT}} is already complete.
Quality Gates: ALL PASSED
Location: ./
To run the project:
docker compose up -d
After resuming, follow the standard quality gate iteration:
┌─────────────────────────────────────────────────────────────────┐
│ 1. RUN GATES → ./scripts/quality-gates.sh {{PROJECT}} │
│ │
│ 2. IF FAILED: │
│ → Identify failing gates │
│ → Fix issues (add tests, fix code, etc.) │
│ → GOTO step 1 │
│ │
│ 3. IF ALL PASS: │
│ → Update session.json: quality_gates_passed = true │
│ → Update kanban.md │
│ → Output "DONE" │
└─────────────────────────────────────────────────────────────────┘
After each action, update .aida/state/session.json:
{
"resumed_at": "<ISO8601>",
"resume_count": N+1
}
{
"session_id": "aida-20260111-twitter-clone",
"current_phase": "IMPL_PHASE",
"project_name": "twitter-clone",
"pending_tasks": ["impl-frontend", "quality-gates"],
"completed_tasks": ["spec-requirements", "spec-design", "spec-tasks", "impl-backend"],
"quality_gates_passed": false
}
This tells us:
Resume action: Launch Frontend Player, then run quality gates.
No active AIDA session found.
To start a new project:
/aida "Your project description"
To check status:
/aida:status
If session.json is malformed:
If ./{{PROJECT}} doesn't exist but session says IMPL_PHASE:
| Command | Description |
|---|---|
/aida | Start new project from scratch |
/aida:status | Check current state without resuming |
/aida:fix | Fix existing project to meet quality gates |