First Epic Walkthrough
This guide walks through the full epic pipeline — from idea to merged code — using the @saas template's AI agent team.
The Pipeline
/athena:spec → /athena:implement → /athena:qa → commit → /athena:prStep 1: Write a Spec
bash
/athena:spec "notifications module — in-app bell icon, mark-as-read, persist to DB"The @spec-writer agent:
- Adds an epic entry to
docs/epics/EPIC_INDEX.md - Creates
docs/epics/eNNN-notifications.mdwith detailed spec - Designs the Drizzle schema and Server Actions
Step 2: Implement
bash
/athena:implementThe orchestrator runs TDD:
- Writes failing tests first (red)
- Implements the feature (green)
- Refactors for quality (refactor)
Step 3: QA
bash
/athena:qaThree agents run in parallel:
@reviewer— code review + security audit@qa— test execution + 80% coverage gate@evaluator— independent acceptance evaluation
Step 4: Commit and PR
bash
/athena:prRuns pre-merge checks → creates the PR with a structured description.
Autopilot (optional)
For hands-off execution:
bash
/athena:autopilotAdvances the pipeline automatically when confidence ≥ 0.85. Pauses and asks for input on low-confidence steps.
Effort Tiers
bash
/athena:spec --effort thorough "complex feature" # deeper analysis
/athena:qa --effort ultra "critical path" # maximum review depthSee the Effort Tiers reference for details.