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
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
source: ../../../../skills/testing-guide/SKILL.md
|
|
3
3
|
source_version: 1.2.0
|
|
4
4
|
translation_version: 1.2.0
|
|
5
|
-
last_synced: 2026-02
|
|
5
|
+
last_synced: 2026-06-02
|
|
6
|
+
source_hash: 49b6f9e0c6a4
|
|
6
7
|
status: current
|
|
7
8
|
name: testing
|
|
8
9
|
description: "[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準"
|
|
@@ -12,15 +13,38 @@ description: "[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準"
|
|
|
12
13
|
|
|
13
14
|
> **語言**: [English](../../../../skills/testing-guide/SKILL.md) | 繁體中文
|
|
14
15
|
|
|
15
|
-
**版本**: 1.
|
|
16
|
-
**最後更新**:
|
|
16
|
+
**版本**: 1.2.0
|
|
17
|
+
**最後更新**: 2026-01-29
|
|
17
18
|
**適用範圍**: Claude Code Skills
|
|
18
19
|
|
|
19
20
|
---
|
|
20
21
|
|
|
21
22
|
## 目的
|
|
22
23
|
|
|
23
|
-
本 Skill
|
|
24
|
+
本 Skill 提供測試金字塔標準和系統化測試的最佳實踐,同時支援 ISTQB 和業界通行金字塔框架。
|
|
25
|
+
|
|
26
|
+
## 測試技能導航 | Testing Skills Navigator
|
|
27
|
+
|
|
28
|
+
UDS 提供 6 個與測試相關的 Skill。請使用以下決策樹找到合適的工具:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
你想做什麼? | What do you want to do?
|
|
32
|
+
├── 測量程式碼覆蓋率(行/分支/函式) → /coverage
|
|
33
|
+
├── 追蹤哪些需求有測試(AC 可追蹤性) → /ac-coverage
|
|
34
|
+
├── 以測試驅動開發進行開發(紅-綠-重構) → /tdd
|
|
35
|
+
├── 撰寫 BDD 場景(Given-When-Then) → /bdd
|
|
36
|
+
├── 與利害關係人定義驗收測試 → /atdd
|
|
37
|
+
└── 學習測試標準與最佳實踐 → /testing(本 Skill)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
| Skill | 焦點 | Focus |
|
|
41
|
+
|-------|------|-------|
|
|
42
|
+
| `/testing` | 測試標準與最佳實踐參考 | Standards and best practices reference |
|
|
43
|
+
| `/coverage` | 程式碼層級覆蓋率分析 | Code-level coverage analysis |
|
|
44
|
+
| `/ac-coverage` | 需求層級 AC 可追蹤性 | Requirement-level AC traceability |
|
|
45
|
+
| `/tdd` | 紅-綠-重構開發循環 | Red-Green-Refactor development cycle |
|
|
46
|
+
| `/bdd` | Given-When-Then 行為場景 | Behavior scenarios with Given-When-Then |
|
|
47
|
+
| `/atdd` | 與利害關係人定義驗收條件 | Acceptance criteria with stakeholders |
|
|
24
48
|
|
|
25
49
|
## 框架選擇
|
|
26
50
|
|
|
@@ -71,7 +95,10 @@ description: "[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準"
|
|
|
71
95
|
## 詳細指南
|
|
72
96
|
|
|
73
97
|
完整標準請參考:
|
|
74
|
-
- [
|
|
98
|
+
- [測試標準](../../core/testing-standards.md) - 可執行的規則
|
|
99
|
+
- [測試理論](./testing-theory.md) - 教學知識庫
|
|
100
|
+
- [測試金字塔](./testing-pyramid.md) - 詳細的金字塔比例
|
|
101
|
+
- [測試骨架範本](./test-skeleton-templates.md) - UT/IT/ST/Perf/Contract 的多語言骨架
|
|
75
102
|
|
|
76
103
|
### AI 優化格式(Token 高效)
|
|
77
104
|
|
|
@@ -85,6 +112,10 @@ description: "[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準"
|
|
|
85
112
|
- 整合測試:`ai/options/testing/integration-testing.ai.yaml`
|
|
86
113
|
- 系統測試:`ai/options/testing/system-testing.ai.yaml`
|
|
87
114
|
- E2E 測試:`ai/options/testing/e2e-testing.ai.yaml`
|
|
115
|
+
- 安全測試:`ai/options/testing/security-testing.ai.yaml`
|
|
116
|
+
- 效能測試:`ai/options/testing/performance-testing.ai.yaml`
|
|
117
|
+
- 合約測試:`ai/options/testing/contract-testing.ai.yaml`
|
|
118
|
+
- 骨架範本(所有層級、多語言):[test-skeleton-templates.md](./test-skeleton-templates.md)
|
|
88
119
|
|
|
89
120
|
## 命名慣例
|
|
90
121
|
|
|
@@ -156,15 +187,104 @@ test('method_scenario_expected', () => {
|
|
|
156
187
|
|
|
157
188
|
---
|
|
158
189
|
|
|
190
|
+
## 測試理論精要(YAML 壓縮)
|
|
191
|
+
|
|
192
|
+
```yaml
|
|
193
|
+
# === ISTQB FUNDAMENTALS ===
|
|
194
|
+
terminology:
|
|
195
|
+
error: "Human mistake in thinking"
|
|
196
|
+
defect: "Bug in code (caused by error)"
|
|
197
|
+
failure: "System behaves incorrectly (caused by defect)"
|
|
198
|
+
chain: "Error → Defect → Failure"
|
|
199
|
+
|
|
200
|
+
oracle_problem:
|
|
201
|
+
definition: "How do we know the expected result is correct?"
|
|
202
|
+
approaches:
|
|
203
|
+
- specification_oracle: "Compare against spec"
|
|
204
|
+
- reference_oracle: "Compare against reference impl"
|
|
205
|
+
- consistency_oracle: "Same input → same output"
|
|
206
|
+
- heuristic_oracle: "Reasonable approximation"
|
|
207
|
+
|
|
208
|
+
# === STATIC vs DYNAMIC ===
|
|
209
|
+
static_testing:
|
|
210
|
+
definition: "Examine without executing"
|
|
211
|
+
techniques: [reviews, walkthroughs, inspections, static_analysis]
|
|
212
|
+
finds: "Defects before runtime"
|
|
213
|
+
examples: [ESLint, SonarQube, code_review]
|
|
214
|
+
|
|
215
|
+
dynamic_testing:
|
|
216
|
+
definition: "Execute and observe behavior"
|
|
217
|
+
techniques: [unit, integration, system, acceptance]
|
|
218
|
+
finds: "Failures during execution"
|
|
219
|
+
|
|
220
|
+
# === TEST DESIGN TECHNIQUES ===
|
|
221
|
+
black_box:
|
|
222
|
+
equivalence_partitioning:
|
|
223
|
+
principle: "Divide inputs into equivalent classes"
|
|
224
|
+
example: "Age: [<0 invalid], [0-17 minor], [18-64 adult], [65+ senior]"
|
|
225
|
+
boundary_value:
|
|
226
|
+
principle: "Test at boundaries of partitions"
|
|
227
|
+
example: "Age: test -1, 0, 17, 18, 64, 65"
|
|
228
|
+
decision_table:
|
|
229
|
+
principle: "Combinations of conditions → actions"
|
|
230
|
+
use: "Complex business rules"
|
|
231
|
+
state_transition:
|
|
232
|
+
principle: "Valid sequences of states"
|
|
233
|
+
use: "Workflow, state machines"
|
|
234
|
+
|
|
235
|
+
white_box:
|
|
236
|
+
statement_coverage: "Every statement executed once"
|
|
237
|
+
branch_coverage: "Every decision branch taken"
|
|
238
|
+
condition_coverage: "Every condition T/F"
|
|
239
|
+
path_coverage: "Every possible path (often impractical)"
|
|
240
|
+
|
|
241
|
+
# === RISK-BASED TESTING ===
|
|
242
|
+
risk_assessment:
|
|
243
|
+
likelihood: "How likely to fail?"
|
|
244
|
+
impact: "How bad if fails?"
|
|
245
|
+
priority: "likelihood × impact"
|
|
246
|
+
|
|
247
|
+
risk_matrix:
|
|
248
|
+
high_high: "Test extensively, first priority"
|
|
249
|
+
high_low: "Good coverage"
|
|
250
|
+
low_high: "Good coverage"
|
|
251
|
+
low_low: "Basic coverage"
|
|
252
|
+
|
|
253
|
+
# === DEFECT MANAGEMENT ===
|
|
254
|
+
defect_lifecycle:
|
|
255
|
+
states: [new, assigned, in_progress, fixed, verified, closed]
|
|
256
|
+
reopen_trigger: "Verification fails"
|
|
257
|
+
|
|
258
|
+
severity_vs_priority:
|
|
259
|
+
severity: "Technical impact (critical/major/minor/trivial)"
|
|
260
|
+
priority: "Business urgency (high/medium/low)"
|
|
261
|
+
example: "Typo on login page: low severity, high priority (brand)"
|
|
262
|
+
|
|
263
|
+
# === TEST ENVIRONMENT ===
|
|
264
|
+
isolation_levels:
|
|
265
|
+
unit: "In-memory, mocked deps"
|
|
266
|
+
integration: "Containerized DB (Docker)"
|
|
267
|
+
staging: "Production-like, isolated"
|
|
268
|
+
production: "Real, feature flags for testing"
|
|
269
|
+
|
|
270
|
+
test_data_strategies:
|
|
271
|
+
fixtures: "Static predefined data"
|
|
272
|
+
factories: "Dynamic generation (faker)"
|
|
273
|
+
snapshots: "Sanitized production copy"
|
|
274
|
+
synthetic: "Algorithm-generated edge cases"
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
159
279
|
## 設定偵測
|
|
160
280
|
|
|
161
281
|
本 Skill 支援專案特定設定。
|
|
162
282
|
|
|
163
283
|
### 偵測順序
|
|
164
284
|
|
|
165
|
-
1. 檢查 `CONTRIBUTING.md`
|
|
285
|
+
1. 檢查 `CONTRIBUTING.md` 的「Disabled Skills」(停用 Skills)區段
|
|
166
286
|
- 如果列出此 Skill,則為該專案停用
|
|
167
|
-
2. 檢查 `CONTRIBUTING.md`
|
|
287
|
+
2. 檢查 `CONTRIBUTING.md` 的「Testing Standards」(測試標準)區段
|
|
168
288
|
3. 若未找到,**預設使用標準覆蓋率目標**
|
|
169
289
|
|
|
170
290
|
### 首次設定
|
|
@@ -207,32 +327,9 @@ test('method_scenario_expected', () => {
|
|
|
207
327
|
|
|
208
328
|
---
|
|
209
329
|
|
|
210
|
-
##
|
|
211
|
-
|
|
212
|
-
- [測試標準](../../core/testing-standards.md)
|
|
213
|
-
- [程式碼審查檢查清單](../../core/code-review-checklist.md)
|
|
214
|
-
|
|
215
|
-
---
|
|
330
|
+
## 下一步引導 | Next Steps Guidance
|
|
216
331
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
| 版本 | 日期 | 變更內容 |
|
|
220
|
-
|---------|------|---------|
|
|
221
|
-
| 1.1.0 | 2025-12-29 | 新增:框架選擇(ISTQB/業界通行金字塔)、IT/SIT 縮寫說明 |
|
|
222
|
-
| 1.0.0 | 2025-12-24 | 新增:標準區段(目的、相關標準、版本歷史、授權) |
|
|
223
|
-
|
|
224
|
-
---
|
|
225
|
-
|
|
226
|
-
## 授權
|
|
227
|
-
|
|
228
|
-
本 Skill 以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權發布。
|
|
229
|
-
|
|
230
|
-
**來源**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
## Next Steps Guidance | 下一步引導
|
|
234
|
-
|
|
235
|
-
After `/testing` completes, the AI assistant should suggest:
|
|
332
|
+
當 `/testing` 完成後,AI 助理應建議:
|
|
236
333
|
|
|
237
334
|
> **測試標準與最佳實踐已掌握。建議下一步 / Testing standards and best practices understood. Suggested next steps:**
|
|
238
335
|
> - 執行 `/tdd` 開始測試驅動開發(紅-綠-重構循環) ⭐ **Recommended / 推薦** — 將測試知識立即轉化為實踐 / Turn testing knowledge into practice immediately
|
|
@@ -241,26 +338,26 @@ After `/testing` completes, the AI assistant should suggest:
|
|
|
241
338
|
|
|
242
339
|
---
|
|
243
340
|
|
|
244
|
-
##
|
|
341
|
+
## 相關標準
|
|
245
342
|
|
|
246
|
-
- [
|
|
247
|
-
- [
|
|
248
|
-
- [
|
|
343
|
+
- [測試標準](../../core/testing-standards.md) - 可執行的規則
|
|
344
|
+
- [測試理論](./testing-theory.md) - 教學知識庫
|
|
345
|
+
- [程式碼審查檢查清單](../../core/code-review-checklist.md)
|
|
249
346
|
|
|
250
347
|
---
|
|
251
348
|
|
|
252
|
-
##
|
|
349
|
+
## 版本歷史
|
|
253
350
|
|
|
254
|
-
|
|
|
351
|
+
| 版本 | 日期 | 變更內容 |
|
|
255
352
|
|---------|------|---------|
|
|
256
|
-
| 1.2.0 | 2026-01-29 |
|
|
257
|
-
| 1.1.0 | 2025-12-29 |
|
|
258
|
-
| 1.0.0 | 2025-12-24 |
|
|
353
|
+
| 1.2.0 | 2026-01-29 | 新增連結至新的 testing-theory.md 知識庫 |
|
|
354
|
+
| 1.1.0 | 2025-12-29 | 新增測試理論精要 YAML 區段 |
|
|
355
|
+
| 1.0.0 | 2025-12-24 | 初版:標準區段(目的、相關標準、版本歷史、授權) |
|
|
259
356
|
|
|
260
357
|
---
|
|
261
358
|
|
|
262
|
-
##
|
|
359
|
+
## 授權
|
|
263
360
|
|
|
264
|
-
|
|
361
|
+
本 Skill 以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權發布。
|
|
265
362
|
|
|
266
|
-
|
|
363
|
+
**來源**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
@@ -4,7 +4,7 @@ scope: universal
|
|
|
4
4
|
description: |
|
|
5
5
|
[UDS] Create, manage, and track Architecture Decision Records (ADR).
|
|
6
6
|
Use when: architecture decisions, technology choices, design trade-offs, pattern selection.
|
|
7
|
-
Keywords: ADR, architecture decision, decision record, trade-off
|
|
7
|
+
Keywords: ADR, architecture decision, decision record, trade-off.
|
|
8
8
|
allowed-tools: Read, Write, Glob, Grep
|
|
9
9
|
argument-hint: "[create | list | supersede ADR-NNN | 決策主題]"
|
|
10
10
|
---
|
|
@@ -4,7 +4,7 @@ scope: universal
|
|
|
4
4
|
description: |
|
|
5
5
|
Prevent AI hallucination and ensure evidence-based responses when analyzing code or making suggestions.
|
|
6
6
|
Use when: analyzing code, making recommendations, providing options, or when user asks about confidence/certainty.
|
|
7
|
-
Keywords: certainty, assumption, inference, evidence, source
|
|
7
|
+
Keywords: certainty, assumption, inference, evidence, source.
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# AI Collaboration Standards
|
|
@@ -4,7 +4,7 @@ scope: uds-specific
|
|
|
4
4
|
description: |
|
|
5
5
|
Design AI-friendly architecture with explicit patterns, layered documentation, and semantic boundaries.
|
|
6
6
|
Use when: structuring projects for AI collaboration, optimizing codebase for AI analysis, setting up AI context.
|
|
7
|
-
Keywords: architecture, AI-friendly, context, modules, documentation layers, .ai-context.yaml
|
|
7
|
+
Keywords: architecture, AI-friendly, context, modules, documentation layers, .ai-context.yaml.
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# AI-Friendly Architecture Guide
|
|
@@ -4,7 +4,7 @@ scope: partial
|
|
|
4
4
|
description: |
|
|
5
5
|
Create and maintain AI instruction files (CLAUDE.md, AGENTS.md, .cursor/rules/, etc.) with proper structure.
|
|
6
6
|
Use when: creating AI instruction files, separating universal vs project-specific rules, configuring AI tools.
|
|
7
|
-
Keywords: CLAUDE.md, AGENTS.md, cursorrules, windsurfrules, clinerules, AI instructions, system prompt
|
|
7
|
+
Keywords: CLAUDE.md, AGENTS.md, cursorrules, windsurfrules, clinerules, AI instructions, system prompt.
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# AI Instruction File Standards Guide
|
|
@@ -4,7 +4,7 @@ scope: universal
|
|
|
4
4
|
description: |
|
|
5
5
|
Guide API design following REST, GraphQL, and gRPC best practices.
|
|
6
6
|
Use when: designing APIs, reviewing endpoints, API versioning decisions.
|
|
7
|
-
Keywords: API, REST, GraphQL, gRPC, endpoint, versioning
|
|
7
|
+
Keywords: API, REST, GraphQL, gRPC, endpoint, versioning.
|
|
8
8
|
allowed-tools: Read, Grep, Glob
|
|
9
9
|
argument-hint: "[API endpoint or module | API 端點或模組]"
|
|
10
10
|
---
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: audit
|
|
3
3
|
scope: universal
|
|
4
|
-
description: "[UDS] UDS Health & Feedback System
|
|
4
|
+
description: "[UDS] UDS Health & Feedback System"
|
|
5
5
|
allowed-tools: Read, Grep, Glob, Bash(git log, uds audit)
|
|
6
6
|
argument-hint: "[--health | --patterns | --friction | --report]"
|
|
7
7
|
disable-model-invocation: true
|