universal-dev-standards 5.15.1 → 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/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +31 -0
- package/bundled/ai/standards/forward-derivation-standards.ai.yaml +23 -0
- package/bundled/ai/standards/knowledge-graph-memory.ai.yaml +1 -1
- package/bundled/core/acceptance-criteria-traceability.md +46 -0
- package/bundled/core/forward-derivation-standards.md +19 -0
- package/bundled/core/knowledge-graph-memory.md +2 -2
- package/bundled/locales/zh-CN/CHANGELOG.md +13 -3
- package/bundled/locales/zh-CN/README.md +1 -1
- package/bundled/locales/zh-CN/core/acceptance-criteria-traceability.md +46 -0
- 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 +13 -3
- package/bundled/locales/zh-TW/README.md +1 -1
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +46 -0
- 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 +2 -2
- package/bundled/locales/zh-TW/core/release-readiness-gate.md +186 -5
- package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +21 -42
- 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/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/knowledge-graph/SKILL.md +5 -5
- 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 +3 -2
- package/bundled/locales/zh-TW/skills/plan/SKILL.md +3 -2
- package/bundled/locales/zh-TW/skills/push/SKILL.md +3 -2
- 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/slo-assistant/guide.md +188 -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/testing-guide/SKILL.md +141 -44
- package/bundled/skills/brainstorm-assistant/SKILL.md +142 -106
- package/bundled/skills/brainstorm-assistant/guide.md +256 -661
- package/bundled/skills/commands/brainstorm.md +51 -30
- package/bundled/skills/knowledge-graph/SKILL.md +5 -5
- package/bundled/skills/knowledge-graph/guide.md +4 -4
- package/package.json +2 -2
- package/src/commands/check.js +11 -2
- package/src/lint/i18n.js +109 -23
- package/standards-registry.json +4 -4
- package/bundled/locales/zh-TW/docs/SKILL-FALLBACK-GUIDE.md +0 -407
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
source: ../../../docs/SKILL-FALLBACK-GUIDE.md
|
|
3
|
-
source_version: 1.0.0
|
|
4
|
-
translation_version: 1.0.0
|
|
5
|
-
last_synced: 2026-03-17
|
|
6
|
-
status: current
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Skill 備援指南
|
|
10
|
-
|
|
11
|
-
> **Language**: [English](../../../docs/SKILL-FALLBACK-GUIDE.md) | 繁體中文
|
|
12
|
-
|
|
13
|
-
**版本**:1.0.0
|
|
14
|
-
**最後更新**:2026-01-28
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## 目的
|
|
19
|
-
|
|
20
|
-
本指南說明當 Claude Code Skills 無法使用時,如何維持 UDS 功能。Skills 提供 AI 最佳化的執行方式,但 Core Standards 確保在 Skills 無法使用時的持續性。
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Skills 無法使用的情況
|
|
25
|
-
|
|
26
|
-
Skills 在以下情況可能無法使用:
|
|
27
|
-
|
|
28
|
-
| 情境 | 原因 | 備援策略 |
|
|
29
|
-
|------|------|----------|
|
|
30
|
-
| **非 Claude Code AI** | 使用 Cursor、Copilot 等其他 AI 工具 | 直接參考 Core Standards |
|
|
31
|
-
| **Claude 未載入 Skills** | Skills 未載入或已停用 | 在 CLAUDE.md 中嵌入快速參考 |
|
|
32
|
-
| **手動開發** | 無 AI 輔助 | 將 Core Standards 作為文件參考 |
|
|
33
|
-
| **新團隊到職** | 尚未採用 Skills | 從 Core Standards 開始 |
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## 架構概覽:Skills 與 Core Standards
|
|
38
|
-
|
|
39
|
-
UDS 框架採用**雙層架構**:
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
43
|
-
│ Skills(執行層) │
|
|
44
|
-
│ ───────────────────────────────────────────────────────────── │
|
|
45
|
-
│ • 快速參考表與決策樹 │
|
|
46
|
-
│ • AI 最佳化、節省 Token │
|
|
47
|
-
│ • 互動式工作流程與設定偵測 │
|
|
48
|
-
│ • 最適合:日常任務、快速查閱 │
|
|
49
|
-
└────────────────────────┬────────────────────────────────────────┘
|
|
50
|
-
│
|
|
51
|
-
▼ 需要深入理解時,參考:
|
|
52
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
53
|
-
│ Core Standards(知識庫) │
|
|
54
|
-
│ ───────────────────────────────────────────────────────────── │
|
|
55
|
-
│ • 完整的理論與邊界案例涵蓋 │
|
|
56
|
-
│ • 工具設定與自動化指南 │
|
|
57
|
-
│ • 「為什麼」的說明與理由 │
|
|
58
|
-
│ • 最適合:深入理解、複雜場景 │
|
|
59
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Skills 提供但 Core Standards 未提供的功能
|
|
63
|
-
|
|
64
|
-
| 功能 | Skill 能力 | Core Standard 替代方案 |
|
|
65
|
-
|------|-----------|----------------------|
|
|
66
|
-
| YAML 格式 | 節省 Token | 完整 Markdown(較冗長) |
|
|
67
|
-
| 設定偵測 | 自動掃描專案 | 手動設定 |
|
|
68
|
-
| 互動式設定 | 首次使用精靈 | 逐步說明文件 |
|
|
69
|
-
| 決策樹 | 視覺化快速參考 | 詳細章節查閱 |
|
|
70
|
-
| 語言偵測 | 自動雙語支援 | 手動選擇 |
|
|
71
|
-
|
|
72
|
-
### Core Standards 提供但 Skills 未提供的功能
|
|
73
|
-
|
|
74
|
-
| 功能 | Core Standard 內容 | Skill 涵蓋範圍 |
|
|
75
|
-
|------|-------------------|---------------|
|
|
76
|
-
| 理論基礎 | IEEE、SWEBOK、ISO 參考 | 最少 |
|
|
77
|
-
| 邊界案例 | 全面涵蓋 | 僅常見案例 |
|
|
78
|
-
| 工具設定 | commitlint、husky、CI/CD | 參考連結 |
|
|
79
|
-
| 理由說明 | 「為什麼」的解釋 | 僅「做什麼」和「怎麼做」 |
|
|
80
|
-
| 程式碼範例 | 多語言、詳細 | 精簡片段 |
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## 各情境的備援策略
|
|
85
|
-
|
|
86
|
-
### 情境 1:使用非 Claude Code 的 AI 工具(Cursor、Copilot 等)
|
|
87
|
-
|
|
88
|
-
**問題**:Claude Code Skills 在其他 AI 工具中無法使用。
|
|
89
|
-
|
|
90
|
-
**解決方案**:在提示中直接參考 Core Standards。
|
|
91
|
-
|
|
92
|
-
**設定步驟**:
|
|
93
|
-
|
|
94
|
-
1. **建立專案層級的 AI 指令檔**:
|
|
95
|
-
|
|
96
|
-
建立 `.cursorrules`、`.copilot-rules` 或對應檔案:
|
|
97
|
-
|
|
98
|
-
```markdown
|
|
99
|
-
# Project Development Standards
|
|
100
|
-
|
|
101
|
-
This project follows Universal Development Standards.
|
|
102
|
-
|
|
103
|
-
## Key Standards to Follow
|
|
104
|
-
|
|
105
|
-
1. **Commit Messages**: Follow Conventional Commits
|
|
106
|
-
- Reference: core/commit-message-guide.md
|
|
107
|
-
|
|
108
|
-
2. **Testing**: Follow Testing Standards
|
|
109
|
-
- Reference: core/testing-standards.md
|
|
110
|
-
|
|
111
|
-
3. **Requirements**: Follow Requirement Engineering Standards
|
|
112
|
-
- Reference: core/requirement-engineering.md
|
|
113
|
-
|
|
114
|
-
## Quick Reference
|
|
115
|
-
|
|
116
|
-
### Commit Format
|
|
117
|
-
<type>(<scope>): <subject>
|
|
118
|
-
|
|
119
|
-
Types: feat, fix, docs, chore, test, refactor, style
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
2. **嵌入快速參考表**:
|
|
123
|
-
|
|
124
|
-
將 Skills 中的關鍵表格複製到你的 AI 設定檔中。
|
|
125
|
-
|
|
126
|
-
### 情境 2:Claude Code 未載入 Skills
|
|
127
|
-
|
|
128
|
-
**問題**:Claude Code 可用但 Skills 未載入。
|
|
129
|
-
|
|
130
|
-
**解決方案**:在 CLAUDE.md 或對話中直接參考 Core Standards。
|
|
131
|
-
|
|
132
|
-
**CLAUDE.md 新增範例**:
|
|
133
|
-
|
|
134
|
-
```markdown
|
|
135
|
-
## Development Standards Reference
|
|
136
|
-
|
|
137
|
-
When Skills are not available, reference these Core Standards:
|
|
138
|
-
|
|
139
|
-
| Task | Core Standard |
|
|
140
|
-
|------|---------------|
|
|
141
|
-
| Writing commits | `core/commit-message-guide.md` |
|
|
142
|
-
| Writing requirements | `core/requirement-engineering.md` |
|
|
143
|
-
| Testing | `core/testing-standards.md` |
|
|
144
|
-
| Code review | `core/code-review-checklist.md` |
|
|
145
|
-
| Check-in | `core/checkin-standards.md` |
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### 情境 3:手動開發(無 AI)
|
|
149
|
-
|
|
150
|
-
**問題**:在無 AI 輔助的情況下工作。
|
|
151
|
-
|
|
152
|
-
**解決方案**:將 Core Standards 作為參考文件使用。
|
|
153
|
-
|
|
154
|
-
**建議工作流程**:
|
|
155
|
-
|
|
156
|
-
1. **開始工作前**:閱讀相關的 Core Standard
|
|
157
|
-
2. **開發期間**:保持標準文件開啟以供參考
|
|
158
|
-
3. **提交前**:對照檢查清單確認
|
|
159
|
-
4. **審查期間**:參考 Code Review Checklist
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## 可嵌入的快速參考表
|
|
164
|
-
|
|
165
|
-
當 Skills 無法使用時,將以下表格嵌入你的 CLAUDE.md 或 AI 設定檔中。
|
|
166
|
-
|
|
167
|
-
### 提交訊息快速參考
|
|
168
|
-
|
|
169
|
-
```markdown
|
|
170
|
-
## Commit Message Format
|
|
171
|
-
|
|
172
|
-
<type>(<scope>): <subject>
|
|
173
|
-
|
|
174
|
-
| Type | Purpose |
|
|
175
|
-
|------|---------|
|
|
176
|
-
| feat | New feature |
|
|
177
|
-
| fix | Bug fix |
|
|
178
|
-
| docs | Documentation |
|
|
179
|
-
| chore | Maintenance |
|
|
180
|
-
| test | Testing |
|
|
181
|
-
| refactor | Refactoring |
|
|
182
|
-
| style | Formatting |
|
|
183
|
-
|
|
184
|
-
Example: `feat(auth): add OAuth2 login support`
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### 需求撰寫快速參考
|
|
188
|
-
|
|
189
|
-
```markdown
|
|
190
|
-
## User Story Format
|
|
191
|
-
|
|
192
|
-
As a [role],
|
|
193
|
-
I want [feature],
|
|
194
|
-
So that [benefit].
|
|
195
|
-
|
|
196
|
-
## INVEST Criteria
|
|
197
|
-
|
|
198
|
-
| Criterion | Question |
|
|
199
|
-
|-----------|----------|
|
|
200
|
-
| Independent | Can be delivered alone? |
|
|
201
|
-
| Negotiable | Details flexible? |
|
|
202
|
-
| Valuable | Who benefits? |
|
|
203
|
-
| Estimable | Can estimate effort? |
|
|
204
|
-
| Small | Fits in one sprint? |
|
|
205
|
-
| Testable | How to verify? |
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### 測試快速參考
|
|
209
|
-
|
|
210
|
-
```markdown
|
|
211
|
-
## Testing Pyramid (Default)
|
|
212
|
-
|
|
213
|
-
| Level | Ratio | Focus |
|
|
214
|
-
|-------|-------|-------|
|
|
215
|
-
| Unit | 70% | Functions/methods |
|
|
216
|
-
| Integration | 20% | Components |
|
|
217
|
-
| System | 7% | Subsystems |
|
|
218
|
-
| E2E | 3% | Workflows |
|
|
219
|
-
|
|
220
|
-
## Test Naming
|
|
221
|
-
|
|
222
|
-
Pattern: should_[expected]_when_[condition]
|
|
223
|
-
Example: should_return_error_when_email_invalid
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### 程式碼審查快速參考
|
|
227
|
-
|
|
228
|
-
```markdown
|
|
229
|
-
## Review Comment Prefixes
|
|
230
|
-
|
|
231
|
-
| Prefix | Meaning |
|
|
232
|
-
|--------|---------|
|
|
233
|
-
| BLOCKING | Must fix |
|
|
234
|
-
| IMPORTANT | Should fix |
|
|
235
|
-
| SUGGESTION | Nice-to-have |
|
|
236
|
-
| QUESTION | Clarification |
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## Core 與 Skill 對應參考
|
|
242
|
-
|
|
243
|
-
當 Skill 無法使用時,使用其對應的 Core Standard:
|
|
244
|
-
|
|
245
|
-
| Skill | Core Standard |
|
|
246
|
-
|-------|---------------|
|
|
247
|
-
| `commit-standards` | `core/commit-message-guide.md` |
|
|
248
|
-
| `testing-guide` | `core/testing-standards.md` |
|
|
249
|
-
| `code-review-assistant` | `core/code-review-checklist.md` |
|
|
250
|
-
| `requirement-assistant` | `core/requirement-engineering.md` |
|
|
251
|
-
| `spec-driven-dev` | `core/spec-driven-development.md` |
|
|
252
|
-
| `tdd-assistant` | `core/test-driven-development.md` |
|
|
253
|
-
| `bdd-assistant` | `core/behavior-driven-development.md` |
|
|
254
|
-
| `atdd-assistant` | `core/acceptance-test-driven-development.md` |
|
|
255
|
-
| `checkin-assistant` | `core/checkin-standards.md` |
|
|
256
|
-
| `documentation-guide` | `core/documentation-writing-standards.md` |
|
|
257
|
-
| `changelog-guide` | `core/changelog-standards.md` |
|
|
258
|
-
| `git-workflow-guide` | `core/git-workflow.md` |
|
|
259
|
-
| `refactoring-assistant` | `core/refactoring-standards.md` |
|
|
260
|
-
| `reverse-engineer` | `core/reverse-engineering-standards.md` |
|
|
261
|
-
| `forward-derivation` | `core/forward-derivation-standards.md` |
|
|
262
|
-
| `ai-instruction-standards` | `core/ai-instruction-standards.md` |
|
|
263
|
-
| `ai-friendly-architecture` | `core/ai-friendly-architecture.md` |
|
|
264
|
-
|
|
265
|
-
### 工具型 Skills(無對應 Core Standard)
|
|
266
|
-
|
|
267
|
-
這些 Skills 是工具,沒有對應的 Core Standards:
|
|
268
|
-
|
|
269
|
-
| Skill | 類型 | 替代方案 |
|
|
270
|
-
|-------|------|----------|
|
|
271
|
-
| `docs-generator` | UDS 專屬工具 | 手動建立模板 |
|
|
272
|
-
| `methodology-system` | 跨領域整合 | 參考個別 Core Standards |
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## 替代工作流程
|
|
277
|
-
|
|
278
|
-
### 無 `commit-standards` Skill 時
|
|
279
|
-
|
|
280
|
-
**手動工作流程**:
|
|
281
|
-
|
|
282
|
-
1. 閱讀 `core/commit-message-guide.md`
|
|
283
|
-
2. 使用以下格式:
|
|
284
|
-
```
|
|
285
|
-
<type>(<scope>): <subject>
|
|
286
|
-
|
|
287
|
-
<body>
|
|
288
|
-
|
|
289
|
-
<footer>
|
|
290
|
-
```
|
|
291
|
-
3. 參考 Core Standard 中的 Conventional Commits 類型表
|
|
292
|
-
|
|
293
|
-
### 無 `testing-guide` Skill 時
|
|
294
|
-
|
|
295
|
-
**手動工作流程**:
|
|
296
|
-
|
|
297
|
-
1. 閱讀 `core/testing-standards.md`
|
|
298
|
-
2. 遵循測試金字塔比例(70/20/7/3)
|
|
299
|
-
3. 使用 Core Standard 中的 ISTQB 術語
|
|
300
|
-
4. 參考邊界案例覆蓋檢查清單
|
|
301
|
-
|
|
302
|
-
### 無 `requirement-assistant` Skill 時
|
|
303
|
-
|
|
304
|
-
**手動工作流程**:
|
|
305
|
-
|
|
306
|
-
1. 閱讀 `core/requirement-engineering.md`
|
|
307
|
-
2. 使用 INVEST 準則撰寫使用者故事
|
|
308
|
-
3. 遵循 IEEE 830 SRS 結構撰寫正式需求
|
|
309
|
-
4. 套用 ISO 25010 進行非功能需求分類
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
## 在其他 AI 工具中嵌入標準
|
|
314
|
-
|
|
315
|
-
### 用於 Cursor(`.cursorrules`)
|
|
316
|
-
|
|
317
|
-
```markdown
|
|
318
|
-
# Cursor Rules
|
|
319
|
-
|
|
320
|
-
## Development Standards
|
|
321
|
-
|
|
322
|
-
Follow UDS Core Standards in this project:
|
|
323
|
-
|
|
324
|
-
### Commits
|
|
325
|
-
- Format: <type>(<scope>): <subject>
|
|
326
|
-
- Types: feat, fix, docs, chore, test, refactor, style
|
|
327
|
-
- Reference: core/commit-message-guide.md
|
|
328
|
-
|
|
329
|
-
### Testing
|
|
330
|
-
- Follow Testing Pyramid (70% unit, 20% integration, 7% system, 3% E2E)
|
|
331
|
-
- Reference: core/testing-standards.md
|
|
332
|
-
|
|
333
|
-
### Requirements
|
|
334
|
-
- Use INVEST criteria for user stories
|
|
335
|
-
- Reference: core/requirement-engineering.md
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### 用於 GitHub Copilot
|
|
339
|
-
|
|
340
|
-
新增至倉儲的 `.github/copilot-instructions.md`:
|
|
341
|
-
|
|
342
|
-
```markdown
|
|
343
|
-
# Copilot Instructions
|
|
344
|
-
|
|
345
|
-
When generating code or documentation, follow these standards:
|
|
346
|
-
|
|
347
|
-
1. Commit messages: Use Conventional Commits format
|
|
348
|
-
2. Tests: Follow TDD, include edge cases
|
|
349
|
-
3. Requirements: Use INVEST criteria
|
|
350
|
-
|
|
351
|
-
See `core/` directory for detailed standards.
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
### 用於通用 AI 工具
|
|
355
|
-
|
|
356
|
-
在專案根目錄建立 `AI-INSTRUCTIONS.md`:
|
|
357
|
-
|
|
358
|
-
```markdown
|
|
359
|
-
# AI Development Instructions
|
|
360
|
-
|
|
361
|
-
This project follows Universal Development Standards.
|
|
362
|
-
|
|
363
|
-
## Quick Reference
|
|
364
|
-
|
|
365
|
-
[Embed quick reference tables here]
|
|
366
|
-
|
|
367
|
-
## Detailed Standards
|
|
368
|
-
|
|
369
|
-
For complete guidelines, see:
|
|
370
|
-
- core/commit-message-guide.md
|
|
371
|
-
- core/testing-standards.md
|
|
372
|
-
- core/requirement-engineering.md
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
---
|
|
376
|
-
|
|
377
|
-
## 備援模式最佳實踐
|
|
378
|
-
|
|
379
|
-
### 應該做的
|
|
380
|
-
|
|
381
|
-
- 保持 Core Standards 在工作區中可存取
|
|
382
|
-
- 在 CLAUDE.md 或對應檔案中建立專案層級快速參考
|
|
383
|
-
- 請求 AI 協助時參考特定章節
|
|
384
|
-
- 當 Core Standards 更新時同步更新快速參考
|
|
385
|
-
|
|
386
|
-
### 不應該做的
|
|
387
|
-
|
|
388
|
-
- 假設 AI 在沒有上下文的情況下了解標準
|
|
389
|
-
- 複製整份 Core Standards(對 AI 上下文而言過於冗長)
|
|
390
|
-
- 因為 Skills 不可用就跳過驗證
|
|
391
|
-
- 建立與 Core 衝突的自訂本地標準
|
|
392
|
-
|
|
393
|
-
---
|
|
394
|
-
|
|
395
|
-
## 版本歷程
|
|
396
|
-
|
|
397
|
-
| 版本 | 日期 | 變更 |
|
|
398
|
-
|------|------|------|
|
|
399
|
-
| 1.0.0 | 2026-01-28 | 初始版本:Skill 備援策略、嵌入指南、替代工作流程 |
|
|
400
|
-
|
|
401
|
-
---
|
|
402
|
-
|
|
403
|
-
## 授權條款
|
|
404
|
-
|
|
405
|
-
本文件以 [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) 授權發布。
|
|
406
|
-
|
|
407
|
-
**來源**:[universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|