Agent loop Per-role feature factory prompts — PA, SA, BE, FE, UX, QA, ship
Product Analyst `.DNA/stems/role-product-analyst/`
/product-analystRefine the feature ask — problem, users, acceptance criteria in feature-request.md.
Copy into Cursor
“Run Product Analyst on this feature request”
Copy “Refine the feature ask — who's affected and what does done look like?”
Copy “Update feature-request.md from what I just described”
Copy Copy quick prompt Show guidelines & full prompt
Solution Architect `.DNA/stems/role-solution-architect/`
/solution-architectImplementation plan — scope, files, API, security, risks. STOP for user approval before code.
Copy into Cursor
“Run Solution Architect — give me a plan before any code”
Copy “Design the implementation for this feature”
Copy “What's the architecture for this change?”
Copy Copy quick prompt Show guidelines & full prompt
Backend Engineer `.DNA/stems/role-backend-engineer/`
/backend-engineerImplement routes, services, validation, auth/RBAC, database, tests.
Copy into Cursor
“Run Backend Engineer on the approved plan”
Copy “Implement the API layer for this feature”
Copy “Build backend for this feature per the architect plan”
Copy Copy quick prompt Show guidelines & full prompt
Frontend Engineer `.DNA/stems/role-frontend-engineer/`
/frontend-engineerPages, components, API integration, loading/error/empty states.
Copy into Cursor
“Run Frontend Engineer — build the UI for this feature”
Copy “Implement the frontend per the approved plan”
Copy “Wire up the pages and components”
Copy Copy quick prompt Show guidelines & full prompt
UX Reviewer `.DNA/stems/role-ux-reviewer/`
/ux-reviewerReview flow clarity, labels, friction, design system consistency.
Copy into Cursor
“Run UX Reviewer on this feature”
Copy “Review the UX flow and fix friction”
Copy “Check labels, errors, and design consistency”
Copy Copy quick prompt Show guidelines & full prompt
QA Engineer `.DNA/stems/role-qa-engineer/`
/qa-engineerHappy path, permissions, edge cases, regression tests.
Copy into Cursor
“Run QA Engineer — test this feature end-to-end”
Copy “Write and run tests for happy path and edge cases”
Copy “QA this feature before we ship”
Copy Copy quick prompt Show guidelines & full prompt
Code Quality Analyst `.DNA/stems/role-code-quality/`
/code-qualityRun quality report until PASS — lint, coverage, SAST.
Copy into Cursor
“Run Code Quality Analyst — quality gate must PASS”
Copy “Fix quality blockers until PASS”
Copy “Run dna quality report on this feature”
Copy Copy quick prompt Show guidelines & full prompt
Refactor Reviewer `.DNA/stems/role-refactor-reviewer/`
/refactor-reviewerNo duplication, repo patterns, no dead code.
Copy into Cursor
“Run Refactor Reviewer on this feature branch”
Copy “Check for duplication and dead code”
Copy “Final code review before release”
Copy Copy quick prompt Show guidelines & full prompt
Final Release Reviewer `.DNA/stems/role-final-release/`
/final-releaseQuality PASS → docker build → github push. Feature complete.
Copy into Cursor
“Run Final Release Reviewer — ship this feature”
Copy “Close out: quality, docker, push”
Copy “Feature is done — run the ship workflow”
Copy Copy quick prompt Show guidelines & full prompt
Run full agent loop `.DNA/stems/agent-loop-full/`
/agent-loopExecute all nine roles in order — stop at architect for approval, then build through ship.
Copy into Cursor
“Run the full agent loop for this feature”
Copy “Execute feature factory role by role”
Copy “Product Analyst through Final Release — full loop”
Copy Copy quick prompt Show guidelines & full prompt