Loading...
Loading...
Compare original and translation side by side
trigger --> detect type --> load reference --> discovery --> draftingtrigger --> detect type --> load reference --> discovery --> drafting| Type | Workflow | Reference | Template |
|---|---|---|---|
| PRD | discovery -> validation -> synthesis -> drafting | prd.md | prd.md |
| Brief | generated with PRD (no separate trigger) | brief.md | brief.md |
| Issue | classification -> drafting | issue.md | issue.md |
| Task | direct drafting | task.md | task.md |
| User Story | discovery -> drafting | user-story.md | user-story.md |
| RFC | discovery -> analysis -> drafting | rfc.md | rfc.md |
| ADR | discovery -> drafting | adr.md | adr.md |
| TDD | discovery -> analysis -> drafting | tdd.md | tdd.md |
| 类型 | 工作流 | 参考文档 | 模板 |
|---|---|---|---|
| PRD | 探索 -> 验证 -> 综合 -> 撰写 | prd.md | prd.md |
| Brief | 随PRD生成(无独立触发词) | brief.md | brief.md |
| Issue | 分类 -> 撰写 | issue.md | issue.md |
| Task | 直接撰写 | task.md | task.md |
| User Story | 探索 -> 撰写 | user-story.md | user-story.md |
| RFC | 探索 -> 分析 -> 撰写 | rfc.md | rfc.md |
| ADR | 探索 -> 撰写 | adr.md | adr.md |
| TDD | 探索 -> 分析 -> 撰写 | tdd.md | tdd.md |
| Trigger Pattern | Type | Reference |
|---|---|---|
| Create PRD, define product, product requirements, write PRD | PRD | prd.md |
| Create issue, report bug, feature request, create discussion | Issue | issue.md |
| Create task, sprint task, new task | Task | task.md |
| Create user story, write story, new story | User Story | user-story.md |
| Create RFC, propose change, request for comments | RFC | rfc.md |
| Create ADR, record decision, architecture decision | ADR | adr.md |
| Create TDD, technical design, design document | TDD | tdd.md |
| Create document, write doc | Ask user | -- |
| 触发词模式 | 类型 | 参考文档 |
|---|---|---|
| Create PRD, define product, product requirements, write PRD | PRD | prd.md |
| Create issue, report bug, feature request, create discussion | Issue | issue.md |
| Create task, sprint task, new task | Task | task.md |
| Create user story, write story, new story | User Story | user-story.md |
| Create RFC, propose change, request for comments | RFC | rfc.md |
| Create ADR, record decision, architecture decision | ADR | adr.md |
| Create TDD, technical design, design document | TDD | tdd.md |
| Create document, write doc | 询问用户 | -- |
.specs/docs/| Type | Filename |
|---|---|
| PRD | |
| Brief | |
| Issue | |
| Task | |
| User Story | |
| RFC | |
| ADR | |
| TDD | |
{name}.specs/docs/.specs/docs/| 类型 | 文件名 |
|---|---|
| PRD | |
| Brief | |
| Issue | |
| Task | |
| User Story | |
| RFC | |
| ADR | |
| TDD | |
{name}.specs/docs/| Bad | Good |
|---|---|
| "Search should be fast" | "Search returns results within 200ms" |
| "Easy to use" | "New users complete onboarding in under 2 minutes" |
| "Intuitive interface" | "Task completion rate above 90% without help text" |
| 反面示例 | 正面示例 |
|---|---|
| "搜索速度要快" | "搜索结果返回时间不超过200ms" |
| "易于使用" | "新用户无需帮助即可在2分钟内完成入门流程" |
| "界面直观" | "无需帮助文本的情况下,任务完成率超过90%" |
{name}{name}docs-writer -----> spec-driven (any doc can feed into a spec)
docs-writer -----> design-builder (PRD informs copy and design extraction)
RFC -------------> ADR (accepted RFC generates ADR)
TDD -------------> ADR (references relevant decisions)docs-writer -----> spec-driven (任何文档都可作为规格输入)
docs-writer -----> design-builder (PRD为文案和设计提取提供信息)
RFC -------------> ADR (已通过的RFC生成ADR)
TDD -------------> ADR (参考相关决策).specs/docs/.specs/docs/