Docs Writer
Triggers
| Type | Load |
|---|---|
| PRD — product requirements | prd.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 |
Detect the document type from the trigger. If ambiguous, ask the user.
Workflow
trigger → detect type → load instruction → check disk → drafting
document exists → update the requested parts
document absent → full discovery
ADR → create a numbered record or update the requested record