universal-dev-standards 5.6.0 → 5.7.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/agent-communication-protocol.ai.yaml +8 -9
- package/bundled/ai/standards/agent-dispatch.ai.yaml +8 -9
- package/bundled/ai/standards/branch-completion.ai.yaml +8 -10
- package/bundled/ai/standards/capability-declaration.ai.yaml +4 -4
- package/bundled/ai/standards/change-batching-standards.ai.yaml +8 -10
- package/bundled/ai/standards/circuit-breaker.ai.yaml +7 -7
- package/bundled/ai/standards/disaster-recovery-drill.ai.yaml +1 -1
- package/bundled/ai/standards/dual-phase-output.ai.yaml +3 -3
- package/bundled/ai/standards/execution-history.ai.yaml +8 -10
- package/bundled/ai/standards/failure-source-taxonomy.ai.yaml +8 -10
- package/bundled/ai/standards/git-worktree.ai.yaml +1 -1
- package/bundled/ai/standards/governance-layer.ai.yaml +114 -0
- package/bundled/ai/standards/mock-boundary.ai.yaml +1 -1
- package/bundled/ai/standards/model-selection.ai.yaml +1 -1
- package/bundled/ai/standards/packaging-standards.ai.yaml +8 -8
- package/bundled/ai/standards/pipeline-integration-standards.ai.yaml +8 -9
- package/bundled/ai/standards/pipeline-security-gates.ai.yaml +4 -0
- package/bundled/ai/standards/recovery-recipe-registry.ai.yaml +6 -10
- package/bundled/ai/standards/security-decision.ai.yaml +3 -3
- package/bundled/ai/standards/server-ops-security.ai.yaml +1 -1
- package/bundled/ai/standards/standard-admission-criteria.ai.yaml +1 -1
- package/bundled/ai/standards/standard-lifecycle-management.ai.yaml +1 -1
- package/bundled/ai/standards/supply-chain-attestation.ai.yaml +1 -1
- package/bundled/ai/standards/token-budget.ai.yaml +3 -3
- package/bundled/ai/standards/workflow-enforcement.ai.yaml +8 -11
- package/bundled/ai/standards/workflow-state-protocol.ai.yaml +8 -10
- package/bundled/core/adversarial-test.md +1 -1
- package/bundled/core/agent-behavior-discipline.md +4 -4
- package/bundled/core/agent-communication-protocol.md +5 -5
- package/bundled/core/circuit-breaker.md +4 -4
- package/bundled/core/container-security.md +8 -8
- package/bundled/core/disaster-recovery-drill.md +3 -3
- package/bundled/core/dual-phase-output.md +1 -1
- package/bundled/core/failure-source-taxonomy.md +3 -3
- package/bundled/core/git-worktree.md +1 -1
- package/bundled/core/governance-layer.md +151 -0
- package/bundled/core/llm-output-validation.md +2 -2
- package/bundled/core/mock-boundary.md +1 -1
- package/bundled/core/packaging-standards.md +14 -14
- package/bundled/core/policy-as-code-testing.md +9 -9
- package/bundled/core/recovery-recipe-registry.md +2 -2
- package/bundled/core/release-quality-manifest.md +2 -2
- package/bundled/core/sast-advanced.md +5 -5
- package/bundled/core/secure-op.md +5 -5
- package/bundled/core/security-decision.md +1 -1
- package/bundled/core/server-ops-security.md +15 -15
- package/bundled/core/smoke-test.md +1 -1
- package/bundled/core/standard-admission-criteria.md +1 -1
- package/bundled/core/standard-lifecycle-management.md +1 -1
- package/bundled/core/supply-chain-attestation.md +4 -4
- package/bundled/core/token-budget.md +3 -3
- package/bundled/locales/zh-CN/CHANGELOG.md +51 -4
- package/bundled/locales/zh-CN/README.md +11 -27
- package/bundled/locales/zh-CN/core/agent-communication-protocol.md +5 -5
- package/bundled/locales/zh-CN/core/circuit-breaker.md +1 -1
- package/bundled/locales/zh-CN/core/git-worktree.md +1 -1
- package/bundled/locales/zh-CN/core/packaging-standards.md +14 -14
- package/bundled/locales/zh-CN/core/recovery-recipe-registry.md +6 -9
- package/bundled/locales/zh-CN/core/standard-admission-criteria.md +1 -1
- package/bundled/locales/zh-CN/core/standard-lifecycle-management.md +1 -1
- package/bundled/locales/zh-CN/core/token-budget.md +1 -1
- package/bundled/locales/zh-TW/CHANGELOG.md +51 -4
- package/bundled/locales/zh-TW/README.md +11 -27
- package/bundled/locales/zh-TW/core/agent-communication-protocol.md +5 -5
- package/bundled/locales/zh-TW/core/capability-declaration.md +4 -4
- package/bundled/locales/zh-TW/core/circuit-breaker.md +7 -7
- package/bundled/locales/zh-TW/core/dual-phase-output.md +3 -3
- package/bundled/locales/zh-TW/core/failure-source-taxonomy.md +7 -9
- package/bundled/locales/zh-TW/core/governance-layer.md +159 -0
- package/bundled/locales/zh-TW/core/packaging-standards.md +14 -14
- package/bundled/locales/zh-TW/core/recovery-recipe-registry.md +6 -9
- package/bundled/locales/zh-TW/core/security-decision.md +3 -3
- package/bundled/locales/zh-TW/core/standard-admission-criteria.md +1 -1
- package/bundled/locales/zh-TW/core/standard-lifecycle-management.md +1 -1
- package/bundled/locales/zh-TW/core/token-budget.md +3 -3
- package/bundled/skills/README.md +23 -0
- package/bundled/skills/atdd-assistant/SKILL.md +4 -5
- package/bundled/skills/bdd-assistant/SKILL.md +4 -5
- package/bundled/skills/checkin-assistant/SKILL.md +4 -6
- package/bundled/skills/code-review-assistant/SKILL.md +4 -5
- package/bundled/skills/commands/observability.md +42 -0
- package/bundled/skills/commands/runbook.md +44 -0
- package/bundled/skills/commands/slo.md +45 -0
- package/bundled/skills/journey-test-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 +4 -5
- package/bundled/skills/push/SKILL.md +1 -1
- package/bundled/skills/spec-driven-dev/SKILL.md +4 -5
- package/bundled/skills/sweep/SKILL.md +3 -3
- package/bundled/skills/tdd-assistant/SKILL.md +4 -5
- package/package.json +1 -1
- package/src/commands/flow.js +7 -5
- package/src/commands/start.js +7 -6
- package/src/commands/sweep.js +7 -6
- package/src/commands/workflow.js +7 -6
- package/src/core/agent-communication-protocol.js +10 -3
- package/standards-registry.json +50 -50
|
@@ -20,7 +20,7 @@ status: current
|
|
|
20
20
|
|
|
21
21
|
## 目的
|
|
22
22
|
|
|
23
|
-
Token 阈值四区模型(SAFE/WARNING/DANGER/BLOCKING
|
|
23
|
+
Token 阈值四区模型(SAFE/WARNING/DANGER/BLOCKING),统一各采用层的 token 用量管控行为。
|
|
24
24
|
|
|
25
25
|
各 Agent 对于「快用完 token 了」的处理方式各异(有的直接截断、有的无警告、有的在最后才通知)。本标准定义四个阈值区间,确保所有 Agent 在进入不同区间时采取一致的行为(警告、简化输出、阻塞)。
|
|
26
26
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
source: ../../CHANGELOG.md
|
|
3
|
-
source_version: 5.
|
|
4
|
-
translation_version: 5.
|
|
5
|
-
last_synced: 2026-05-
|
|
3
|
+
source_version: 5.7.0
|
|
4
|
+
translation_version: 5.7.0
|
|
5
|
+
last_synced: 2026-05-08
|
|
6
6
|
status: current
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -17,6 +17,52 @@ status: current
|
|
|
17
17
|
|
|
18
18
|
## [Unreleased]
|
|
19
19
|
|
|
20
|
+
## [5.7.0] - 2026-05-08
|
|
21
|
+
|
|
22
|
+
> **跨平台腳本遷移**(XSPEC-179 + XSPEC-180):bash 腳本逐步被單一來源的
|
|
23
|
+
> TypeScript / Node.js ESM 等價實作取代,可在 macOS / Linux / Windows 上以
|
|
24
|
+
> 相同方式執行。原 `.sh` 檔保留並加上 `DEPRECATED` 警告以維持向後相容。
|
|
25
|
+
|
|
26
|
+
### 新增
|
|
27
|
+
|
|
28
|
+
- **AI 工具表格補全**(`README.md`、`locales/zh-TW/README.md`、`locales/zh-CN/README.md`):補上五個遺漏工具——GitHub Copilot、OpenAI Codex、Aider、Continue、Google Antigravity。新增 ⚠ Minimal 狀態圖例。(`1b588e1`)
|
|
29
|
+
- **`scripts/bump-version.mjs`**(XSPEC-179 Phase 1):跨平台版本升版實作,與原 `.sh` 對等。(`1a44e14`)
|
|
30
|
+
- **`scripts/install-hooks.mjs`**(XSPEC-179 Phase 1):跨平台 git hooks 安裝程式;於 Windows 自動跳過 `chmod`。(`1a44e14`)
|
|
31
|
+
- **`scripts/pre-commit.mjs`**(XSPEC-180):pre-commit hook 的 Node.js ESM 實作,平台分支於 Windows 呼叫 `check-translation-sync.ps1`,其他平台呼叫 `.sh`。(`1572869`)
|
|
32
|
+
- **7 個 TypeScript 檢查腳本**(XSPEC-179 Phase 2,`0a26d14`):從 bash 遷移至單一 TypeScript 來源,透過 `tsx` 執行:
|
|
33
|
+
- `scripts/check-ai-behavior-sync.ts`
|
|
34
|
+
- `scripts/check-commit-spec-reference.ts`
|
|
35
|
+
- `scripts/check-flow-gate-report.ts`
|
|
36
|
+
- `scripts/check-integration-commands-sync.ts`
|
|
37
|
+
- `scripts/check-registry-completeness.ts`
|
|
38
|
+
- `scripts/check-release-readiness-signoff.ts`
|
|
39
|
+
- `scripts/check-workflow-compliance.ts`
|
|
40
|
+
- **`tsx@^4.20.0`** 加入 root `devDependencies`(XSPEC-179 Phase 2,`0a26d14`)。
|
|
41
|
+
- **7 個 npm scripts** 串接 TypeScript 檢查腳本(`0a26d14`):`check:ai-behavior`、`check:commit-spec`、`check:flow-gate`、`check:integration-commands`、`check:registry`、`check:release-signoff`、`check:workflow-compliance`。
|
|
42
|
+
|
|
43
|
+
### 變更
|
|
44
|
+
|
|
45
|
+
- **下游專案解耦**(6 批次,`ebe716c`–`2392c0f`):所有公開敘述中對特定下游產品(DevAP / VibeOps)的直接引用已替換為採用層中性術語,涵蓋 130+ 個檔案。UDS 重申為純 MIT + CC BY 4.0 標準庫,與任何特定採用層無依賴關係。
|
|
46
|
+
- **REGISTRY**:`roo-code` integration tier 從 `planned` 升為 `partial`;AI 工具表格中將 Roo Code 獨立成列(不再與 Cline 合併)。(`1b588e1`)
|
|
47
|
+
- **`.githooks/pre-commit`**(XSPEC-180,`1572869`):從 51 行 bash 縮減為 16 行 POSIX `sh` 薄殼層,將實際邏輯委派給 `scripts/pre-commit.mjs`。
|
|
48
|
+
- **`scripts/bump-version.mjs`**(`19ad314`):新增 `buildCmd()` 輔助函式,於 Windows 自動切換為 PowerShell + `.ps1` 來呼叫 `check-version-sync` / `check-translation-sync`,恢復 Windows 平台對等性。
|
|
49
|
+
- **XSPEC-179 Phase 2 策略修訂**(`0a26d14`):放棄先前的 `.sh` + `.ps1` 雙軌方案,改採**單一 TypeScript 來源**策略。單一 `.ts` 透過 `tsx` 在所有平台上行為一致,消除「只能在 Windows 驗證」的反饋落差。
|
|
50
|
+
|
|
51
|
+
### 棄用
|
|
52
|
+
|
|
53
|
+
- **`scripts/bump-version.sh`**(`1a44e14`):標記為 DEPRECATED,由 `bump-version.mjs` 取代。
|
|
54
|
+
- **`scripts/install-hooks.sh`**(`1a44e14`):標記為 DEPRECATED,由 `install-hooks.mjs` 取代。
|
|
55
|
+
- **7 個 legacy `check-*.sh` 腳本**(`0a26d14`):對應的 `.ts` 版本(如上)已成為 canonical 實作。`.sh` 檔保留供 legacy Linux/macOS 環境使用,但不應再新增功能。
|
|
56
|
+
|
|
57
|
+
### 移除
|
|
58
|
+
|
|
59
|
+
- **`.devap/` 目錄**(`2392c0f`):移除孤兒 DevAP dogfooding 安裝目錄。DevAP 已於 2026-04-28 退場(XSPEC-086/095);UDS 現使用原生 `flows/commit.flow.yaml` 與 `scripts/bump-version.mjs`。
|
|
60
|
+
|
|
61
|
+
### 修復
|
|
62
|
+
|
|
63
|
+
- **`scripts/check-release-readiness-signoff.sh`**(`0a26d14`,於 TypeScript 移植時順帶修復的潛伏 bug):原本錯誤的 `grep -c "0\n0"` 樣式(永遠無法比對到字面 `\n`)已修正,現在能可靠偵測缺漏的 sign-off 訊號。
|
|
64
|
+
- **`scripts/check-integration-commands-sync.sh`**(`0a26d14`,於 TypeScript 移植時順帶修復的潛伏 bug):消除 `find` 與下游 consumer 之間 broken pipe 引發的 SIGPIPE 噪音。
|
|
65
|
+
|
|
20
66
|
## [5.3.2] - 2026-04-27
|
|
21
67
|
|
|
22
68
|
> **修補版本發布**:Bug 修復 —— `uds update -y` 現在會自動安裝/更新 Skills 和 Commands,不再只顯示提示訊息。
|
|
@@ -865,7 +911,8 @@ status: current
|
|
|
865
911
|
- 範本:需求文件範本
|
|
866
912
|
- 整合:OpenSpec 框架
|
|
867
913
|
|
|
868
|
-
[Unreleased]: https://github.com/AsiaOstrich/universal-dev-standards/compare/
|
|
914
|
+
[Unreleased]: https://github.com/AsiaOstrich/universal-dev-standards/compare/v5.7.0...HEAD
|
|
915
|
+
[5.7.0]: https://github.com/AsiaOstrich/universal-dev-standards/compare/v5.6.0...v5.7.0
|
|
869
916
|
[3.4.0]: https://github.com/AsiaOstrich/universal-dev-standards/compare/v3.3.0...v3.4.0
|
|
870
917
|
[3.3.0]: https://github.com/AsiaOstrich/universal-dev-standards/compare/v3.0.0...v3.3.0
|
|
871
918
|
[3.0.0]: https://github.com/AsiaOstrich/universal-dev-standards/compare/v2.3.0...v3.0.0
|
|
@@ -14,7 +14,7 @@ status: current
|
|
|
14
14
|
|
|
15
15
|
> **語言**: [English](../../README.md) | 繁體中文 | [简体中文](../zh-CN/README.md)
|
|
16
16
|
|
|
17
|
-
**版本**: 5.
|
|
17
|
+
**版本**: 5.7.0 | **發布日期**: 2026-04-13 | **授權**: [雙重授權](../../LICENSE) (CC BY 4.0 + MIT)
|
|
18
18
|
|
|
19
19
|
語言無關、框架無關的軟體專案文件標準。透過 AI 原生工作流,確保不同技術堆疊之間的一致性、品質和可維護性。
|
|
20
20
|
|
|
@@ -106,12 +106,18 @@ graph TD
|
|
|
106
106
|
| :--- | :--- | :---: | :---: | :--- |
|
|
107
107
|
| **Claude Code** | ✅ 完整支援 | **29** | **33** | `CLAUDE.md` |
|
|
108
108
|
| **OpenCode** | ✅ 完整支援 | **29** | **33** | `AGENTS.md` |
|
|
109
|
-
| **Gemini CLI** | 🧪 預覽版 | **18+** | **20+** | `GEMINI.md` |
|
|
110
109
|
| **Cursor** | ✅ 完整支援 | **核心** | **模擬支援** | `.cursorrules` |
|
|
111
|
-
| **
|
|
112
|
-
| **
|
|
110
|
+
| **Roo Code** | ✅ 完整支援 | **核心** | **工作流** | `.roo/rules/` |
|
|
111
|
+
| **Gemini CLI** | 🧪 預覽版 | **18+** | **20+** | `GEMINI.md` |
|
|
112
|
+
| **Cline** | 🔶 部分支援 | **核心** | **工作流** | `.clinerules` |
|
|
113
|
+
| **Windsurf** | 🔶 部分支援 | **核心** | **規則書** | `.windsurfrules` |
|
|
114
|
+
| **GitHub Copilot** | 🔶 部分支援 | **核心** | **提示詞** | `.github/copilot-instructions.md` |
|
|
115
|
+
| **OpenAI Codex** | 🔶 部分支援 | **核心** | — | `AGENTS.md` |
|
|
116
|
+
| **Aider** | 🔶 部分支援 | — | — | `AGENTS.md` |
|
|
117
|
+
| **Continue** | 🔶 部分支援 | — | — | `.continue/config.json` |
|
|
118
|
+
| **Google Antigravity** | ⚠️ 最低限度 | — | — | `.antigravity/rules.md` |
|
|
113
119
|
|
|
114
|
-
> **狀態圖例**:✅ 完整支援 | 🧪 預覽版 | 🔶 部分支援 | ⏳ 計畫中
|
|
120
|
+
> **狀態圖例**:✅ 完整支援 | 🧪 預覽版 | 🔶 部分支援 | ⚠️ 最低限度 | ⏳ 計畫中
|
|
115
121
|
|
|
116
122
|
---
|
|
117
123
|
|
|
@@ -153,28 +159,6 @@ uds uninstall # 從專案移除標準
|
|
|
153
159
|
|
|
154
160
|
---
|
|
155
161
|
|
|
156
|
-
## 🌐 生態系統
|
|
157
|
-
|
|
158
|
-
UDS 是 AsiaOstrich 三層產品架構中的**標準定義層**:
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
UDS(定義什麼) → DevAP(代理人如何執行) → VibeOps(完整生命週期)
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
| 層級 | 產品 | 角色 | 授權 |
|
|
165
|
-
|------|------|------|------|
|
|
166
|
-
| 標準 | **UDS** | 開發方法論框架 | MIT + CC BY 4.0 |
|
|
167
|
-
| 編排 | [DevAP](https://github.com/AsiaOstrich/dev-autopilot) | 代理人無關的編排引擎 | MIT |
|
|
168
|
-
| 生命週期 | [VibeOps](https://github.com/AsiaOstrich/vibeops360) | AI 驅動的軟體工廠 | AGPL-3.0-only |
|
|
169
|
-
|
|
170
|
-
- **UDS** 定義開發標準 → 供 DevAP(品質 Gate)和 VibeOps(代理人管線)使用
|
|
171
|
-
- **DevAP** 使用 UDS 標準編排 AI 代理人 → VibeOps 是其消費者之一
|
|
172
|
-
- **VibeOps** 提供完整軟體生命週期 → 透過 `uds init` 整合 UDS(一次複製)
|
|
173
|
-
|
|
174
|
-
UDS 保持**工具無關性**:支援 Claude Code、OpenCode、Gemini CLI、Cursor、Cline 和 Windsurf。DevAP 和 VibeOps 是消費者,並非必要依賴。
|
|
175
|
-
|
|
176
|
-
---
|
|
177
|
-
|
|
178
162
|
## 📄 授權
|
|
179
163
|
|
|
180
164
|
| 元件 | 授權 |
|
|
@@ -12,7 +12,7 @@ status: current
|
|
|
12
12
|
|
|
13
13
|
**版本**: 1.0.0
|
|
14
14
|
**最後更新**: 2026-03-30
|
|
15
|
-
**適用性**:
|
|
15
|
+
**適用性**: 跨採用層 AI Agent 編排(任意 Adapter / Pipeline / Agent runtime 消費 UDS 標準)
|
|
16
16
|
**範圍**: 通用 (Universal)
|
|
17
17
|
**相關標準**: [代理派遣](./agent-dispatch.md)、[AI 模型選擇策略](./model-selection.md)
|
|
18
18
|
**規格**: [SPEC-AGENT-COMM-001](../../../docs/specs/SPEC-AGENT-COMM-001-agent-communication-protocol.md)
|
|
@@ -60,12 +60,12 @@ status: current
|
|
|
60
60
|
| `timeout` | 任務超時 |
|
|
61
61
|
| `unknown` | 無法識別的狀態(降級) |
|
|
62
62
|
|
|
63
|
-
### 1.2
|
|
63
|
+
### 1.2 跨採用層映射
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
跨採用層狀態碼對映表(informative example,採用層自訂自己的對映):
|
|
66
66
|
|
|
67
|
-
| 統一狀態 | UDS |
|
|
68
|
-
|
|
67
|
+
| 統一狀態 | UDS | Adapter Example A | Adapter Example B |
|
|
68
|
+
|----------|-----|-------------------|-------------------|
|
|
69
69
|
| `success` | DONE | success | success |
|
|
70
70
|
| `success_partial` | DONE_WITH_CONCERNS | done_with_concerns | partial |
|
|
71
71
|
| `failed` | — | failed | failure |
|
|
@@ -93,10 +93,10 @@ Fail-Closed 能力聲明:工具/Adapter/Agent 必須顯式聲明安全性
|
|
|
93
93
|
|
|
94
94
|
## 適用組件
|
|
95
95
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
96
|
+
- AgentAdapter 實作(採用層;如 ClaudeAdapter / OpenCodeAdapter / CliAdapter)
|
|
97
|
+
- Tool 呼叫系統(採用層)
|
|
98
|
+
- ToolExecutor 實作(採用層)
|
|
99
|
+
- Agent(採用層;planner / builder / evaluator 等)
|
|
100
100
|
- 所有 MCP 工具插件
|
|
101
101
|
|
|
102
102
|
---
|
|
@@ -31,7 +31,7 @@ status: current
|
|
|
31
31
|
- 任何重試機制必須使用斷路器包裝,不得直接無限重試
|
|
32
32
|
- 斷路器狀態必須透過遙測可觀測(`circuit_breaker_state_change` 事件)
|
|
33
33
|
- OPEN 狀態下的請求必須立即失敗(fail fast),不等待 timeout
|
|
34
|
-
- `failureThreshold` 預設值為 3,與 claude-code-book
|
|
34
|
+
- `failureThreshold` 預設值為 3,與 claude-code-book 及常見 Fix Loop 實作慣例一致
|
|
35
35
|
- 斷路器必須按照「功能單元」建立,不得全域共享單一斷路器
|
|
36
36
|
|
|
37
37
|
---
|
|
@@ -93,12 +93,12 @@ status: current
|
|
|
93
93
|
|
|
94
94
|
## 適用場景
|
|
95
95
|
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
96
|
+
- Fix Loop Agent 呼叫重試(採用層)
|
|
97
|
+
- Judge / Quality Gate 重試(採用層)
|
|
98
|
+
- LLM API 呼叫(不穩定保護;採用層)
|
|
99
|
+
- Feedback Loop 重試(採用層)
|
|
100
|
+
- FLARE 主動檢索重試(採用層)
|
|
101
|
+
- AutoCompact 風格的對話壓縮(claude-code-book 為原始靈感來源)
|
|
102
102
|
|
|
103
103
|
---
|
|
104
104
|
|
|
@@ -116,9 +116,9 @@ IMPORTANT: The <analysis> block is your scratchpad. Only <summary> persists.
|
|
|
116
116
|
|
|
117
117
|
## 適用 Agent
|
|
118
118
|
|
|
119
|
-
-
|
|
120
|
-
-
|
|
121
|
-
-
|
|
119
|
+
- Judge Agent(採用層)
|
|
120
|
+
- Evaluator Agent(採用層)
|
|
121
|
+
- Guardian Agent(採用層)
|
|
122
122
|
- 任何 LLM 驅動的 AutoCompact/摘要組件
|
|
123
123
|
|
|
124
124
|
---
|
|
@@ -32,7 +32,7 @@ status: current
|
|
|
32
32
|
- `failureSource` 為 optional 欄位,不得破壞現有不含此欄位的程式碼
|
|
33
33
|
- 在同一失敗事件中,選擇最根本的來源作為 `failureSource`(例如 `branch_divergence` 比 `compilation` 更根本)
|
|
34
34
|
- `failureSource` 應由偵測到失敗的元件設定(QualityGate / Adapter / SafetyHook / BranchDriftChecker)
|
|
35
|
-
-
|
|
35
|
+
- 各採用層各自獨立定義 `FailureSource` type,語義保持一致
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -134,13 +134,11 @@ test_failure | tool_failure | policy_violation | resource_exhaustion
|
|
|
134
134
|
|
|
135
135
|
## 整合點
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
> 整合指引(informative;具體檔案路徑屬於採用層自訂範圍)。
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
- `packages/core/src/quality-gate.ts` — `QualityGateResult.failureSource` 推斷
|
|
141
|
-
- `packages/adapter-claude/src/claude-adapter.ts` — `resource_exhaustion` 映射
|
|
139
|
+
### 預期呼叫點
|
|
142
140
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
- `
|
|
146
|
-
-
|
|
141
|
+
- 核心型別模組 — `TaskResult.failureSource` / `FailureSource` type
|
|
142
|
+
- quality-gate 模組 — `QualityGateResult.failureSource` 推斷
|
|
143
|
+
- agent adapter — `resource_exhaustion` / `network_error` 映射
|
|
144
|
+
- pipeline runner — `agent:error` / `agent:retry` 事件 payload
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
source: ../../../core/governance-layer.md
|
|
3
|
+
source_version: 1.0.0
|
|
4
|
+
translation_version: 1.0.0
|
|
5
|
+
last_synced: 2026-05-07
|
|
6
|
+
status: current
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# 治理層標準
|
|
10
|
+
|
|
11
|
+
> **語言**: [English](../../../core/governance-layer.md) | 繁體中文
|
|
12
|
+
|
|
13
|
+
**版本**: 1.0.0
|
|
14
|
+
**最後更新**: 2026-05-07
|
|
15
|
+
**適用範圍**: 所有具有多 Agent 或多角色 AI 工作流程的軟體專案
|
|
16
|
+
**範疇**: universal
|
|
17
|
+
**產業標準**: 無(UDS 原創)
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 目的
|
|
22
|
+
|
|
23
|
+
治理層為專案中所有 Agent 與角色提供共同錨點:
|
|
24
|
+
Vision(方向)→ Mission(邊界 + 紅線)→ Goals(可量測的 KPI)。
|
|
25
|
+
|
|
26
|
+
它是 **Standard #0**:在所有其他標準之前評估。當本標準與其他領域標準發生衝突時,本標準優先。
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 三層架構
|
|
31
|
+
|
|
32
|
+
### Vision(願景)
|
|
33
|
+
|
|
34
|
+
| 欄位 | 要求 |
|
|
35
|
+
|------|------|
|
|
36
|
+
| 格式 | 單一句子,≤ 50 tokens |
|
|
37
|
+
| 內容 | 長期方向;永恆不變;不含量測指標 |
|
|
38
|
+
| 變更頻率 | 每年審查 |
|
|
39
|
+
|
|
40
|
+
**範例**:
|
|
41
|
+
> "成為全球軟體團隊最值得信賴的 AI 開發工作流程標準。"
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### Mission(使命)
|
|
46
|
+
|
|
47
|
+
| 欄位 | 要求 |
|
|
48
|
+
|------|------|
|
|
49
|
+
| 格式 | 3–5 項承諾陳述 + 紅線清單(合計 ≤ 300 tokens) |
|
|
50
|
+
| 內容 | 我們做什麼 / 不做什麼;含觸發條件與處置動作的紅線 |
|
|
51
|
+
| 變更頻率 | 每季審查 |
|
|
52
|
+
|
|
53
|
+
**紅線必備欄位**:
|
|
54
|
+
|
|
55
|
+
| 欄位 | 型別 | 說明 |
|
|
56
|
+
|------|------|------|
|
|
57
|
+
| `id` | 字串 | 唯一識別碼(例如:R1、GUARD-001) |
|
|
58
|
+
| `category` | 字串 | 分類(quality / safety / compliance / ethics) |
|
|
59
|
+
| `clause` | 字串 | 人類可讀的禁止或要求陳述 |
|
|
60
|
+
| `action` | 列舉 | `block` \| `warn` \| `escalate_to_human` 之一 |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
### Goals(目標)
|
|
65
|
+
|
|
66
|
+
| 欄位 | 要求 |
|
|
67
|
+
|------|------|
|
|
68
|
+
| 格式 | KPI 清單,≤ 500 tokens |
|
|
69
|
+
| 變更頻率 | 每個 Sprint 校準 |
|
|
70
|
+
| 可否證性 | 每個 KPI 必須可量測——禁止使用「改善」、「提升」等模糊詞彙 |
|
|
71
|
+
|
|
72
|
+
**KPI 必備欄位**:
|
|
73
|
+
|
|
74
|
+
| 欄位 | 型別 | 說明 |
|
|
75
|
+
|------|------|------|
|
|
76
|
+
| `id` | 字串 | 唯一識別碼(例如:KPI-01) |
|
|
77
|
+
| `metric_name` | 字串 | 追蹤的指標名稱 |
|
|
78
|
+
| `threshold` | 字串 | 量化目標(例如:≥ 95%、< 200 ms) |
|
|
79
|
+
| `measurement_method` | 字串 | 量測方式與時機 |
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 優先順序
|
|
84
|
+
|
|
85
|
+
治理層對所有其他標準具有**更高優先權**。衝突時的解析順序:
|
|
86
|
+
|
|
87
|
+
1. **治理層**(本標準)— 方向、紅線、KPI
|
|
88
|
+
2. **領域標準**(測試、提交訊息、部署等)
|
|
89
|
+
3. **專案特定覆寫**(本地 `.standards/` 客製化)
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 紅線格式
|
|
94
|
+
|
|
95
|
+
每條紅線必須包含所有必備欄位。執行動作說明:
|
|
96
|
+
|
|
97
|
+
| 動作 | 行為 |
|
|
98
|
+
|------|------|
|
|
99
|
+
| `block` | 立即停止 pipeline;不繼續執行 |
|
|
100
|
+
| `warn` | 記錄違規並繼續;超過閾值時升級 |
|
|
101
|
+
| `escalate_to_human` | 暫停並要求人類決策後才繼續 |
|
|
102
|
+
|
|
103
|
+
此外,每條紅線應包含 `mission_clause_ref` 欄位,參照其所強制執行的使命承諾。
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 評估器整合
|
|
108
|
+
|
|
109
|
+
當專案使用 AI 評估器 Agent 時,治理層提供評分錨點:
|
|
110
|
+
|
|
111
|
+
| 評估軸 | 權重 | 否決閾值 |
|
|
112
|
+
|--------|------|----------|
|
|
113
|
+
| 正確性 | 0.4 | < 0.3 → 不通過 |
|
|
114
|
+
| 使命對齊度 | 0.3 | < 0.3 → 不通過 |
|
|
115
|
+
| 目標達成度 | 0.3 | < 0.3 → 不通過 |
|
|
116
|
+
|
|
117
|
+
- **mission_alignment_score**:輸出與使命承諾的對齊程度
|
|
118
|
+
- **goal_achievement_score**:輸出推進目標 KPI 的程度
|
|
119
|
+
- 任何單一評估軸低於 0.3 即觸發不通過,無論加權總分為何
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## 風險接受(trace_only 模式)
|
|
124
|
+
|
|
125
|
+
若專案放寬人工閘門(例如 `gate.mode = trace_only`),必須在 `mission.md` 中明確撰寫**風險接受條款**,包含:
|
|
126
|
+
|
|
127
|
+
| 必填欄位 | 說明 |
|
|
128
|
+
|----------|------|
|
|
129
|
+
| `date` | 接受風險的日期 |
|
|
130
|
+
| `signatory` | 接受風險的人員或角色 |
|
|
131
|
+
| `gates_bypassed` | 列舉所有繞過的人工閘門 |
|
|
132
|
+
| `risks_accepted` | 明確描述已接受的風險 |
|
|
133
|
+
|
|
134
|
+
若無有效的風險接受條款,pipeline **必須拒絕啟動(fail-closed)**。
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## 治理檔案結構
|
|
139
|
+
|
|
140
|
+
採用本標準的專案應維護以下檔案:
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
governance/
|
|
144
|
+
├── vision.md # 單一句子願景陳述
|
|
145
|
+
├── mission.md # 承諾 + 紅線清單
|
|
146
|
+
└── goals.md # KPI 清單(每個 Sprint 更新)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 合規檢查清單
|
|
152
|
+
|
|
153
|
+
- [ ] Vision 為單一句子且 ≤ 50 tokens,不含量測指標
|
|
154
|
+
- [ ] Mission 有 3–5 項承諾及含所有必備欄位的紅線清單
|
|
155
|
+
- [ ] 每條紅線均有:id、category、clause、action
|
|
156
|
+
- [ ] Goals 清單存在,每個 KPI 均含:id、metric_name、threshold、measurement_method
|
|
157
|
+
- [ ] 沒有任何 KPI 使用模糊詞彙(「改善」、「提升」、「更好」)
|
|
158
|
+
- [ ] 若 `gate.mode = trace_only`,`mission.md` 中存在風險接受條款
|
|
159
|
+
- [ ] 所有 AI 評估器以 0.4/0.3/0.3 權重評分,且任一軸 < 0.3 即不通過
|
|
@@ -12,19 +12,19 @@ status: current
|
|
|
12
12
|
|
|
13
13
|
**版本**: 1.0.0
|
|
14
14
|
**最後更新**: 2026-04-15
|
|
15
|
-
**適用性**: 使用 UDS
|
|
15
|
+
**適用性**: 使用 UDS-aware 工具鏈的專案
|
|
16
16
|
**範圍**: 通用 (Universal)
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
## 目的
|
|
21
21
|
|
|
22
|
-
本標準定義一套基於 Recipe 的打包框架,讓使用者專案可在
|
|
22
|
+
本標準定義一套基於 Recipe 的打包框架,讓使用者專案可在 專案 packaging 配置(路徑由採用層決定) 中宣告打包目標(target)。UDS 負責提供 Recipe 定義與內建 Recipe 函式庫;採用層 runtime 在 pipeline 中執行編排。
|
|
23
23
|
|
|
24
24
|
框架的關注點分離如下:
|
|
25
25
|
- **使用者專案**:宣告「打包什麼」(targets + 設定覆蓋)
|
|
26
26
|
- **UDS**:定義「如何打包」(Recipe 結構 + 內建 Recipes)
|
|
27
|
-
-
|
|
27
|
+
- **採用層 pipeline**:執行「何時打包」(在 Review 與 Deploy 之間的 pipeline 階段)
|
|
28
28
|
|
|
29
29
|
---
|
|
30
30
|
|
|
@@ -33,9 +33,9 @@ status: current
|
|
|
33
33
|
| 原則 | 說明 |
|
|
34
34
|
|------|------|
|
|
35
35
|
| **Recipe-based** | 每個打包目標都參照一個具名 Recipe;不在 pipeline YAML 中撰寫臨時腳本 |
|
|
36
|
-
| **宣告式 targets** | 專案在
|
|
36
|
+
| **宣告式 targets** | 專案在 專案 packaging 配置(路徑由採用層決定) 中宣告 targets;採用層 runtime 負責解析與執行 |
|
|
37
37
|
| **可客製化** | 四個客製化層允許設定覆蓋、Hook 注入、自訂 Recipe 及 Escape Hatch |
|
|
38
|
-
| **整合至 Pipeline** | 打包作為獨立階段運行於
|
|
38
|
+
| **整合至 Pipeline** | 打包作為獨立階段運行於 採用層 pipeline 的 Review 與 Deploy 之間 |
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
@@ -119,15 +119,15 @@ UDS 隨附四個內建 Recipe,位於 `recipes/` 目錄:
|
|
|
119
119
|
|
|
120
120
|
| 層級 | 機制 | 使用時機 |
|
|
121
121
|
|------|------|----------|
|
|
122
|
-
| **L1 — 設定覆蓋** |
|
|
123
|
-
| **L2 — Hook 注入** |
|
|
124
|
-
| **L3 — 自訂 Recipe** | 專案 `.
|
|
122
|
+
| **L1 — 設定覆蓋** | 專案 packaging 配置(路徑由採用層決定) 中的 `config:` 區塊 | 更改預設值(registry URL、tag、輸出目錄)|
|
|
123
|
+
| **L2 — Hook 注入** | 專案 packaging 配置(路徑由採用層決定) 中的 `hooks:` 區塊 | 在建置或發佈前後執行額外指令 |
|
|
124
|
+
| **L3 — 自訂 Recipe** | 專案 `.uds/recipes/` 中的新 `.yaml` 檔案 | 完全不同的建置流程;內建 Recipe 不適用 |
|
|
125
125
|
| **L4 — Escape Hatch** | target 定義中以 `script:` 取代 `recipe:` | 原始 shell 腳本,無適合的 Recipe 抽象 |
|
|
126
126
|
|
|
127
127
|
### L1 範例 — 設定覆蓋
|
|
128
128
|
|
|
129
129
|
```yaml
|
|
130
|
-
# .
|
|
130
|
+
# .uds/packaging.yaml
|
|
131
131
|
targets:
|
|
132
132
|
- name: publish-npm
|
|
133
133
|
recipe: npm-library
|
|
@@ -140,7 +140,7 @@ targets:
|
|
|
140
140
|
### L2 範例 — Hook 注入
|
|
141
141
|
|
|
142
142
|
```yaml
|
|
143
|
-
# .
|
|
143
|
+
# .uds/packaging.yaml
|
|
144
144
|
targets:
|
|
145
145
|
- name: docker-push
|
|
146
146
|
recipe: docker-service
|
|
@@ -153,7 +153,7 @@ targets:
|
|
|
153
153
|
### L3 範例 — 自訂 Recipe
|
|
154
154
|
|
|
155
155
|
```yaml
|
|
156
|
-
# .
|
|
156
|
+
# .uds/recipes/electron-app.yaml
|
|
157
157
|
name: electron-app
|
|
158
158
|
description: 建置 Electron 桌面應用程式
|
|
159
159
|
requires:
|
|
@@ -169,7 +169,7 @@ config:
|
|
|
169
169
|
### L4 範例 — Escape Hatch
|
|
170
170
|
|
|
171
171
|
```yaml
|
|
172
|
-
# .
|
|
172
|
+
# .uds/packaging.yaml
|
|
173
173
|
targets:
|
|
174
174
|
- name: legacy-bundle
|
|
175
175
|
script: |
|
|
@@ -187,9 +187,9 @@ targets:
|
|
|
187
187
|
|------|------|------|
|
|
188
188
|
| 所有 `requires` 檔案存在 | 100% | 在任何步驟執行前檢查 |
|
|
189
189
|
| 所有步驟以 exit code 0 結束 | 100% | 任何非零 exit 使執行失敗 |
|
|
190
|
-
| `postBuild` 產出物存在 | 存在於預期路徑 |
|
|
190
|
+
| `postBuild` 產出物存在 | 存在於預期路徑 | 建置步驟後由採用層 runtime 驗證 |
|
|
191
191
|
| Hook 指令以 exit code 0 結束 | 100% | Hook 失敗會傳播為步驟失敗 |
|
|
192
|
-
| 已發佈產出物可被取回 | HTTP 200 / registry 查詢成功 |
|
|
192
|
+
| 已發佈產出物可被取回 | HTTP 200 / registry 查詢成功 | 由採用層 runtime 在發佈後進行 smoke check |
|
|
193
193
|
|
|
194
194
|
### 失敗處理
|
|
195
195
|
|
|
@@ -133,14 +133,11 @@ fix_loop | circuit_breaker | rebase_and_retry | model_switch | degraded_mode | h
|
|
|
133
133
|
|
|
134
134
|
## 整合點
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
> 整合指引(informative;具體檔案路徑屬於採用層自訂範圍)。
|
|
137
137
|
|
|
138
|
-
|
|
139
|
-
- `packages/core/src/recovery-registry.ts` — Registry 實作與預設 recipe
|
|
140
|
-
- `packages/core/src/orchestrator.ts` — fix loop 前查詢 Registry
|
|
138
|
+
### 預期呼叫點
|
|
141
139
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
- `recovery-recipes.yaml` — 預設 recipe 配置
|
|
140
|
+
- 核心型別模組 — `RecoveryRecipe` / `RecoveryStrategy` type
|
|
141
|
+
- recovery-registry 模組 — Registry 實作與預設 recipe
|
|
142
|
+
- orchestrator 模組 — fix loop 前查詢 Registry
|
|
143
|
+
- recovery-recipes 配置檔 — 預設 recipe 配置(檔名由採用層決定)
|
|
@@ -104,9 +104,9 @@ deny | ask | allow
|
|
|
104
104
|
|
|
105
105
|
## 適用組件
|
|
106
106
|
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
107
|
+
- Safety Hook(採用層)
|
|
108
|
+
- CommandPolicy(採用層)
|
|
109
|
+
- Governance Framework(採用層;OPA / Cedar / 自訂 policy engine 皆可)
|
|
110
110
|
- 任何多來源規則合併的安全仲裁場景
|
|
111
111
|
|
|
112
112
|
---
|
|
@@ -85,7 +85,7 @@ Deprecated ──(遷移完成)────────→ Archived
|
|
|
85
85
|
|
|
86
86
|
## 情境範例
|
|
87
87
|
|
|
88
|
-
- **情境 1 — Trial → Active**:`retry-standards` 處於 trial。2026-08-01
|
|
88
|
+
- **情境 1 — Trial → Active**:`retry-standards` 處於 trial。2026-08-01 審視發現多個採用層(Fix Loop / Builder Agent 等)均採用且無重大缺陷 → 轉 Active,`since=2026-08-01`,移除 `expires`
|
|
89
89
|
- **情境 2 — Trial 逾期自動 Archived**:某標準 trial 期限 2026-10-17 到期未通過驗證 → 狀態轉 Archived,記錄原因
|
|
90
90
|
- **情境 3 — Deprecated 帶遷移**:`legacy-retry-logic` 被 `retry-standards` 取代 → `status=deprecated, supersedes=retry-standards, migration_guide=docs/migrations/retry-v1-to-v2.md`;Skill 使用時顯示警告
|
|
91
91
|
|
|
@@ -127,9 +127,9 @@ safe | warning | danger | blocking
|
|
|
127
127
|
|
|
128
128
|
## 適用場景
|
|
129
129
|
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
130
|
+
- Task 執行(Token 預算監控;採用層)
|
|
131
|
+
- 多 Agent Pipeline(跨 Agent 累積上下文監控;採用層)
|
|
132
|
+
- PipelineMemory Snip 觸發條件(採用層)
|
|
133
133
|
- 任何有 `maxTotalTokens` 限制的 Agent 執行環境
|
|
134
134
|
|
|
135
135
|
---
|
package/bundled/skills/README.md
CHANGED
|
@@ -67,6 +67,29 @@ These skills provide standard guidance and workflows. They can be accessed via s
|
|
|
67
67
|
|
|
68
68
|
> **Note**: For reference guides (e.g., Git Workflow, Logging, Error Codes), use the `/guide` command.
|
|
69
69
|
|
|
70
|
+
## Skill Tiers (Listing Budget Optimization)
|
|
71
|
+
|
|
72
|
+
> Background: Claude Code reserves a fraction of context (default 1%) for skill listings via `skillListingBudgetFraction`. With 40+ UDS skills and adopter-installed plugins, descriptions can be truncated. UDS organizes skills into three tiers so adopters can optionally suppress less-used descriptions while keeping skills callable via `/<name>`.
|
|
73
|
+
>
|
|
74
|
+
> See [DEC-061](https://github.com/AsiaOstrich/dev-platform/blob/main/cross-project/decisions/DEC-061-uds-skill-listing-budget.md) for the decision and tradeoffs. Reference settings live in [`examples/skill-overrides-recommended.json`](../examples/skill-overrides-recommended.json). Detailed tuning: [`docs/skill-budget-tuning.md`](../docs/skill-budget-tuning.md).
|
|
75
|
+
|
|
76
|
+
### Tier 1 — Core (daily use)
|
|
77
|
+
**Listing default**: `"on"` (full description shown). Always auto-discoverable.
|
|
78
|
+
|
|
79
|
+
`commit-standards`, `push`, `git-workflow-guide`, `tdd-assistant`, `bdd-assistant`, `testing-guide`, `code-review-assistant`, `refactoring-assistant`, `requirement-assistant`, `spec-driven-dev`, `adr-assistant`, `dev-workflow-guide`, `checkin-assistant`
|
|
80
|
+
|
|
81
|
+
### Tier 2 — Advanced (weekly use)
|
|
82
|
+
**Listing default**: `"on"` (full description shown).
|
|
83
|
+
|
|
84
|
+
`atdd-assistant`, `e2e-assistant`, `journey-test-assistant`, `contract-test-assistant`, `security-assistant`, `deploy-assistant`, `ci-cd-assistant`, `error-code-guide`, `logging-guide`, `documentation-guide`, `api-design-assistant`, `database-assistant`, `project-structure-guide`, `ai-instruction-standards`, `release-standards`, `changelog-guide`, `test-coverage-assistant`, `pr-automation-assistant`, `spec-derivation`, `reverse-engineer`, `project-discovery`, `dev-methodology`, `audit-assistant`, `docs-generator`
|
|
85
|
+
|
|
86
|
+
### Tier 3 — Specialist (monthly or event-driven)
|
|
87
|
+
**Listing default**: `"name-only"` in reference overrides — saves tokens; **still callable via `/<name>`**.
|
|
88
|
+
|
|
89
|
+
`incident-response-assistant`, `observability-assistant`, `slo-assistant`, `runbook-assistant`, `retrospective-assistant`, `durable-execution-assistant`, `metrics-dashboard-assistant`, `migration-assistant`, `security-scan-assistant`, `brainstorm-assistant`, `skill-builder`
|
|
90
|
+
|
|
91
|
+
> Tier rationale & criteria: [`flows/skill-tiering-rationale.md`](../flows/skill-tiering-rationale.md). Adopters may freely override the reference (promote a Tier 3 skill to `"on"` if they use it daily, or demote any to `"name-only"`).
|
|
92
|
+
|
|
70
93
|
## Tool Adapters
|
|
71
94
|
|
|
72
95
|
Specific configurations for various AI tools are located in `skills/tools/`.
|
|
@@ -7,11 +7,10 @@ argument-hint: "[feature or spec | 功能或規格]"
|
|
|
7
7
|
---
|
|
8
8
|
<!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
|
|
9
9
|
ATDD lifecycle orchestration (5-phase: WORKSHOP→DISTILLATION→DEVELOPMENT→DEMO→DONE,
|
|
10
|
-
INVEST validation, AC→Gherkin conversion, RED/GREEN execution, PO sign-off gates)
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Use `devap atdd` for enforced lifecycle; this Skill for format and principle reference.
|
|
10
|
+
INVEST validation, AC→Gherkin conversion, RED/GREEN execution, PO sign-off gates) relocated to
|
|
11
|
+
adoption layer (XSPEC-095, 2026-04-28). This Skill retains: INVEST criteria table, ATDD cycle
|
|
12
|
+
diagram, Gherkin AC format, Three Amigos structure.
|
|
13
|
+
For enforced lifecycle execution, use your adoption layer's toolchain.
|
|
15
14
|
-->
|
|
16
15
|
|
|
17
16
|
# ATDD Assistant | ATDD 助手
|
|
@@ -6,11 +6,10 @@ allowed-tools: Read, Write, Grep, Glob
|
|
|
6
6
|
argument-hint: "[feature or spec | 功能或規格]"
|
|
7
7
|
---
|
|
8
8
|
<!-- DEPRECATION NOTICE (XSPEC-086 Phase 4, 2026-04-28):
|
|
9
|
-
BDD lifecycle orchestration (4-phase cycle, Gherkin scaffolding, RED/GREEN execution)
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Use `devap bdd` for enforced cycle; this Skill for format and principle reference.
|
|
9
|
+
BDD lifecycle orchestration (4-phase cycle, Gherkin scaffolding, RED/GREEN execution) relocated to
|
|
10
|
+
adoption layer (XSPEC-095, 2026-04-28). This Skill retains: Gherkin format definition, Three
|
|
11
|
+
Amigos structure, BDD cycle diagram.
|
|
12
|
+
For enforced lifecycle execution, use your adoption layer's toolchain.
|
|
14
13
|
-->
|
|
15
14
|
|
|
16
15
|
# BDD Assistant | BDD 助手
|