@rdmind/rdmind 0.0.9-alpha.0 → 0.0.9-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.knowledge/.ext/.bmad-core/agent-teams/team-all.yaml +15 -0
- package/.knowledge/.ext/.bmad-core/agent-teams/team-fullstack.yaml +19 -0
- package/.knowledge/.ext/.bmad-core/agent-teams/team-ide-minimal.yaml +11 -0
- package/.knowledge/.ext/.bmad-core/agent-teams/team-no-ui.yaml +14 -0
- package/.knowledge/.ext/.bmad-core/agents/analyst.md +84 -0
- package/.knowledge/.ext/.bmad-core/agents/architect.md +85 -0
- package/.knowledge/.ext/.bmad-core/agents/bmad-master.md +110 -0
- package/.knowledge/.ext/.bmad-core/agents/bmad-orchestrator.md +147 -0
- package/.knowledge/.ext/.bmad-core/agents/dev.md +81 -0
- package/.knowledge/.ext/.bmad-core/agents/pm.md +84 -0
- package/.knowledge/.ext/.bmad-core/agents/po.md +79 -0
- package/.knowledge/.ext/.bmad-core/agents/qa.md +90 -0
- package/.knowledge/.ext/.bmad-core/agents/ra.md +74 -0
- package/.knowledge/.ext/.bmad-core/agents/sm.md +65 -0
- package/.knowledge/.ext/.bmad-core/agents/ux-expert.md +69 -0
- package/.knowledge/.ext/.bmad-core/checklists/architect-checklist.md +440 -0
- package/.knowledge/.ext/.bmad-core/checklists/change-checklist.md +184 -0
- package/.knowledge/.ext/.bmad-core/checklists/pm-checklist.md +372 -0
- package/.knowledge/.ext/.bmad-core/checklists/po-master-checklist.md +434 -0
- package/.knowledge/.ext/.bmad-core/checklists/story-dod-checklist.md +96 -0
- package/.knowledge/.ext/.bmad-core/checklists/story-draft-checklist.md +155 -0
- package/.knowledge/.ext/.bmad-core/checklists/trd-checklist.md +226 -0
- package/.knowledge/.ext/.bmad-core/core-config.yaml +22 -0
- package/.knowledge/.ext/.bmad-core/data/bmad-kb.md +809 -0
- package/.knowledge/.ext/.bmad-core/data/brainstorming-techniques.md +38 -0
- package/.knowledge/.ext/.bmad-core/data/elicitation-methods.md +156 -0
- package/.knowledge/.ext/.bmad-core/data/technical-preferences.md +5 -0
- package/.knowledge/.ext/.bmad-core/data/test-levels-framework.md +148 -0
- package/.knowledge/.ext/.bmad-core/data/test-priorities-matrix.md +174 -0
- package/.knowledge/.ext/.bmad-core/enhanced-ide-development-workflow.md +248 -0
- package/.knowledge/.ext/.bmad-core/install-manifest.yaml +512 -0
- package/.knowledge/.ext/.bmad-core/tasks/advanced-elicitation.md +119 -0
- package/.knowledge/.ext/.bmad-core/tasks/analyze-prd.md +123 -0
- package/.knowledge/.ext/.bmad-core/tasks/apply-qa-fixes.md +150 -0
- package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-epic.md +162 -0
- package/.knowledge/.ext/.bmad-core/tasks/brownfield-create-story.md +149 -0
- package/.knowledge/.ext/.bmad-core/tasks/correct-course.md +72 -0
- package/.knowledge/.ext/.bmad-core/tasks/create-brownfield-story.md +314 -0
- package/.knowledge/.ext/.bmad-core/tasks/create-deep-research-prompt.md +280 -0
- package/.knowledge/.ext/.bmad-core/tasks/create-doc.md +103 -0
- package/.knowledge/.ext/.bmad-core/tasks/create-next-story.md +114 -0
- package/.knowledge/.ext/.bmad-core/tasks/document-project.md +345 -0
- package/.knowledge/.ext/.bmad-core/tasks/execute-checklist.md +88 -0
- package/.knowledge/.ext/.bmad-core/tasks/facilitate-brainstorming-session.md +138 -0
- package/.knowledge/.ext/.bmad-core/tasks/generate-ai-frontend-prompt.md +53 -0
- package/.knowledge/.ext/.bmad-core/tasks/index-docs.md +175 -0
- package/.knowledge/.ext/.bmad-core/tasks/kb-mode-interaction.md +77 -0
- package/.knowledge/.ext/.bmad-core/tasks/nfr-assess.md +345 -0
- package/.knowledge/.ext/.bmad-core/tasks/qa-gate.md +163 -0
- package/.knowledge/.ext/.bmad-core/tasks/review-story.md +316 -0
- package/.knowledge/.ext/.bmad-core/tasks/risk-profile.md +355 -0
- package/.knowledge/.ext/.bmad-core/tasks/shard-doc.md +187 -0
- package/.knowledge/.ext/.bmad-core/tasks/test-design.md +176 -0
- package/.knowledge/.ext/.bmad-core/tasks/trace-requirements.md +266 -0
- package/.knowledge/.ext/.bmad-core/tasks/validate-next-story.md +136 -0
- package/.knowledge/.ext/.bmad-core/tasks/validate-trd.md +158 -0
- package/.knowledge/.ext/.bmad-core/templates/architecture-tmpl.yaml +651 -0
- package/.knowledge/.ext/.bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
- package/.knowledge/.ext/.bmad-core/templates/brownfield-architecture-tmpl.yaml +478 -0
- package/.knowledge/.ext/.bmad-core/templates/brownfield-prd-tmpl.yaml +281 -0
- package/.knowledge/.ext/.bmad-core/templates/competitor-analysis-tmpl.yaml +349 -0
- package/.knowledge/.ext/.bmad-core/templates/front-end-architecture-tmpl.yaml +273 -0
- package/.knowledge/.ext/.bmad-core/templates/front-end-spec-tmpl.yaml +360 -0
- package/.knowledge/.ext/.bmad-core/templates/fullstack-architecture-tmpl.yaml +947 -0
- package/.knowledge/.ext/.bmad-core/templates/market-research-tmpl.yaml +253 -0
- package/.knowledge/.ext/.bmad-core/templates/prd-tmpl.yaml +203 -0
- package/.knowledge/.ext/.bmad-core/templates/project-brief-tmpl.yaml +222 -0
- package/.knowledge/.ext/.bmad-core/templates/qa-gate-tmpl.yaml +103 -0
- package/.knowledge/.ext/.bmad-core/templates/story-tmpl.yaml +138 -0
- package/.knowledge/.ext/.bmad-core/templates/trd-tmpl.yaml +198 -0
- package/.knowledge/.ext/.bmad-core/user-guide.md +530 -0
- package/.knowledge/.ext/.bmad-core/utils/bmad-doc-template.md +327 -0
- package/.knowledge/.ext/.bmad-core/utils/workflow-management.md +71 -0
- package/.knowledge/.ext/.bmad-core/workflows/brownfield-fullstack.yaml +298 -0
- package/.knowledge/.ext/.bmad-core/workflows/brownfield-service.yaml +188 -0
- package/.knowledge/.ext/.bmad-core/workflows/brownfield-ui.yaml +198 -0
- package/.knowledge/.ext/.bmad-core/workflows/greenfield-fullstack.yaml +241 -0
- package/.knowledge/.ext/.bmad-core/workflows/greenfield-service.yaml +207 -0
- package/.knowledge/.ext/.bmad-core/workflows/greenfield-ui.yaml +236 -0
- package/.knowledge/.ext/.bmad-core/working-in-the-brownfield.md +606 -0
- package/.knowledge/.ext/coding/ddd-architecture.md +223 -0
- package/.knowledge/.ext/coding/java-standards.md +308 -0
- package/.knowledge/.ext/coding/mybatis-standards.md +407 -0
- package/.knowledge/.ext/coding/sql-standards.md +263 -0
- package/.knowledge/.ext/coding/thrift-service.md +292 -0
- package/.knowledge/BMAD.md +255 -0
- package/.knowledge/coding.md +135 -0
- package/dist/package.json +4 -3
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/ui/components/Tips.js +1 -1
- package/dist/src/ui/components/Tips.js.map +1 -1
- package/dist/src/ui/hooks/usePhraseCycler.js +2 -2
- package/dist/src/ui/hooks/usePhraseCycler.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -3
- package/template/sns-demo-app/src/main/java/com/xiaohongshu/sns/demo/app/.gitkeep +0 -0
- package/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/enums/.gitkeep +0 -0
- package/template/sns-demo-common/src/main/java/com/xiaohongshu/sns/demo/common/model/.gitkeep +0 -0
- package/template/sns-demo-domain/src/main/java/com/xiaohongshu/sns/demo/domain/facade/.gitkeep +0 -0
- package/template/sns-demo-domain/src/main/java/com/xiaohongshu/sns/demo/domain/gateway/.gitkeep +0 -0
- package/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/config/threadpool/.gitkeep +0 -0
- package/template/sns-demo-infrastructure/src/main/java/com/xiaohongshu/sns/demo/infrastructure/gatewayimpl/.gitkeep +0 -0
- package/template/sns-demo-infrastructure/src/main/resources/mapper/.gitkeep +0 -0
- package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/config/.gitkeep +0 -0
- package/template/sns-demo-start/src/main/java/com/xiaohongshu/sns/demo/start/provider/.gitkeep +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
template:
|
|
3
|
+
id: brownfield-prd-template-v2
|
|
4
|
+
name: 现有项目增强 PRD
|
|
5
|
+
version: 2.0
|
|
6
|
+
output:
|
|
7
|
+
format: markdown
|
|
8
|
+
filename: docs/prd.md
|
|
9
|
+
title: '{{project_name}} 现有项目增强 PRD'
|
|
10
|
+
|
|
11
|
+
workflow:
|
|
12
|
+
mode: interactive
|
|
13
|
+
elicitation: advanced-elicitation
|
|
14
|
+
|
|
15
|
+
sections:
|
|
16
|
+
- id: intro-analysis
|
|
17
|
+
title: 项目分析和背景介绍
|
|
18
|
+
instruction: |
|
|
19
|
+
重要 - 先评估一下范围:
|
|
20
|
+
|
|
21
|
+
这个 PRD 是给现有项目做重大增强用的,需要全面规划和多个 story。开始前:
|
|
22
|
+
|
|
23
|
+
1. **看看增强复杂度**:如果只是简单的功能添加或 bug 修复,1-2 次开发就能搞定,那就停下来建议:"简单变更的话,考虑用 brownfield-create-epic 或 brownfield-create-story 任务和产品负责人一起做。这个完整 PRD 流程是为需要架构规划和多个协调 story 的重大增强设计的。"
|
|
24
|
+
|
|
25
|
+
2. **项目上下文**:看看我们是在已加载项目的 IDE 中工作,还是用户需要提供项目信息。如果项目文件可用,分析 docs 文件夹里的现有文档。如果文档不够,建议先跑 document-project 任务。
|
|
26
|
+
|
|
27
|
+
3. **深度评估要求**:在提任何建议之前,你必须彻底分析现有项目结构、模式和约束。每个建议都得基于实际项目分析,不能拍脑袋。
|
|
28
|
+
|
|
29
|
+
收集现有项目的全面信息。这个部分必须在继续需求之前完成。
|
|
30
|
+
|
|
31
|
+
关键:在整个分析过程中,明确向用户确认你的理解。对于你关于现有项目做出的每个假设,问:"基于我的分析,我理解 [假设]。这是正确的吗?"
|
|
32
|
+
|
|
33
|
+
在用户验证你对现有系统的理解之前,别继续任何建议。
|
|
34
|
+
sections:
|
|
35
|
+
- id: existing-project-overview
|
|
36
|
+
title: 现有项目概览
|
|
37
|
+
instruction: 看看是否已经跑过 document-project 分析。如果是,直接用那个输出,别重新分析。
|
|
38
|
+
sections:
|
|
39
|
+
- id: analysis-source
|
|
40
|
+
title: 分析来源
|
|
41
|
+
instruction: |
|
|
42
|
+
选一个:
|
|
43
|
+
- Document-project 输出可用:{{path}}
|
|
44
|
+
- 基于 IDE 的新分析
|
|
45
|
+
- 用户提供的信息
|
|
46
|
+
- id: current-state
|
|
47
|
+
title: 当前项目状态
|
|
48
|
+
instruction: |
|
|
49
|
+
- 如果 document-project 输出存在:从"高级架构"和"技术总结"部分提取摘要
|
|
50
|
+
- 否则:简单说说项目现在做什么,主要目的是啥
|
|
51
|
+
- id: documentation-analysis
|
|
52
|
+
title: 可用文档分析
|
|
53
|
+
instruction: |
|
|
54
|
+
如果跑过 document-project:
|
|
55
|
+
- 注意:"Document-project 分析可用 - 用现有技术文档"
|
|
56
|
+
- 列出 document-project 创建的关键文档
|
|
57
|
+
- 跳过下面的缺失文档检查
|
|
58
|
+
|
|
59
|
+
否则,检查现有文档:
|
|
60
|
+
sections:
|
|
61
|
+
- id: available-docs
|
|
62
|
+
title: 可用文档
|
|
63
|
+
type: checklist
|
|
64
|
+
items:
|
|
65
|
+
- 技术栈文档 [[LLM: 如果来自 document-project,打勾 ✓]]
|
|
66
|
+
- 源码树/架构 [[LLM: 如果来自 document-project,打勾 ✓]]
|
|
67
|
+
- 编码标准 [[LLM: 如果来自 document-project,可能不完整]]
|
|
68
|
+
- API 文档 [[LLM: 如果来自 document-project,打勾 ✓]]
|
|
69
|
+
- 外部 API 文档 [[LLM: 如果来自 document-project,打勾 ✓]]
|
|
70
|
+
- UX/UI 指南 [[LLM: 可能不在 document-project 中]]
|
|
71
|
+
- 技术债务文档 [[LLM: 如果来自 document-project,打勾 ✓]]
|
|
72
|
+
- '其他:{{other_docs}}'
|
|
73
|
+
instruction: |
|
|
74
|
+
- 如果已经跑过 document-project:"用来自 document-project 输出的现有项目分析。"
|
|
75
|
+
- 如果关键文档缺失且没有 document-project:"我建议先跑 document-project 任务..."
|
|
76
|
+
- id: enhancement-scope
|
|
77
|
+
title: 增强范围定义
|
|
78
|
+
instruction: 和用户一起明确这是什么类型的增强。这对范围和方法很关键。
|
|
79
|
+
sections:
|
|
80
|
+
- id: enhancement-type
|
|
81
|
+
title: 增强类型
|
|
82
|
+
type: checklist
|
|
83
|
+
instruction: 和用户确定哪个适用
|
|
84
|
+
items:
|
|
85
|
+
- 新功能添加
|
|
86
|
+
- 主要功能修改
|
|
87
|
+
- 与新系统集成
|
|
88
|
+
- 性能/可扩展性改进
|
|
89
|
+
- UI/UX 大改
|
|
90
|
+
- 技术栈升级
|
|
91
|
+
- Bug 修复和稳定性改进
|
|
92
|
+
- '其他:{{other_type}}'
|
|
93
|
+
- id: enhancement-description
|
|
94
|
+
title: 增强描述
|
|
95
|
+
instruction: 2-3 句话说说用户想要添加或改变什么
|
|
96
|
+
- id: impact-assessment
|
|
97
|
+
title: 影响评估
|
|
98
|
+
type: checklist
|
|
99
|
+
instruction: 评估对现有代码库的影响范围
|
|
100
|
+
items:
|
|
101
|
+
- 最小影响(独立添加)
|
|
102
|
+
- 中等影响(一些现有代码变更)
|
|
103
|
+
- 重大影响(大量现有代码变更)
|
|
104
|
+
- 主要影响(需要架构变更)
|
|
105
|
+
- id: goals-context
|
|
106
|
+
title: 目标和背景上下文
|
|
107
|
+
sections:
|
|
108
|
+
- id: goals
|
|
109
|
+
title: 目标
|
|
110
|
+
type: bullet-list
|
|
111
|
+
instruction: 这个增强如果成功将交付的 1 行期望结果的要点列表
|
|
112
|
+
- id: background
|
|
113
|
+
title: 背景上下文
|
|
114
|
+
type: paragraphs
|
|
115
|
+
instruction: 1-2 个短段落解释为什么需要这个增强,它解决什么问题,以及它如何与现有项目配合
|
|
116
|
+
- id: changelog
|
|
117
|
+
title: 变更日志
|
|
118
|
+
type: table
|
|
119
|
+
columns: [变更, 日期, 版本, 描述, 作者]
|
|
120
|
+
|
|
121
|
+
- id: requirements
|
|
122
|
+
title: 需求
|
|
123
|
+
instruction: |
|
|
124
|
+
基于你对现有项目的验证理解起草功能和非功能需求。在展示需求之前,确认:"这些需求基于我对你现有系统的理解。请仔细审查并确认它们与你项目的实际情况一致。"
|
|
125
|
+
elicit: true
|
|
126
|
+
sections:
|
|
127
|
+
- id: functional
|
|
128
|
+
title: 功能需求
|
|
129
|
+
type: numbered-list
|
|
130
|
+
prefix: FR
|
|
131
|
+
instruction: 每个需求将是一个以 FR 开头的标识符的要点 markdown
|
|
132
|
+
examples:
|
|
133
|
+
- 'FR1: 现有 Todo List 将与新的 AI 重复检测服务集成,而不破坏当前功能。'
|
|
134
|
+
- id: non-functional
|
|
135
|
+
title: 非功能需求
|
|
136
|
+
type: numbered-list
|
|
137
|
+
prefix: NFR
|
|
138
|
+
instruction: 每个需求将是一个以 NFR 开头的标识符的要点 markdown。包含来自现有系统的约束
|
|
139
|
+
examples:
|
|
140
|
+
- 'NFR1: 增强必须保持现有性能特征,内存使用量不超过当前使用量的 20%。'
|
|
141
|
+
- id: compatibility
|
|
142
|
+
title: 兼容性需求
|
|
143
|
+
instruction: 对现有项目很关键 - 什么必须保持兼容
|
|
144
|
+
type: numbered-list
|
|
145
|
+
prefix: CR
|
|
146
|
+
template: '{{requirement}}: {{description}}'
|
|
147
|
+
items:
|
|
148
|
+
- id: cr1
|
|
149
|
+
template: 'CR1: {{existing_api_compatibility}}'
|
|
150
|
+
- id: cr2
|
|
151
|
+
template: 'CR2: {{database_schema_compatibility}}'
|
|
152
|
+
- id: cr3
|
|
153
|
+
template: 'CR3: {{ui_ux_consistency}}'
|
|
154
|
+
- id: cr4
|
|
155
|
+
template: 'CR4: {{integration_compatibility}}'
|
|
156
|
+
|
|
157
|
+
- id: ui-enhancement-goals
|
|
158
|
+
title: 用户界面增强目标
|
|
159
|
+
condition: Enhancement includes UI changes
|
|
160
|
+
instruction: 对于 UI 变更,捕获它们如何与现有 UI 模式和设计系统集成
|
|
161
|
+
sections:
|
|
162
|
+
- id: existing-ui-integration
|
|
163
|
+
title: 与现有 UI 的集成
|
|
164
|
+
instruction: 描述新的 UI 元素如何与现有设计模式、样式指南和组件库配合
|
|
165
|
+
- id: modified-screens
|
|
166
|
+
title: 修改/新的屏幕和视图
|
|
167
|
+
instruction: 只列出将被修改或添加的屏幕/视图
|
|
168
|
+
- id: ui-consistency
|
|
169
|
+
title: UI 一致性需求
|
|
170
|
+
instruction: 与现有应用程序保持视觉和交互一致性的具体要求
|
|
171
|
+
|
|
172
|
+
- id: technical-constraints
|
|
173
|
+
title: 技术约束和集成需求
|
|
174
|
+
instruction: 这个部分替代单独的架构文档。从现有项目分析中收集详细的技术约束。
|
|
175
|
+
sections:
|
|
176
|
+
- id: existing-tech-stack
|
|
177
|
+
title: 现有技术栈
|
|
178
|
+
instruction: |
|
|
179
|
+
如果 document-project 输出可用:
|
|
180
|
+
- 从高级架构部分的"实际技术栈"表中提取
|
|
181
|
+
- 包含版本号和任何注明的约束
|
|
182
|
+
|
|
183
|
+
否则,记录当前技术栈:
|
|
184
|
+
template: |
|
|
185
|
+
**语言**:{{languages}}
|
|
186
|
+
**框架**:{{frameworks}}
|
|
187
|
+
**数据库**:{{database}}
|
|
188
|
+
**基础设施**:{{infrastructure}}
|
|
189
|
+
**外部依赖**:{{external_dependencies}}
|
|
190
|
+
- id: integration-approach
|
|
191
|
+
title: 集成方法
|
|
192
|
+
instruction: 定义增强如何与现有架构集成
|
|
193
|
+
template: |
|
|
194
|
+
**数据库集成策略**:{{database_integration}}
|
|
195
|
+
**API 集成策略**:{{api_integration}}
|
|
196
|
+
**前端集成策略**:{{frontend_integration}}
|
|
197
|
+
**测试集成策略**:{{testing_integration}}
|
|
198
|
+
- id: code-organization
|
|
199
|
+
title: 代码组织和标准
|
|
200
|
+
instruction: 基于现有项目分析,定义新代码如何适应现有模式
|
|
201
|
+
template: |
|
|
202
|
+
**文件结构方法**:{{file_structure}}
|
|
203
|
+
**命名约定**:{{naming_conventions}}
|
|
204
|
+
**编码标准**:{{coding_standards}}
|
|
205
|
+
**文档标准**:{{documentation_standards}}
|
|
206
|
+
- id: deployment-operations
|
|
207
|
+
title: 部署和运维
|
|
208
|
+
instruction: 增强如何适应现有部署管道
|
|
209
|
+
template: |
|
|
210
|
+
**构建过程集成**:{{build_integration}}
|
|
211
|
+
**部署策略**:{{deployment_strategy}}
|
|
212
|
+
**监控和日志**:{{monitoring_logging}}
|
|
213
|
+
**配置管理**:{{config_management}}
|
|
214
|
+
- id: risk-assessment
|
|
215
|
+
title: 风险评估和缓解
|
|
216
|
+
instruction: |
|
|
217
|
+
如果 document-project 输出可用:
|
|
218
|
+
- 参考"技术债务和已知问题"部分
|
|
219
|
+
- 包含可能影响增强的"变通方法和陷阱"
|
|
220
|
+
- 注意"关键技术债务"中识别的任何约束
|
|
221
|
+
|
|
222
|
+
构建包含现有已知问题的风险评估:
|
|
223
|
+
template: |
|
|
224
|
+
**技术风险**:{{technical_risks}}
|
|
225
|
+
**集成风险**:{{integration_risks}}
|
|
226
|
+
**部署风险**:{{deployment_risks}}
|
|
227
|
+
**缓解策略**:{{mitigation_strategies}}
|
|
228
|
+
|
|
229
|
+
- id: epic-structure
|
|
230
|
+
title: Epic 和 Story 结构
|
|
231
|
+
instruction: |
|
|
232
|
+
对于现有项目,倾向于单个综合 epic,除非用户明确要求多个不相关的增强。在展示 epic 结构之前,确认:"基于我对你现有项目的分析,我认为这个增强应该结构化为 [单个 epic/多个 epic],因为 [基于实际项目分析的理由]。这与你对所需工作的理解一致吗?"
|
|
233
|
+
elicit: true
|
|
234
|
+
sections:
|
|
235
|
+
- id: epic-approach
|
|
236
|
+
title: Epic 方法
|
|
237
|
+
instruction: 解释 epic 结构的理由 - 通常现有项目用单个 epic,除非有多个不相关的功能
|
|
238
|
+
template: '**Epic 结构决策**:{{epic_decision}} 及理由'
|
|
239
|
+
|
|
240
|
+
- id: epic-details
|
|
241
|
+
title: 'Epic 1: {{enhancement_title}}'
|
|
242
|
+
instruction: |
|
|
243
|
+
在保持现有功能的同时交付现有项目增强的综合 epic
|
|
244
|
+
|
|
245
|
+
现有项目的关键 Story 排序:
|
|
246
|
+
- Story 必须确保现有功能保持完整
|
|
247
|
+
- 每个 story 应该包含验证现有功能仍然有效的步骤
|
|
248
|
+
- Story 应该排序以最小化对现有系统的风险
|
|
249
|
+
- 为每个 story 包含回滚考虑
|
|
250
|
+
- 专注于增量集成而不是大爆炸式变更
|
|
251
|
+
- 为现有代码库上下文中的 AI 代理执行调整 story 大小
|
|
252
|
+
- 必须:展示完整的 story 序列并问:"这个 story 序列旨在最小化对你现有系统的风险。考虑到你项目的架构和约束,这个顺序合理吗?"
|
|
253
|
+
- Story 必须是逻辑顺序的,明确识别依赖关系
|
|
254
|
+
- 每个 story 必须在保持系统完整性的同时交付价值
|
|
255
|
+
template: |
|
|
256
|
+
**Epic 目标**:{{epic_goal}}
|
|
257
|
+
|
|
258
|
+
**集成需求**:{{integration_requirements}}
|
|
259
|
+
sections:
|
|
260
|
+
- id: story
|
|
261
|
+
title: 'Story 1.{{story_number}} {{story_title}}'
|
|
262
|
+
repeatable: true
|
|
263
|
+
template: |
|
|
264
|
+
作为 {{user_type}},
|
|
265
|
+
我希望 {{action}},
|
|
266
|
+
以便 {{benefit}}。
|
|
267
|
+
sections:
|
|
268
|
+
- id: acceptance-criteria
|
|
269
|
+
title: 验收标准
|
|
270
|
+
type: numbered-list
|
|
271
|
+
instruction: 定义包含新功能和现有系统完整性的标准
|
|
272
|
+
item_template: '{{criterion_number}}: {{criteria}}'
|
|
273
|
+
- id: integration-verification
|
|
274
|
+
title: 集成验证
|
|
275
|
+
instruction: 确保现有功能保持完整的特定验证步骤
|
|
276
|
+
type: numbered-list
|
|
277
|
+
prefix: IV
|
|
278
|
+
items:
|
|
279
|
+
- template: 'IV1: {{existing_functionality_verification}}'
|
|
280
|
+
- template: 'IV2: {{integration_point_verification}}'
|
|
281
|
+
- template: 'IV3: {{performance_impact_verification}}'
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
template:
|
|
3
|
+
id: competitor-analysis-template-v2
|
|
4
|
+
name: Competitive Analysis Report
|
|
5
|
+
version: 2.0
|
|
6
|
+
output:
|
|
7
|
+
format: markdown
|
|
8
|
+
filename: docs/competitor-analysis.md
|
|
9
|
+
title: 'Competitive Analysis Report: {{project_product_name}}'
|
|
10
|
+
|
|
11
|
+
workflow:
|
|
12
|
+
mode: interactive
|
|
13
|
+
elicitation: advanced-elicitation
|
|
14
|
+
custom_elicitation:
|
|
15
|
+
title: 'Competitive Analysis Elicitation Actions'
|
|
16
|
+
options:
|
|
17
|
+
- "Deep dive on a specific competitor's strategy"
|
|
18
|
+
- 'Analyze competitive dynamics in a specific segment'
|
|
19
|
+
- 'War game competitive responses to your moves'
|
|
20
|
+
- 'Explore partnership vs. competition scenarios'
|
|
21
|
+
- 'Stress test differentiation claims'
|
|
22
|
+
- 'Analyze disruption potential (yours or theirs)'
|
|
23
|
+
- 'Compare to competition in adjacent markets'
|
|
24
|
+
- 'Generate win/loss analysis insights'
|
|
25
|
+
- "If only we had known about [competitor X's plan]..."
|
|
26
|
+
- 'Proceed to next section'
|
|
27
|
+
|
|
28
|
+
sections:
|
|
29
|
+
- id: executive-summary
|
|
30
|
+
title: Executive Summary
|
|
31
|
+
instruction: Provide high-level competitive insights, main threats and opportunities, and recommended strategic actions. Write this section LAST after completing all analysis.
|
|
32
|
+
|
|
33
|
+
- id: analysis-scope
|
|
34
|
+
title: Analysis Scope & Methodology
|
|
35
|
+
instruction: This template guides comprehensive competitor analysis. Start by understanding the user's competitive intelligence needs and strategic objectives. Help them identify and prioritize competitors before diving into detailed analysis.
|
|
36
|
+
sections:
|
|
37
|
+
- id: analysis-purpose
|
|
38
|
+
title: Analysis Purpose
|
|
39
|
+
instruction: |
|
|
40
|
+
Define the primary purpose:
|
|
41
|
+
- New market entry assessment
|
|
42
|
+
- Product positioning strategy
|
|
43
|
+
- Feature gap analysis
|
|
44
|
+
- Pricing strategy development
|
|
45
|
+
- Partnership/acquisition targets
|
|
46
|
+
- Competitive threat assessment
|
|
47
|
+
- id: competitor-categories
|
|
48
|
+
title: Competitor Categories Analyzed
|
|
49
|
+
instruction: |
|
|
50
|
+
List categories included:
|
|
51
|
+
- Direct Competitors: Same product/service, same target market
|
|
52
|
+
- Indirect Competitors: Different product, same need/problem
|
|
53
|
+
- Potential Competitors: Could enter market easily
|
|
54
|
+
- Substitute Products: Alternative solutions
|
|
55
|
+
- Aspirational Competitors: Best-in-class examples
|
|
56
|
+
- id: research-methodology
|
|
57
|
+
title: Research Methodology
|
|
58
|
+
instruction: |
|
|
59
|
+
Describe approach:
|
|
60
|
+
- Information sources used
|
|
61
|
+
- Analysis timeframe
|
|
62
|
+
- Confidence levels
|
|
63
|
+
- Limitations
|
|
64
|
+
|
|
65
|
+
- id: competitive-landscape
|
|
66
|
+
title: Competitive Landscape Overview
|
|
67
|
+
sections:
|
|
68
|
+
- id: market-structure
|
|
69
|
+
title: Market Structure
|
|
70
|
+
instruction: |
|
|
71
|
+
Describe the competitive environment:
|
|
72
|
+
- Number of active competitors
|
|
73
|
+
- Market concentration (fragmented/consolidated)
|
|
74
|
+
- Competitive dynamics
|
|
75
|
+
- Recent market entries/exits
|
|
76
|
+
- id: prioritization-matrix
|
|
77
|
+
title: Competitor Prioritization Matrix
|
|
78
|
+
instruction: |
|
|
79
|
+
Help categorize competitors by market share and strategic threat level
|
|
80
|
+
|
|
81
|
+
Create a 2x2 matrix:
|
|
82
|
+
- Priority 1 (Core Competitors): High Market Share + High Threat
|
|
83
|
+
- Priority 2 (Emerging Threats): Low Market Share + High Threat
|
|
84
|
+
- Priority 3 (Established Players): High Market Share + Low Threat
|
|
85
|
+
- Priority 4 (Monitor Only): Low Market Share + Low Threat
|
|
86
|
+
|
|
87
|
+
- id: competitor-profiles
|
|
88
|
+
title: Individual Competitor Profiles
|
|
89
|
+
instruction: Create detailed profiles for each Priority 1 and Priority 2 competitor. For Priority 3 and 4, create condensed profiles.
|
|
90
|
+
repeatable: true
|
|
91
|
+
sections:
|
|
92
|
+
- id: competitor
|
|
93
|
+
title: '{{competitor_name}} - Priority {{priority_level}}'
|
|
94
|
+
sections:
|
|
95
|
+
- id: company-overview
|
|
96
|
+
title: Company Overview
|
|
97
|
+
template: |
|
|
98
|
+
- **Founded:** {{year_founders}}
|
|
99
|
+
- **Headquarters:** {{location}}
|
|
100
|
+
- **Company Size:** {{employees_revenue}}
|
|
101
|
+
- **Funding:** {{total_raised_investors}}
|
|
102
|
+
- **Leadership:** {{key_executives}}
|
|
103
|
+
- id: business-model
|
|
104
|
+
title: Business Model & Strategy
|
|
105
|
+
template: |
|
|
106
|
+
- **Revenue Model:** {{revenue_model}}
|
|
107
|
+
- **Target Market:** {{customer_segments}}
|
|
108
|
+
- **Value Proposition:** {{value_promise}}
|
|
109
|
+
- **Go-to-Market Strategy:** {{gtm_approach}}
|
|
110
|
+
- **Strategic Focus:** {{current_priorities}}
|
|
111
|
+
- id: product-analysis
|
|
112
|
+
title: Product/Service Analysis
|
|
113
|
+
template: |
|
|
114
|
+
- **Core Offerings:** {{main_products}}
|
|
115
|
+
- **Key Features:** {{standout_capabilities}}
|
|
116
|
+
- **User Experience:** {{ux_assessment}}
|
|
117
|
+
- **Technology Stack:** {{tech_stack}}
|
|
118
|
+
- **Pricing:** {{pricing_model}}
|
|
119
|
+
- id: strengths-weaknesses
|
|
120
|
+
title: Strengths & Weaknesses
|
|
121
|
+
sections:
|
|
122
|
+
- id: strengths
|
|
123
|
+
title: Strengths
|
|
124
|
+
type: bullet-list
|
|
125
|
+
template: '- {{strength}}'
|
|
126
|
+
- id: weaknesses
|
|
127
|
+
title: Weaknesses
|
|
128
|
+
type: bullet-list
|
|
129
|
+
template: '- {{weakness}}'
|
|
130
|
+
- id: market-position
|
|
131
|
+
title: Market Position & Performance
|
|
132
|
+
template: |
|
|
133
|
+
- **Market Share:** {{market_share_estimate}}
|
|
134
|
+
- **Customer Base:** {{customer_size_notables}}
|
|
135
|
+
- **Growth Trajectory:** {{growth_trend}}
|
|
136
|
+
- **Recent Developments:** {{key_news}}
|
|
137
|
+
|
|
138
|
+
- id: comparative-analysis
|
|
139
|
+
title: Comparative Analysis
|
|
140
|
+
sections:
|
|
141
|
+
- id: feature-comparison
|
|
142
|
+
title: Feature Comparison Matrix
|
|
143
|
+
instruction: Create a detailed comparison table of key features across competitors
|
|
144
|
+
type: table
|
|
145
|
+
columns:
|
|
146
|
+
[
|
|
147
|
+
'Feature Category',
|
|
148
|
+
'{{your_company}}',
|
|
149
|
+
'{{competitor_1}}',
|
|
150
|
+
'{{competitor_2}}',
|
|
151
|
+
'{{competitor_3}}',
|
|
152
|
+
]
|
|
153
|
+
rows:
|
|
154
|
+
- category: 'Core Functionality'
|
|
155
|
+
items:
|
|
156
|
+
- [
|
|
157
|
+
'Feature A',
|
|
158
|
+
'{{status}}',
|
|
159
|
+
'{{status}}',
|
|
160
|
+
'{{status}}',
|
|
161
|
+
'{{status}}',
|
|
162
|
+
]
|
|
163
|
+
- [
|
|
164
|
+
'Feature B',
|
|
165
|
+
'{{status}}',
|
|
166
|
+
'{{status}}',
|
|
167
|
+
'{{status}}',
|
|
168
|
+
'{{status}}',
|
|
169
|
+
]
|
|
170
|
+
- category: 'User Experience'
|
|
171
|
+
items:
|
|
172
|
+
- [
|
|
173
|
+
'Mobile App',
|
|
174
|
+
'{{rating}}',
|
|
175
|
+
'{{rating}}',
|
|
176
|
+
'{{rating}}',
|
|
177
|
+
'{{rating}}',
|
|
178
|
+
]
|
|
179
|
+
- [
|
|
180
|
+
'Onboarding Time',
|
|
181
|
+
'{{time}}',
|
|
182
|
+
'{{time}}',
|
|
183
|
+
'{{time}}',
|
|
184
|
+
'{{time}}',
|
|
185
|
+
]
|
|
186
|
+
- category: 'Integration & Ecosystem'
|
|
187
|
+
items:
|
|
188
|
+
- [
|
|
189
|
+
'API Availability',
|
|
190
|
+
'{{availability}}',
|
|
191
|
+
'{{availability}}',
|
|
192
|
+
'{{availability}}',
|
|
193
|
+
'{{availability}}',
|
|
194
|
+
]
|
|
195
|
+
- [
|
|
196
|
+
'Third-party Integrations',
|
|
197
|
+
'{{number}}',
|
|
198
|
+
'{{number}}',
|
|
199
|
+
'{{number}}',
|
|
200
|
+
'{{number}}',
|
|
201
|
+
]
|
|
202
|
+
- category: 'Pricing & Plans'
|
|
203
|
+
items:
|
|
204
|
+
- [
|
|
205
|
+
'Starting Price',
|
|
206
|
+
'{{price}}',
|
|
207
|
+
'{{price}}',
|
|
208
|
+
'{{price}}',
|
|
209
|
+
'{{price}}',
|
|
210
|
+
]
|
|
211
|
+
- [
|
|
212
|
+
'Free Tier',
|
|
213
|
+
'{{yes_no}}',
|
|
214
|
+
'{{yes_no}}',
|
|
215
|
+
'{{yes_no}}',
|
|
216
|
+
'{{yes_no}}',
|
|
217
|
+
]
|
|
218
|
+
- id: swot-comparison
|
|
219
|
+
title: SWOT Comparison
|
|
220
|
+
instruction: Create SWOT analysis for your solution vs. top competitors
|
|
221
|
+
sections:
|
|
222
|
+
- id: your-solution
|
|
223
|
+
title: Your Solution
|
|
224
|
+
template: |
|
|
225
|
+
- **Strengths:** {{strengths}}
|
|
226
|
+
- **Weaknesses:** {{weaknesses}}
|
|
227
|
+
- **Opportunities:** {{opportunities}}
|
|
228
|
+
- **Threats:** {{threats}}
|
|
229
|
+
- id: vs-competitor
|
|
230
|
+
title: 'vs. {{main_competitor}}'
|
|
231
|
+
template: |
|
|
232
|
+
- **Competitive Advantages:** {{your_advantages}}
|
|
233
|
+
- **Competitive Disadvantages:** {{their_advantages}}
|
|
234
|
+
- **Differentiation Opportunities:** {{differentiation}}
|
|
235
|
+
- id: positioning-map
|
|
236
|
+
title: Positioning Map
|
|
237
|
+
instruction: |
|
|
238
|
+
Describe competitor positions on key dimensions
|
|
239
|
+
|
|
240
|
+
Create a positioning description using 2 key dimensions relevant to the market, such as:
|
|
241
|
+
- Price vs. Features
|
|
242
|
+
- Ease of Use vs. Power
|
|
243
|
+
- Specialization vs. Breadth
|
|
244
|
+
- Self-Serve vs. High-Touch
|
|
245
|
+
|
|
246
|
+
- id: strategic-analysis
|
|
247
|
+
title: Strategic Analysis
|
|
248
|
+
sections:
|
|
249
|
+
- id: competitive-advantages
|
|
250
|
+
title: Competitive Advantages Assessment
|
|
251
|
+
sections:
|
|
252
|
+
- id: sustainable-advantages
|
|
253
|
+
title: Sustainable Advantages
|
|
254
|
+
instruction: |
|
|
255
|
+
Identify moats and defensible positions:
|
|
256
|
+
- Network effects
|
|
257
|
+
- Switching costs
|
|
258
|
+
- Brand strength
|
|
259
|
+
- Technology barriers
|
|
260
|
+
- Regulatory advantages
|
|
261
|
+
- id: vulnerable-points
|
|
262
|
+
title: Vulnerable Points
|
|
263
|
+
instruction: |
|
|
264
|
+
Where competitors could be challenged:
|
|
265
|
+
- Weak customer segments
|
|
266
|
+
- Missing features
|
|
267
|
+
- Poor user experience
|
|
268
|
+
- High prices
|
|
269
|
+
- Limited geographic presence
|
|
270
|
+
- id: blue-ocean
|
|
271
|
+
title: Blue Ocean Opportunities
|
|
272
|
+
instruction: |
|
|
273
|
+
Identify uncontested market spaces
|
|
274
|
+
|
|
275
|
+
List opportunities to create new market space:
|
|
276
|
+
- Underserved segments
|
|
277
|
+
- Unaddressed use cases
|
|
278
|
+
- New business models
|
|
279
|
+
- Geographic expansion
|
|
280
|
+
- Different value propositions
|
|
281
|
+
|
|
282
|
+
- id: strategic-recommendations
|
|
283
|
+
title: Strategic Recommendations
|
|
284
|
+
sections:
|
|
285
|
+
- id: differentiation-strategy
|
|
286
|
+
title: Differentiation Strategy
|
|
287
|
+
instruction: |
|
|
288
|
+
How to position against competitors:
|
|
289
|
+
- Unique value propositions to emphasize
|
|
290
|
+
- Features to prioritize
|
|
291
|
+
- Segments to target
|
|
292
|
+
- Messaging and positioning
|
|
293
|
+
- id: competitive-response
|
|
294
|
+
title: Competitive Response Planning
|
|
295
|
+
sections:
|
|
296
|
+
- id: offensive-strategies
|
|
297
|
+
title: Offensive Strategies
|
|
298
|
+
instruction: |
|
|
299
|
+
How to gain market share:
|
|
300
|
+
- Target competitor weaknesses
|
|
301
|
+
- Win competitive deals
|
|
302
|
+
- Capture their customers
|
|
303
|
+
- id: defensive-strategies
|
|
304
|
+
title: Defensive Strategies
|
|
305
|
+
instruction: |
|
|
306
|
+
How to protect your position:
|
|
307
|
+
- Strengthen vulnerable areas
|
|
308
|
+
- Build switching costs
|
|
309
|
+
- Deepen customer relationships
|
|
310
|
+
- id: partnership-ecosystem
|
|
311
|
+
title: Partnership & Ecosystem Strategy
|
|
312
|
+
instruction: |
|
|
313
|
+
Potential collaboration opportunities:
|
|
314
|
+
- Complementary players
|
|
315
|
+
- Channel partners
|
|
316
|
+
- Technology integrations
|
|
317
|
+
- Strategic alliances
|
|
318
|
+
|
|
319
|
+
- id: monitoring-plan
|
|
320
|
+
title: Monitoring & Intelligence Plan
|
|
321
|
+
sections:
|
|
322
|
+
- id: key-competitors
|
|
323
|
+
title: Key Competitors to Track
|
|
324
|
+
instruction: Priority list with rationale
|
|
325
|
+
- id: monitoring-metrics
|
|
326
|
+
title: Monitoring Metrics
|
|
327
|
+
instruction: |
|
|
328
|
+
What to track:
|
|
329
|
+
- Product updates
|
|
330
|
+
- Pricing changes
|
|
331
|
+
- Customer wins/losses
|
|
332
|
+
- Funding/M&A activity
|
|
333
|
+
- Market messaging
|
|
334
|
+
- id: intelligence-sources
|
|
335
|
+
title: Intelligence Sources
|
|
336
|
+
instruction: |
|
|
337
|
+
Where to gather ongoing intelligence:
|
|
338
|
+
- Company websites/blogs
|
|
339
|
+
- Customer reviews
|
|
340
|
+
- Industry reports
|
|
341
|
+
- Social media
|
|
342
|
+
- Patent filings
|
|
343
|
+
- id: update-cadence
|
|
344
|
+
title: Update Cadence
|
|
345
|
+
instruction: |
|
|
346
|
+
Recommended review schedule:
|
|
347
|
+
- Weekly: {{weekly_items}}
|
|
348
|
+
- Monthly: {{monthly_items}}
|
|
349
|
+
- Quarterly: {{quarterly_analysis}}
|