Context engineering and planning for AI-powered software development
brainstorm
Optional
Brainstorm project ideas with guided facilitation
research
Optional
Validate market, technical, or domain assumptions
create-product-brief
Capture strategic vision and product scope
create-prd
Define functional and non-functional requirements
create-ux-design
If Yes
Design user experience when UX matters
create-architecture
Make technical decisions explicit with ADRs
create-epics-and-stories
Break requirements into implementable work
check-implementation-readiness
Gate check before implementation begins
sprint-planning
Initialize tracking (once per project)
create-story
Prepare next story for implementation
dev-story
Implement the story with code and tests
code-review
Validate implementation quality
correct-course
Ad-Hoc
Handle significant mid-sprint changes
retrospective
Per Epic
Review lessons learned after epic completion
Parallel track for small, well-understood changes — skip phases 1-3
quick-spec
quick-dev
Each document becomes context for the next phase. The PRD tells the architect what constraints matter. The architecture tells the dev agent which patterns to follow. Story files give focused, complete context for implementation. Without this structure, agents make inconsistent decisions.
document-project to create project-context.md
before Phase 4. Run it when structure, architecture, or rules change.
Additional context loaded per workflow:
create-story → epics, PRD, architecture, UXdev-story → story filecode-review → architecture, story filequick-spec → planning docs (if exist)quick-dev → tech-spec