Universal document generator. Reads templates/<TYPE>.md (structure) and
templates/<TYPE>.gen.md (generation rules) to produce docs/<TYPE>.md from
upstream engineering documents. Type is provided as the first argument.
Use when asked to "gendoc edd", "gen brd", "生成 PRD", "gendoc local-deploy", etc.
Proactively invoke when the user specifies a document type to generate. (gendoc)
What problem does it solve?
The GENDOC pipeline streamlines producing consistent, up-to-date documentation from templates and upstream sources, eliminating manual drafting and ensuring traceability.
Core Features & Use Cases
- Cumulative upstream reading: every doc reads all ancestor documents, never just the direct parent.
- Universal generation and review: supports
/gendoc <type> generation and /reviewdoc <type> review loop with configurable strategies.
- Breakpoint resume and quality tracking: tracks progress and quality status to ensure reliable, auditable output.
Quick Start
Run /gendoc <type> to generate your docs from templates and upstream documents.