بنقرة واحدة
feature-docs
// Generate feature documentation — PRDs, RFCs, ADRs, plans, technical docs, tasks, guides, testing docs, runbooks, and changelogs — individually or as a progressive pipeline covering a feature's full lifecycle
// Generate feature documentation — PRDs, RFCs, ADRs, plans, technical docs, tasks, guides, testing docs, runbooks, and changelogs — individually or as a progressive pipeline covering a feature's full lifecycle
| name | feature-docs |
| description | Generate feature documentation — PRDs, RFCs, ADRs, plans, technical docs, tasks, guides, testing docs, runbooks, and changelogs — individually or as a progressive pipeline covering a feature's full lifecycle |
Create feature documentation following structured, research-backed templates. Covers the full feature lifecycle from "why are we building this" through "how do we operate it in production."
Argument format: <doc-type> <feature-name> [description]
| Type | What it creates | Template |
|---|---|---|
prd | Product Requirements Document | templates/prd.md |
rfc | Request for Comments (design proposal) | templates/rfc.md |
adr | Architecture Decision Record | templates/adr.md |
plan | Implementation plan with phases | templates/plan.md |
technical | Technical deep-dive document | templates/technical.md |
tasks | Task breakdown files | templates/tasks.md |
guide | End-user guide (task-oriented) | templates/guide.md |
testing | Test strategy | templates/testing.md |
runbook | Operational runbook for production | templates/runbook.md |
changelog | Structured change log | templates/changelog.md |
all | Full pipeline (all of the above, in order) | All templates sequentially |
To generate a doc: Read the template file listed above, then follow its template and guidelines to produce the document.
All templates share diagram conventions defined in diagrams.md — read it when
creating any doc that includes diagrams.
/feature-docs prd user-auth Add user authentication with magic links/feature-docs rfc caching-strategy Propose a caching approach/feature-docs adr caching-strategy (after RFC is accepted)/feature-docs plan user-auth (after PRD exists)/feature-docs tasks user-auth (after plan exists)/feature-docs technical coding-agent Deep dive on the coding agent/feature-docs guide chat-interface How to use the chat interface/feature-docs testing agent-teams Test plan for agent teams feature/feature-docs runbook chat-service Operational runbook for chat/feature-docs changelog user-auth Document what shipped/feature-docs all notifications Push notification systemall)When running all, execute each stage sequentially. After each stage, briefly
summarize what was created and confirm before proceeding to the next:
Each stage builds on the previous: