Triggers
| Type | Load |
|---|---|
| PRD — product requirements | prd.md |
| Feature PRD — feature requirements | feature-prd.md |
| Feature Design Doc — feature technical design | feature-design.md |
| Audit report — consolidated findings from supplied audit outputs | feature-audit.md |
| PRODUCT — strategic positioning and identity | product.md |
| Design Doc — lean technical design and trade-offs | design.md |
| ADR — single architecture decision record | adr.md |
| Archive feature — move feature folders to cold storage | feature-archive.md |
Detect the document type from the trigger. If ambiguous, ask the user.
For a feature request that asks for both documents, load feature-prd.md first and then feature-design.md.
Workflow
trigger → detect type → load instruction → locate document → drafting
document exists → update the requested parts
document absent → full discovery
ADR → create a numbered record or update the requested record
archive → select feature folders → move to .artifacts/archive/features/