universal-dev-standards 5.14.0 → 5.16.0
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/bin/uds.js +2 -0
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +31 -0
- package/bundled/ai/standards/ai-instruction-standards.ai.yaml +190 -3
- package/bundled/ai/standards/forward-derivation-standards.ai.yaml +23 -0
- package/bundled/ai/standards/knowledge-graph-memory.ai.yaml +83 -0
- package/bundled/core/acceptance-criteria-traceability.md +46 -0
- package/bundled/core/ai-instruction-standards.md +136 -11
- package/bundled/core/forward-derivation-standards.md +19 -0
- package/bundled/core/knowledge-graph-memory.md +119 -0
- package/bundled/locales/COVERAGE.md +226 -0
- package/bundled/locales/zh-CN/CHANGELOG.md +42 -3
- package/bundled/locales/zh-CN/README.md +1 -1
- package/bundled/locales/zh-CN/SECURITY.md +1 -1
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +46 -0
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +111 -5
- package/bundled/locales/zh-CN/core/forward-derivation-standards.md +19 -0
- package/bundled/locales/zh-CN/skills/ac-coverage/SKILL.md +194 -0
- package/bundled/locales/zh-CN/skills/adr-assistant/SKILL.md +135 -40
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +217 -63
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/guide.md +599 -0
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +92 -25
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +78 -16
- package/bundled/locales/zh-CN/skills/contract-test-assistant/SKILL.md +85 -26
- package/bundled/locales/zh-CN/skills/deploy-assistant/SKILL.md +189 -0
- package/bundled/locales/zh-CN/skills/dev-methodology/SKILL.md +110 -0
- package/bundled/locales/zh-CN/skills/dev-methodology/guide.md +255 -0
- package/bundled/locales/zh-CN/skills/dev-workflow-guide/SKILL.md +70 -11
- package/bundled/locales/zh-CN/skills/journey-test-assistant/SKILL.md +209 -0
- package/bundled/locales/zh-CN/skills/knowledge-graph/SKILL.md +58 -0
- package/bundled/locales/zh-CN/skills/knowledge-graph/guide.md +74 -0
- package/bundled/locales/zh-CN/skills/migration-assistant/SKILL.md +125 -8
- package/bundled/locales/zh-CN/skills/observability-assistant/guide.md +188 -0
- package/bundled/locales/zh-CN/skills/orchestrate/SKILL.md +173 -0
- package/bundled/locales/zh-CN/skills/plan/SKILL.md +240 -0
- package/bundled/locales/zh-CN/skills/push/SKILL.md +242 -0
- package/bundled/locales/zh-CN/skills/retrospective-assistant/SKILL.md +104 -36
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +88 -32
- package/bundled/locales/zh-CN/skills/runbook-assistant/guide.md +216 -0
- package/bundled/locales/zh-CN/skills/skill-builder/SKILL.md +149 -0
- package/bundled/locales/zh-CN/skills/slo-assistant/guide.md +188 -0
- package/bundled/locales/zh-CN/skills/spec-derivation/SKILL.md +86 -0
- package/bundled/locales/zh-CN/skills/spec-derivation/guide.md +476 -0
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +155 -81
- package/bundled/locales/zh-CN/skills/sweep/SKILL.md +151 -0
- package/bundled/locales/zh-CN/skills/testing-guide/SKILL.md +207 -110
- package/bundled/locales/zh-TW/CHANGELOG.md +46 -3
- package/bundled/locales/zh-TW/README.md +1 -1
- package/bundled/locales/zh-TW/SECURITY.md +1 -1
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +46 -0
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +130 -5
- package/bundled/locales/zh-TW/core/browser-compatibility-standards.md +222 -5
- package/bundled/locales/zh-TW/core/contract-testing-standards.md +184 -5
- package/bundled/locales/zh-TW/core/cross-flow-regression.md +192 -5
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +19 -0
- package/bundled/locales/zh-TW/core/knowledge-graph-memory.md +127 -0
- package/bundled/locales/zh-TW/core/release-readiness-gate.md +186 -5
- package/bundled/locales/zh-TW/core/self-review-protocol.md +9 -1
- package/bundled/locales/zh-TW/skills/ac-coverage/SKILL.md +192 -0
- package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +21 -42
- package/bundled/locales/zh-TW/skills/ai-collaboration-standards/SKILL.md +5 -1
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +212 -59
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +266 -579
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +91 -26
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +77 -15
- package/bundled/locales/zh-TW/skills/contract-test-assistant/SKILL.md +75 -16
- package/bundled/locales/zh-TW/skills/deploy-assistant/SKILL.md +187 -0
- package/bundled/locales/zh-TW/skills/dev-methodology/SKILL.md +108 -0
- package/bundled/locales/zh-TW/skills/dev-methodology/guide.md +255 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +125 -64
- package/bundled/locales/zh-TW/skills/journey-test-assistant/SKILL.md +222 -0
- package/bundled/locales/zh-TW/skills/knowledge-graph/SKILL.md +56 -0
- package/bundled/locales/zh-TW/skills/knowledge-graph/guide.md +74 -0
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +128 -11
- package/bundled/locales/zh-TW/skills/observability-assistant/guide.md +188 -0
- package/bundled/locales/zh-TW/skills/orchestrate/SKILL.md +173 -0
- package/bundled/locales/zh-TW/skills/plan/SKILL.md +240 -0
- package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +5 -1
- package/bundled/locales/zh-TW/skills/push/SKILL.md +242 -0
- package/bundled/locales/zh-TW/skills/retrospective-assistant/SKILL.md +94 -28
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +84 -28
- package/bundled/locales/zh-TW/skills/runbook-assistant/guide.md +216 -0
- package/bundled/locales/zh-TW/skills/skill-builder/SKILL.md +165 -0
- package/bundled/locales/zh-TW/skills/slo-assistant/guide.md +188 -0
- package/bundled/locales/zh-TW/skills/spec-derivation/SKILL.md +83 -0
- package/bundled/locales/zh-TW/skills/spec-derivation/guide.md +476 -0
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +148 -77
- package/bundled/locales/zh-TW/skills/sweep/SKILL.md +149 -0
- package/bundled/locales/zh-TW/skills/testing-guide/SKILL.md +141 -44
- package/bundled/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/skills/ai-collaboration-standards/SKILL.md +1 -1
- package/bundled/skills/ai-friendly-architecture/SKILL.md +1 -1
- package/bundled/skills/ai-instruction-standards/SKILL.md +1 -1
- package/bundled/skills/api-design-assistant/SKILL.md +1 -1
- package/bundled/skills/audit-assistant/SKILL.md +1 -1
- package/bundled/skills/brainstorm-assistant/SKILL.md +142 -106
- package/bundled/skills/brainstorm-assistant/guide.md +256 -661
- package/bundled/skills/ci-cd-assistant/SKILL.md +1 -1
- package/bundled/skills/commands/brainstorm.md +51 -30
- package/bundled/skills/contract-test-assistant/SKILL.md +1 -1
- package/bundled/skills/database-assistant/SKILL.md +1 -1
- package/bundled/skills/deploy-assistant/SKILL.md +1 -1
- package/bundled/skills/documentation-guide/SKILL.md +1 -1
- package/bundled/skills/error-code-guide/SKILL.md +1 -1
- package/bundled/skills/git-workflow-guide/SKILL.md +1 -1
- package/bundled/skills/incident-response-assistant/SKILL.md +1 -1
- package/bundled/skills/journey-test-assistant/SKILL.md +1 -1
- package/bundled/skills/knowledge-graph/SKILL.md +58 -0
- package/bundled/skills/knowledge-graph/guide.md +69 -0
- package/bundled/skills/logging-guide/SKILL.md +1 -1
- package/bundled/skills/observability-assistant/SKILL.md +1 -1
- package/bundled/skills/orchestrate/SKILL.md +1 -1
- package/bundled/skills/plan/SKILL.md +1 -1
- package/bundled/skills/pr-automation-assistant/SKILL.md +1 -1
- package/bundled/skills/project-structure-guide/SKILL.md +1 -1
- package/bundled/skills/push/SKILL.md +1 -1
- package/bundled/skills/retrospective-assistant/SKILL.md +1 -1
- package/bundled/skills/reverse-engineer/SKILL.md +1 -1
- package/bundled/skills/runbook-assistant/SKILL.md +1 -1
- package/bundled/skills/security-assistant/SKILL.md +1 -1
- package/bundled/skills/security-scan-assistant/SKILL.md +1 -1
- package/bundled/skills/slo-assistant/SKILL.md +1 -1
- package/bundled/skills/sweep/SKILL.md +1 -1
- package/bundled/skills/testing-guide/SKILL.md +1 -1
- package/package.json +2 -2
- package/src/commands/check.js +80 -0
- package/src/commands/init.js +8 -1
- package/src/commands/update.js +49 -14
- package/src/i18n/messages.js +32 -5
- package/src/installers/skills-installer.js +49 -0
- package/src/lint/i18n.js +424 -0
- package/src/utils/config-manager.js +39 -0
- package/src/utils/skills-installer.js +39 -7
- package/standards-registry.json +16 -4
- package/bundled/locales/zh-TW/docs/SKILL-FALLBACK-GUIDE.md +0 -407
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ac-coverage
|
|
3
|
+
source: ../../../../skills/ac-coverage/SKILL.md
|
|
4
|
+
source_version: 1.0.0
|
|
5
|
+
translation_version: 1.0.0
|
|
6
|
+
last_synced: 2026-05-28
|
|
7
|
+
scope: universal
|
|
8
|
+
description: "[UDS] 分析驗收條件(AC)與測試之間的追蹤關係並產生覆蓋率報告"
|
|
9
|
+
allowed-tools: Read, Grep, Glob
|
|
10
|
+
argument-hint: "[規格檔案路徑]"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# AC 覆蓋率助手
|
|
14
|
+
|
|
15
|
+
> **語言**: [English](../../../../skills/ac-coverage/SKILL.md) | 繁體中文
|
|
16
|
+
|
|
17
|
+
分析驗收條件(AC)與測試之間的追蹤關係,並產生覆蓋率報告。
|
|
18
|
+
|
|
19
|
+
## 與 `/coverage` 的差異
|
|
20
|
+
|
|
21
|
+
| 面向 | `/coverage` | `/ac-coverage` |
|
|
22
|
+
|------|-------------|----------------|
|
|
23
|
+
| **範圍** | 程式碼層級(行數/分支/函式) | 需求層級(AC 對應測試) |
|
|
24
|
+
| **輸入** | 原始碼 + 測試執行器 | SPEC 檔案 + 測試標註 |
|
|
25
|
+
| **問題** | 「程式碼測試了多少?」 | 「哪些 AC 有測試?」 |
|
|
26
|
+
| **輸出** | 覆蓋率百分比 | 追溯矩陣 + 缺口報告 |
|
|
27
|
+
|
|
28
|
+
## 工作流程
|
|
29
|
+
|
|
30
|
+
1. **解析 SPEC** — 從規格檔案抽取 AC 定義(AC-1, AC-2, ...)
|
|
31
|
+
2. **掃描測試** — 依標準連結慣例搜尋測試檔中的 `@AC` 與 `@SPEC` 標註
|
|
32
|
+
3. **建立矩陣** — 將每個 AC 對應到其測試引用(檔案、測試名稱、行號)
|
|
33
|
+
4. **分類狀態** — 將每個 AC 標記為 ✅ 已覆蓋、⚠️ 部分覆蓋、或 ❌ 未覆蓋
|
|
34
|
+
5. **計算覆蓋率** — 套用公式:`覆蓋率 % = (已覆蓋 + 部分覆蓋 × 0.5) / 總數 × 100`
|
|
35
|
+
6. **產生報告** — 輸出標準化的 Markdown 報告
|
|
36
|
+
|
|
37
|
+
## 連結標註慣例
|
|
38
|
+
|
|
39
|
+
測試**必須**使用標準標註引用其來源 AC:
|
|
40
|
+
|
|
41
|
+
```typescript
|
|
42
|
+
// TypeScript / JavaScript
|
|
43
|
+
describe('AC-1: 使用者以有效憑證登入', () => {
|
|
44
|
+
// @AC AC-1
|
|
45
|
+
// @SPEC SPEC-001
|
|
46
|
+
it('登入成功後應導向儀表板', () => { ... });
|
|
47
|
+
});
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
# Python
|
|
52
|
+
class TestAC1_UserLogin:
|
|
53
|
+
"""AC-1: 使用者以有效憑證登入
|
|
54
|
+
@AC AC-1
|
|
55
|
+
@SPEC SPEC-001
|
|
56
|
+
"""
|
|
57
|
+
def test_redirect_to_dashboard(self): ...
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
```gherkin
|
|
61
|
+
# BDD Feature
|
|
62
|
+
@SPEC-001 @AC-1
|
|
63
|
+
Scenario: 使用者以有效憑證登入
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## 覆蓋率門檻
|
|
67
|
+
|
|
68
|
+
| 門檻 | 預設值 | 強制等級 |
|
|
69
|
+
|------|--------|----------|
|
|
70
|
+
| **簽入(Check-in)** | 80% | feature branch 合併必要條件 |
|
|
71
|
+
| **發布(Release)** | 100% | 正式環境發布必要條件 |
|
|
72
|
+
| **警告(Warning)** | 60% | 觸發覆蓋率警告 |
|
|
73
|
+
|
|
74
|
+
門檻可透過 `--threshold` 參數或專案設定檔調整。
|
|
75
|
+
|
|
76
|
+
## 四層追溯(`--full` 模式)
|
|
77
|
+
|
|
78
|
+
使用 `--full` 標記將追溯從 2 層(AC→Test)擴展為 4 層。
|
|
79
|
+
|
|
80
|
+
### 追溯層次
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
Layer 0:需求 / 使用者故事 (REQ)
|
|
84
|
+
↓ (定義)
|
|
85
|
+
Layer 1:驗收條件 (AC)
|
|
86
|
+
↓ (@AC 標註)
|
|
87
|
+
Layer 2:測試案例
|
|
88
|
+
↓ (覆蓋)
|
|
89
|
+
Layer 3:原始碼 (@implements)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 各層標註慣例
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
// Layer 3→1:程式碼引用 AC
|
|
96
|
+
// @implements AC-1, AC-2
|
|
97
|
+
function authenticate(user: string, pass: string) { ... }
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
```markdown
|
|
101
|
+
<!-- Layer 0→1:SPEC 中的需求 -->
|
|
102
|
+
## Requirements
|
|
103
|
+
### REQ-1:使用者驗證
|
|
104
|
+
- AC-1: 給定有效憑證,當登入時,則驗證通過
|
|
105
|
+
- AC-2: 給定無效憑證,當登入時,則被拒絕
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 完整追溯報告
|
|
109
|
+
|
|
110
|
+
```markdown
|
|
111
|
+
## 四層追溯矩陣
|
|
112
|
+
|
|
113
|
+
| 需求 | AC | 測試 | 程式碼 | 狀態 |
|
|
114
|
+
|------|-----|------|--------|------|
|
|
115
|
+
| REQ-1 | AC-1 | auth.test.ts:15 | auth.ts:42 | ✅ 完整 |
|
|
116
|
+
| REQ-1 | AC-2 | auth.test.ts:30 | auth.ts:58 | ✅ 完整 |
|
|
117
|
+
| REQ-2 | AC-3 | — | dashboard.ts:10 | ⚠️ 缺測試 |
|
|
118
|
+
| REQ-3 | AC-4 | export.test.ts:5 | — | ⚠️ 缺程式碼 |
|
|
119
|
+
|
|
120
|
+
### 缺口摘要
|
|
121
|
+
- Layer 0→1: 2 個需求未對應 AC
|
|
122
|
+
- Layer 1→2: 1 個 AC 未對應測試
|
|
123
|
+
- Layer 2→3: 0 個測試未對應程式碼
|
|
124
|
+
- Layer 3→1: 3 個程式碼檔案未對應 AC
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### 反向追溯
|
|
128
|
+
|
|
129
|
+
使用 `--trace-code <path>` 從程式碼反向追溯到需求。
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
/ac-coverage --trace-code src/auth.ts
|
|
133
|
+
# 輸出:
|
|
134
|
+
# src/auth.ts:42 → @implements AC-1 → REQ-1 (SPEC-AUTH-001)
|
|
135
|
+
# src/auth.ts:58 → @implements AC-2 → REQ-1 (SPEC-AUTH-001)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## 報告格式
|
|
139
|
+
|
|
140
|
+
產生的報告遵循 `core/acceptance-criteria-traceability.md` 的標準格式:
|
|
141
|
+
|
|
142
|
+
```markdown
|
|
143
|
+
# AC 覆蓋率報告
|
|
144
|
+
|
|
145
|
+
**規格**: SPEC-001 — 功能名稱
|
|
146
|
+
**產生時間**: 2026-03-18
|
|
147
|
+
**覆蓋率**: 75% (6/8 AC)
|
|
148
|
+
|
|
149
|
+
## 摘要
|
|
150
|
+
|
|
151
|
+
| 狀態 | 數量 | 百分比 |
|
|
152
|
+
|------|------|--------|
|
|
153
|
+
| ✅ 已覆蓋 | 5 | 62.5% |
|
|
154
|
+
| ⚠️ 部分覆蓋 | 2 | 25.0% |
|
|
155
|
+
| ❌ 未覆蓋 | 1 | 12.5% |
|
|
156
|
+
|
|
157
|
+
## 追溯矩陣
|
|
158
|
+
|
|
159
|
+
| AC-ID | 描述 | 狀態 | 測試引用 |
|
|
160
|
+
|-------|------|------|----------|
|
|
161
|
+
| AC-1 | 以有效憑證登入 | ✅ | auth.test.ts:15 |
|
|
162
|
+
| AC-2 | 拒絕無效憑證 | ✅ | auth.test.ts:32 |
|
|
163
|
+
| ... | ... | ... | ... |
|
|
164
|
+
|
|
165
|
+
## 缺口
|
|
166
|
+
- **AC-8**: 社群登入 — 因 OAuth sandbox 未就緒受阻
|
|
167
|
+
|
|
168
|
+
## 行動項目
|
|
169
|
+
1. [ ] AC-8:設定 OAuth sandbox(預計時程:待定)
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## 下一步引導
|
|
173
|
+
|
|
174
|
+
`/ac-coverage` 完成後,AI 助手應建議:
|
|
175
|
+
|
|
176
|
+
> **AC 覆蓋率分析完成。建議下一步:**
|
|
177
|
+
> - 覆蓋率達標 → 執行 `/checkin` 品質關卡
|
|
178
|
+
> - 有未覆蓋 AC → 執行 `/derive-tdd` 補齊測試 ⭐ **推薦**
|
|
179
|
+
> - 有部分覆蓋 AC → 檢查缺少的邊界情況
|
|
180
|
+
> - 需要完整追溯 → 執行 `/ac-coverage --full`
|
|
181
|
+
> - 反向追溯 → 執行 `/ac-coverage --trace-code <path>`
|
|
182
|
+
|
|
183
|
+
## 參考
|
|
184
|
+
|
|
185
|
+
- 核心標準:[acceptance-criteria-traceability.md](../../../../core/acceptance-criteria-traceability.md)
|
|
186
|
+
- SPEC:[SPEC-AC-COVERAGE.md](../../../../docs/specs/skills/SPEC-AC-COVERAGE.md)
|
|
187
|
+
- 相關:[test-coverage-assistant](../test-coverage-assistant/SKILL.md)(程式碼層級覆蓋率)
|
|
188
|
+
- 相關:[checkin-assistant](../checkin-assistant/SKILL.md)(品質關卡)
|
|
189
|
+
|
|
190
|
+
## AI 代理行為
|
|
191
|
+
|
|
192
|
+
> 完整的 AI 行為定義請參閱對應的命令文件:[`/ac-coverage`](../../../../skills/commands/ac-coverage.md#ai-agent-behavior--ai-代理行為)
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
name: adr-assistant
|
|
3
3
|
source: ../../../../skills/adr-assistant/SKILL.md
|
|
4
4
|
source_version: 1.0.0
|
|
5
|
+
source_hash: 7d8bf5944cf4
|
|
5
6
|
translation_version: 1.0.0
|
|
6
|
-
last_synced: 2026-
|
|
7
|
+
last_synced: 2026-06-01
|
|
7
8
|
status: current
|
|
8
9
|
description: "[UDS] 建立、管理和追蹤架構決策記錄(ADR)"
|
|
9
10
|
---
|
|
@@ -148,50 +149,28 @@ docs/adr/
|
|
|
148
149
|
> - 更新相關規格以引用此 ADR
|
|
149
150
|
> - 若狀態為 `Proposed`,分享給團隊審查
|
|
150
151
|
|
|
151
|
-
##
|
|
152
|
-
|
|
153
|
-
- 核心規範:[adr-standards.md](../../../../core/adr-standards.md)
|
|
154
|
-
- 詳細指南:[guide.md](./guide.md)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
## Next Steps Guidance | 下一步引導
|
|
158
|
-
|
|
159
|
-
After `/adr` completes, the AI assistant should suggest:
|
|
160
|
-
|
|
161
|
-
> **ADR created. Suggested next steps:**
|
|
162
|
-
> - Execute `/sdd` to create a spec if the decision requires implementation
|
|
163
|
-
> - Execute `/commit` to commit the ADR file
|
|
164
|
-
> - Update related SPECs to reference this ADR
|
|
165
|
-
> - Share with team for review if status is `Proposed`
|
|
166
|
-
|
|
167
|
-
> **ADR 已建立。建議下一步:**
|
|
168
|
-
> - 執行 `/sdd` 建立規格(若決策需要實作)
|
|
169
|
-
> - 執行 `/commit` 提交 ADR 檔案
|
|
170
|
-
> - 更新相關規格以引用此 ADR
|
|
171
|
-
> - 若狀態為 `Proposed`,分享給團隊審查
|
|
152
|
+
## AI 代理行為
|
|
172
153
|
|
|
173
|
-
|
|
154
|
+
當使用者呼叫 `/adr` 時,AI 助手必須:
|
|
174
155
|
|
|
175
|
-
|
|
156
|
+
1. **檢查現有 ADR** — 搜尋 `docs/adr/` 以確定下一個 ADR 編號
|
|
157
|
+
2. **互動式引導** — 逐步詢問背景、驅動因素和選項
|
|
158
|
+
3. **產生檔案** — 將 ADR 寫入 `docs/adr/ADR-NNN-title.md`
|
|
159
|
+
4. **建議連結** — 識別相關規格或 ADR 以建立交叉引用
|
|
160
|
+
5. **提供下一步** — 顯示上方的下一步引導
|
|
176
161
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
5. **Offer next steps** — Show the Next Steps Guidance above
|
|
162
|
+
當使用者呼叫 `/adr list` 時:
|
|
163
|
+
1. 掃描 `docs/adr/` 目錄
|
|
164
|
+
2. 解析每個 ADR 檔案的狀態
|
|
165
|
+
3. 以表格顯示:編號、標題、狀態、日期
|
|
182
166
|
|
|
183
|
-
|
|
184
|
-
1.
|
|
185
|
-
2.
|
|
186
|
-
3.
|
|
167
|
+
當使用者呼叫 `/adr supersede [ADR-NNN]` 時:
|
|
168
|
+
1. 讀取現有 ADR
|
|
169
|
+
2. 引導建立新 ADR
|
|
170
|
+
3. 將舊 ADR 狀態更新為 `Superseded by ADR-NNN`
|
|
171
|
+
4. 在新 ADR 中加入 `Supersedes ADR-NNN`
|
|
187
172
|
|
|
188
|
-
|
|
189
|
-
1. Read the existing ADR
|
|
190
|
-
2. Guide creation of a new ADR
|
|
191
|
-
3. Update old ADR status to `Superseded by ADR-NNN`
|
|
192
|
-
4. Add `Supersedes ADR-NNN` to new ADR
|
|
193
|
-
|
|
194
|
-
## Reference | 參考
|
|
173
|
+
## 參考
|
|
195
174
|
|
|
196
|
-
-
|
|
197
|
-
-
|
|
175
|
+
- 核心規範:[adr-standards.md](../../../../core/adr-standards.md)
|
|
176
|
+
- 詳細指南:[guide.md](./guide.md)
|
|
@@ -3,8 +3,12 @@ name: ai-collaboration-standards
|
|
|
3
3
|
source: ../../../../skills/ai-collaboration-standards/SKILL.md
|
|
4
4
|
source_version: 1.1.0
|
|
5
5
|
translation_version: 1.1.0
|
|
6
|
-
last_synced: 2026-
|
|
6
|
+
last_synced: 2026-05-28
|
|
7
7
|
status: current
|
|
8
|
+
description: |
|
|
9
|
+
[UDS] 防止 AI 幻覺、確保分析程式碼或提建議時以證據為基礎的回應。
|
|
10
|
+
Use when: analyzing code, making recommendations, providing options, or when user asks about confidence/certainty.
|
|
11
|
+
Keywords: certainty, assumption, inference, evidence, source, 證據, 假設, 推論.
|
|
8
12
|
---
|
|
9
13
|
|
|
10
14
|
# AI 協作標準
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brainstorm-assistant
|
|
3
3
|
source: ../../../../skills/brainstorm-assistant/SKILL.md
|
|
4
|
-
source_version:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
source_version: 3.0.0
|
|
5
|
+
source_hash: 25e622a7d063
|
|
6
|
+
translation_version: 3.0.0
|
|
7
|
+
last_synced: 2026-06-01
|
|
7
8
|
status: current
|
|
8
9
|
description: "[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪"
|
|
9
10
|
---
|
|
@@ -12,96 +13,244 @@ description: "[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪"
|
|
|
12
13
|
|
|
13
14
|
> **語言**: [English](../../../../skills/brainstorm-assistant/SKILL.md) | 繁體中文
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
在撰寫規格前進行結構化發想。以 2024–2026 年 AI 輔助發想研究為基礎,透過引導式腦力激盪,將模糊構想轉化為可執行的功能提案。
|
|
17
|
+
|
|
18
|
+
> **Implements**: XSPEC-247 brainstorm v3 — Multi-Persona Ensemble + Multi-Critic Convergence
|
|
19
|
+
> (取代 v2「認知科學升級」。)
|
|
20
|
+
|
|
21
|
+
**v3 的核心改動:** v3 把發散從「單一 AI 衝數量」改為 **persona 集成**(每個角色以思維鏈獨立推理)× **多樣性透鏡**;把收斂從「單一 AI 評分 + 單一反駁」改為**多評審面板** + **硬角色反駁**(Devil's Advocate + Steelman)。直接對應文獻最強結論:多 persona 勝過單一 pass,單一 LLM 評審既弱又易諂媚。
|
|
22
|
+
|
|
23
|
+
## 使用前先選模式
|
|
24
|
+
|
|
25
|
+
使用前套用以下**客觀觸發條件**。預設為完整 v3,路由規則是跳過階段的快捷鍵,而非額外障礙。
|
|
26
|
+
|
|
27
|
+
| 條件 | 建議模式 | 指令 |
|
|
28
|
+
|------|---------|------|
|
|
29
|
+
| 問題描述少於 20 字**或**主題感覺模糊 | 完整 v3(預設) | `/brainstorm [topic]` |
|
|
30
|
+
| 策略性問題(職涯、架構、商業模式) | 完整 v3 含反駁 | `/brainstorm [topic]` |
|
|
31
|
+
| 宿主支援平行子代理且想要最大多樣性 | 完整 v3 + Enhanced 層 | `/brainstorm --enhanced [topic]` |
|
|
32
|
+
| 純創意(命名、標語、行銷文案) | Lite——跳過反駁 | `/brainstorm --no-rebuttal [topic]` |
|
|
33
|
+
| 時間受限或執行型任務(寫程式碼、修文案) | 快速模式 | `/brainstorm --quick [topic]` |
|
|
34
|
+
| 此主題已有 SDD 規格 | 跳過 pre-flight | `/brainstorm --skip-preflight [topic]` |
|
|
35
|
+
|
|
36
|
+
> **判斷原則:** 不確定適用哪一行時,直接用完整 v3。判斷本身的認知成本高於直接跑完整流程。
|
|
16
37
|
|
|
17
38
|
## 工作流程
|
|
18
39
|
|
|
19
40
|
```
|
|
20
|
-
FRAME
|
|
21
|
-
定義問題
|
|
41
|
+
[Mode Selection] ─► PRE-FLIGHT ─► FRAME ─► DIVERGE ───────────► CONVERGE ──────────► OUTPUT
|
|
42
|
+
客觀路由 防止錨定 定義問題 persona 集成+透鏡 多評審面板+硬角色反駁 輸出提案
|
|
22
43
|
```
|
|
23
44
|
|
|
24
|
-
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
### Phase 0: PRE-FLIGHT | 防止 AI 錨定
|
|
48
|
+
|
|
49
|
+
**本階段存在的原因:** 在 AI 生成任何內容之前先寫下自己的想法,能持續產出更多樣的結果。在 AI 情境下這**更**重要:設計固著研究顯示,流暢、高擬真的 AI 輸出反而**加深**固著(Wadinambiarachchi 等,CHI 2024)。
|
|
50
|
+
|
|
51
|
+
在 AI 生成任何內容之前,使用者完成三件事:
|
|
52
|
+
|
|
53
|
+
| 項目 | 提示 |
|
|
54
|
+
|------|------|
|
|
55
|
+
| 1 | 一句話描述問題 |
|
|
56
|
+
| 2 | 3 個初始想法(任意形式、不限品質) |
|
|
57
|
+
| 3 | 「我最不想要的解法類型」(可填 N/A) |
|
|
58
|
+
|
|
59
|
+
**使用者提交後**,AI 讀取全部三項輸入再進入 FRAME。AI 的第一批 DIVERGE 輸出必須探索使用者未提及的方向,且不得重複使用者已提交的想法。
|
|
60
|
+
|
|
61
|
+
> **反種子 guardrail(v3 新增):** 不要用「像 X 但給 Y」的框架當種子(如「給醫生用的 Slack」)。這類產品類比種子會把 LLM 鎖進單一解空間、明顯降低想法多樣性。請捕捉底層**問題**,而非產品類比。
|
|
62
|
+
|
|
63
|
+
**旗標:** `--skip-preflight` 跳過本階段並顯示一行警告:
|
|
64
|
+
`⚠ Skipping Pre-flight may cause AI anchoring`
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Phase 1: FRAME | 定義問題
|
|
25
69
|
|
|
26
70
|
在產生想法之前,先清楚定義問題空間。
|
|
27
71
|
|
|
28
72
|
| 步驟 | 動作 |
|
|
29
73
|
|------|------|
|
|
30
74
|
| 1 | 用 5 Whys 釐清問題根因 |
|
|
31
|
-
| 2 |
|
|
75
|
+
| 2 | 重構為 HMW(How Might We)問題 |
|
|
32
76
|
| 3 | 識別利害關係人與限制條件 |
|
|
33
77
|
| 4 | 從程式碼庫蒐集脈絡(如適用) |
|
|
34
78
|
|
|
35
|
-
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
### Phase 2: DIVERGE | 發散思考(v3:persona 集成 + 多樣性透鏡)
|
|
82
|
+
|
|
83
|
+
> **v3 核心機制:** **persona 集成**——每個 persona 以**思維鏈**在**隔離**狀態下推理——再乘上**多樣性透鏡**。Meincke、Mollick、Terwiesch(2024)發現「思維鏈 + persona」的想法多樣性高於所有受測提示策略,接近人類團體。光衝數量是弱代理;結構性逼出不同視角才是真正槓桿。
|
|
84
|
+
|
|
85
|
+
#### Step 2a — persona 集成
|
|
86
|
+
|
|
87
|
+
透過預設 persona 組生成想法。每個 persona **逐步推理(思維鏈)**,**只從自己的視角**產出 2–4 個想法。使用者可用 `--personas` 增減或改名。
|
|
88
|
+
|
|
89
|
+
| 預設 persona | 它所論辯的視角 |
|
|
90
|
+
|-------------|---------------|
|
|
91
|
+
| **Domain expert(領域專家)** | 領域最佳實務要求什麼? |
|
|
92
|
+
| **Skeptic / risk(懷疑者/風險)** | 哪裡會壞?什麼先失敗? |
|
|
93
|
+
| **Cross-domain analogist(跨域類比者)** | 生物/他領域如何解類似問題? |
|
|
94
|
+
| **Cost / constraint(成本/約束)** | 最便宜最小可行解是什麼? |
|
|
95
|
+
| **End-user advocate(使用者代言)** | 真實使用者的感受與需求? |
|
|
96
|
+
|
|
97
|
+
> **分支隔離:** baseline 模式下,生成每個 persona 的想法時**不讓它看到其他 persona 的輸出**,以防止 session 內錨定。等所有 persona 都產完才一起呈現。(Enhanced 層以平行隔離 agent 跑——見下方「Enhanced Tier」。)
|
|
98
|
+
|
|
99
|
+
#### Step 2b — 多樣性透鏡
|
|
100
|
+
|
|
101
|
+
在 persona 組上至少套用一個透鏡,以突破「顯而易見答案區」。連結異域概念能可量測地提升原創性(Mehrotra、Parab、Gulwani,2024)。
|
|
36
102
|
|
|
37
|
-
|
|
103
|
+
| 透鏡 | 提示模式 |
|
|
104
|
+
|------|---------|
|
|
105
|
+
| **Analogical / cross-domain(類比/跨域)** | 「在 [生物/物流/遊戲] 中找一個解類似問題的系統。我們能借用什麼?」 |
|
|
106
|
+
| **Assumption reversal(假設反轉)** | 「列出大家都認為必為真的事,再逐一反轉。」 |
|
|
107
|
+
| **Morphological matrix(形態矩陣)** | 「建立三軸矩陣(如 User × Trigger × Constraint),填補罕見組合。」 |
|
|
108
|
+
|
|
109
|
+
用 `--lens analogical|reversal|morphological` 強制指定某透鏡為主要透鏡。
|
|
110
|
+
|
|
111
|
+
#### Step 2c — 繼續發散提示(輔助)
|
|
112
|
+
|
|
113
|
+
「好點子在後半」(Nijstad)是**人類群體**現象,**未在 LLM 證實**(LLM 多為高原/枯竭)。故固定數量門檻降為**輔助提示**:若全組少於約 8 個相異想法,提示「繼續——加一個還沒用過的 persona 或透鏡」。真正的門檻是**多樣性**(覆蓋了幾個不同視角),而非數量。
|
|
114
|
+
|
|
115
|
+
#### 經典技法(仍保留)
|
|
38
116
|
|
|
39
117
|
| 技法 | 使用時機 |
|
|
40
118
|
|------|----------|
|
|
41
|
-
| **HMW
|
|
119
|
+
| **HMW Questions** | 預設起點 |
|
|
42
120
|
| **SCAMPER** | 改善現有功能 |
|
|
43
|
-
|
|
|
121
|
+
| **Six Thinking Hats** | 需要多角度(很適合當 persona) |
|
|
44
122
|
|
|
45
|
-
|
|
123
|
+
---
|
|
46
124
|
|
|
47
|
-
|
|
125
|
+
### Phase 3: CONVERGE | 收斂(v3:多評審面板 + 硬角色反駁)
|
|
48
126
|
|
|
49
|
-
|
|
50
|
-
|----------|------|
|
|
51
|
-
| 技術可行性 | 30% |
|
|
52
|
-
| 使用者影響力 | 30% |
|
|
53
|
-
| 實作成本 | 20% |
|
|
54
|
-
| 目標一致性 | 20% |
|
|
127
|
+
> **v3 核心機制:** **多評審面板**取代單一加權評分者。單一 LLM 是弱且有偏的評估者(Li 等,2025:LLM 強於生成/精煉、弱於評估——人類保留最終裁決權)。三個獨立評審透鏡各自評分後聚合。
|
|
55
128
|
|
|
56
|
-
|
|
129
|
+
#### Step 3a: 多評審面板
|
|
57
130
|
|
|
58
|
-
|
|
131
|
+
跑**三個獨立評審**,各自以自己的透鏡對每個想法打 1–5 分;取平均聚合以降低單評審偏誤。每位評審皆套用下方加權公式。
|
|
59
132
|
|
|
60
|
-
|
|
133
|
+
| 評審透鏡 | 它所負責的加權準則 |
|
|
134
|
+
|---------|-------------------|
|
|
135
|
+
| **Engineering feasibility(工程可行性)** | Feasibility 50% · Effort 50% |
|
|
136
|
+
| **User impact(使用者影響)** | Impact 70% · Alignment 30% |
|
|
137
|
+
| **Strategic alignment(策略一致性)** | Alignment 60% · Impact 40% |
|
|
138
|
+
|
|
139
|
+
各準則評分指南(1–5):Feasibility(5=輕而易舉 … 1=幾乎不可能);Impact(5=變革性 … 1=可忽略);Effort(5=數小時 … 1=數季,反向計分,工作量越低分越高);Alignment(5=核心使命 … 1=偏離使命)。
|
|
140
|
+
|
|
141
|
+
> **可選——RICE / ICE(產品功能):** 排序可出貨功能時用 `RICE =(Reach × Impact × Confidence)/ Effort` 或較輕的 `ICE = Impact × Confidence × Ease`。Effort 交由工程師估、不要讓 LLM 估(它無程式庫知識)。RICE 偏好漸進式勝利,別單獨用於策略性押注。
|
|
142
|
+
|
|
143
|
+
#### Step 3b: 硬角色反駁輪
|
|
61
144
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
|
145
|
+
軟性「請批評一下」只會得到附和(諂媚)。v3 指派**硬角色**:對**前三名想法**各跑一個 **Devil's Advocate**(「你的任務是論證此案會失敗」)與一個 **Steelman**(「說出反方最強而善意的版本」)。兩者一起壓力測試韌性,而非只是戳。
|
|
146
|
+
|
|
147
|
+
每個反對理由須為:「在 [具體情境] 下,此想法會失敗,因為 [具體原因]。」模糊顧慮(「這可能有點難」)不接受。
|
|
148
|
+
|
|
149
|
+
使用者**必須**對每個給出回應才能繼續:
|
|
150
|
+
|
|
151
|
+
| 選項 | 動作 |
|
|
152
|
+
|------|------|
|
|
153
|
+
| (a) | 接受批評 → 提供修改版本 |
|
|
154
|
+
| (b) | 不同意 → 給具體保留理由 |
|
|
155
|
+
| (c) | 批評成立 → 從排名移除 |
|
|
156
|
+
|
|
157
|
+
**旗標:** `--no-rebuttal` 跳過此步驟;報告段落標注「Rebuttal: skipped」。
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
### Phase 4: OUTPUT | 輸出提案
|
|
162
|
+
|
|
163
|
+
產生可直接對接 `/requirement` 或 `/sdd` 的腦力激盪報告。每個存活想法標記 `✓ Passed rebuttal`、使用者回應摘要、來源 persona/透鏡、以及聚合評審分數。
|
|
69
164
|
|
|
70
165
|
## 輸出格式
|
|
71
166
|
|
|
72
167
|
```markdown
|
|
73
|
-
#
|
|
74
|
-
|
|
75
|
-
##
|
|
76
|
-
[FRAME
|
|
77
|
-
|
|
78
|
-
## HMW
|
|
79
|
-
1.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
##
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- [ ]
|
|
97
|
-
- [ ]
|
|
168
|
+
# Brainstorm Report: [Topic]
|
|
169
|
+
|
|
170
|
+
## Problem Statement
|
|
171
|
+
[Refined problem + root cause from FRAME]
|
|
172
|
+
|
|
173
|
+
## HMW Questions
|
|
174
|
+
1. How might we ...?
|
|
175
|
+
|
|
176
|
+
## Ideas Generated
|
|
177
|
+
| # | Idea | Persona | Lens | Critic-Feas | Critic-Impact | Critic-Align | Agg. Score |
|
|
178
|
+
|---|------|---------|------|-------------|---------------|--------------|-----------|
|
|
179
|
+
| 1 | ... | Skeptic | Reversal | 4.0 | 4.5 | 4.0 | 4.2 |
|
|
180
|
+
|
|
181
|
+
## Top 3 Recommendations
|
|
182
|
+
1. **[Idea]** ✓ Passed rebuttal — [Why] — Persona: [..] — [User rebuttal response]
|
|
183
|
+
|
|
184
|
+
## Diversity Note
|
|
185
|
+
[How many distinct lenses/personas the surviving ideas span — flag if all from one cluster]
|
|
186
|
+
|
|
187
|
+
## Discarded Ideas (with reasons)
|
|
188
|
+
| Idea | Reason |
|
|
189
|
+
|
|
190
|
+
## Next Steps
|
|
191
|
+
- [ ] Proceed to `/requirement` with top idea
|
|
192
|
+
- [ ] Proceed to `/sdd` if requirements are clear
|
|
98
193
|
```
|
|
99
194
|
|
|
195
|
+
## 多樣性崩塌防護
|
|
196
|
+
|
|
197
|
+
用單一 LLM 發想會降低**跨使用者的想法多樣性**,即使個人覺得更有創意(Anderson、Shah、Kreminski,2024;與廣為引用的 Doshi & Hauser,《Science Advances》2024 同向)。防範方式:
|
|
198
|
+
|
|
199
|
+
- **絕不**用競品或產品類比當種子(「像 X 但給 Y」)。
|
|
200
|
+
- 變的是**透鏡**而非措辭——換句話不等於多樣化。
|
|
201
|
+
- 若存活的前三名全來自同一 persona/透鏡,**標示**並在輸出前再跑一個透鏡。
|
|
202
|
+
|
|
203
|
+
## 強化層——平行 persona
|
|
204
|
+
|
|
205
|
+
多 agent 發想(獨立 agent 互相對話/貢獻)在感知品質與新穎度上勝過單 agent(Quan 等,2025,*MultiColleagues*)。在支援平行子代理的宿主(如 Claude Code 的 Agent/Workflow 工具),`--enhanced` 會把每個 persona 與每個評審當作**平行、context 隔離的 agent** 跑,再合併去重。
|
|
206
|
+
|
|
207
|
+
> **優雅降級:** 此層為**可選**。在無子代理的宿主,`--enhanced` 靜默退回 baseline(單 context 模擬 persona)。本 skill 維持 `scope: universal`。
|
|
208
|
+
|
|
209
|
+
## 技法速覽
|
|
210
|
+
|
|
211
|
+
| 技法 | 用途 |
|
|
212
|
+
|------|------|
|
|
213
|
+
| **5 Whys** | 根因分析 |
|
|
214
|
+
| **HMW** | 問題重構 |
|
|
215
|
+
| **Persona ensemble** | 強制視角多樣性(v3 核心) |
|
|
216
|
+
| **Diversity lenses** | 突破顯而易見區(analogical / reversal / morphological) |
|
|
217
|
+
| **Multi-critic panel** | 降偏誤評分(v3 核心) |
|
|
218
|
+
| **Devil's Advocate + Steelman** | 硬角色反駁 |
|
|
219
|
+
| **SCAMPER / Six Hats** | 經典發散(可當 persona) |
|
|
220
|
+
|
|
221
|
+
## 工作階段自評
|
|
222
|
+
|
|
223
|
+
每次工作階段結束後記錄三個指標(1–5 分),追蹤長期改善。
|
|
224
|
+
|
|
225
|
+
| 指標 | 問題 |
|
|
226
|
+
|------|------|
|
|
227
|
+
| **Adoption Rate(採用率)** | 今天的想法我實際會用幾個? |
|
|
228
|
+
| **Diversity(多樣性)** | 存活想法跨越多個 persona/透鏡嗎? |
|
|
229
|
+
| **Cognitive Load(認知負擔)** | 這過程心智上有多累?(5 = 毫不費力) |
|
|
230
|
+
|
|
231
|
+
收集 3 次工作階段資料再下結論。完整 A/B 實驗協議見 [guide.md](./guide.md)。
|
|
232
|
+
|
|
233
|
+
## 旗標
|
|
234
|
+
|
|
235
|
+
| 旗標 | 說明 |
|
|
236
|
+
|------|------|
|
|
237
|
+
| `--personas "a,b,c"` | 覆寫預設 persona 組 |
|
|
238
|
+
| `--lens analogical\|reversal\|morphological` | 指定主要多樣性透鏡 |
|
|
239
|
+
| `--enhanced` | 平行 persona/評審 agent(不支援則退回) |
|
|
240
|
+
| `--skip-preflight` | 跳過 Phase 0,顯示錨定警告 |
|
|
241
|
+
| `--no-rebuttal` | 跳過 CONVERGE 反駁輪,報告標注 skipped |
|
|
242
|
+
| `--quick` | 快速 3 想法模式;門檻與反駁均豁免 |
|
|
243
|
+
| `--technique scamper` | 強制使用 SCAMPER 為主要技法 |
|
|
244
|
+
|
|
100
245
|
## 使用方式
|
|
101
246
|
|
|
102
|
-
- `/brainstorm` —
|
|
103
|
-
- `/brainstorm "
|
|
104
|
-
- `/brainstorm --
|
|
247
|
+
- `/brainstorm` — 啟動互動式腦力激盪工作階段
|
|
248
|
+
- `/brainstorm "user retention"` — 針對特定主題腦力激盪
|
|
249
|
+
- `/brainstorm --enhanced "user retention"` — 平行 persona 集成(若宿主支援)
|
|
250
|
+
- `/brainstorm --personas "designer,economist,skeptic" "pricing"` — 自訂 persona
|
|
251
|
+
- `/brainstorm --lens analogical "onboarding"` — 強制類比透鏡
|
|
252
|
+
- `/brainstorm --quick "reduce checkout friction"` — 快速 3 想法模式
|
|
253
|
+
- `/brainstorm --no-rebuttal "topic"` — 跳過反駁輪
|
|
105
254
|
|
|
106
255
|
## 下一步引導
|
|
107
256
|
|
|
@@ -109,9 +258,13 @@ FRAME ──► DIVERGE ──► CONVERGE ──► OUTPUT
|
|
|
109
258
|
|
|
110
259
|
> **腦力激盪完成。建議下一步:**
|
|
111
260
|
> - 執行 `/requirement` 將最佳構想轉為使用者故事
|
|
112
|
-
> - 執行 `/sdd`
|
|
261
|
+
> - 執行 `/sdd` 直接建立規格(若需求已明確)⭐ **推薦**
|
|
113
262
|
> - 針對特定構想進行更深入探索
|
|
114
263
|
|
|
115
264
|
## 參考
|
|
116
265
|
|
|
117
266
|
- 詳細指南:[guide.md](./guide.md)
|
|
267
|
+
|
|
268
|
+
## AI 代理行為
|
|
269
|
+
|
|
270
|
+
> 完整的 AI 行為定義請參閱對應的命令文件:[`/brainstorm`](../commands/brainstorm.md#ai-agent-behavior--ai-代理行為)
|