Skip to content
Skills Library
Programming · Testing

atdd

/atdd

[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事

Licence
MIT
Last repository change
27.10.2026

Assessment and security

87/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability17 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事

Arguments

/atdd [feature or spec | 功能或規格]
Original author description

[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事

How it works

  1. ATDD 循環
  2. 工作流程
  3. INVEST 準則
  4. 使用者故事格式
  5. 使用方式
  6. 下一步引導
  7. 參考
Original SKILL.md headings · 70 lines, 222 words
SKILL.md preview
---
source: ../../../../skills/atdd-assistant/SKILL.md
source_version: 1.0.0
translation_version: 1.0.0
last_synced: 2026-02-10
status: current
description: "[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事"
name: atdd
allowed-tools: Read, Write, Grep, Glob
scope: partial
argument-hint: "[feature or spec | 功能或規格]"
---

# ATDD 助手

> **語言**: [English](../../../../skills/atdd-assistant/SKILL.md) | 繁體中文

引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事。

## ATDD 循環

WORKSHOP ──► DISTILLATION ──► DEVELOPMENT ──► DEMO ──► DONE

## 工作流程

### 1. WORKSHOP - 定義驗收條件
PO 提出使用者故事,團隊提出澄清問題,共同定義驗收條件。

### 2. DISTILLATION - 轉換為測試
將驗收條件轉換為可執行的測試格式,消除歧義,取得 PO 簽核。

### 3. DEVELOPMENT - 實作
執行驗收測試(初始應失敗),使用 BDD/TDD 進行實作,迭代直到全部通過。

### 4. DEMO - 向利害關係人展示
展示通過的驗收測試,示範可運作的功能,取得正式驗收。

### 5. DONE - 完成
PO 已驗收,程式碼已合併,故事已關閉。

## INVEST 準則

| 準則 | 說明 | Criterion | Description |
|------|------|-----------|-------------|
| **I**ndependent | 可獨立開發 | Independent | Can be developed separately |
| **N**egotiable | 可協商細節 | Negotiable | Details can be discussed |
| **V**aluable | 提供商業價值 | Valuable | Delivers business value |
| **E**stimable | 可估算工作量 | Estimable | Can estimate effort |
| **S**mall | 一個 Sprint 可完成 | Small | Fits in one sprint |
| **T**estable | 有明確驗收條件 | Testable | Has clear acceptance criteria |

## 使用者故事格式

```
As a [role],
I want [feature],
So that [benefit].

### Acceptance Criteria
- Given [context], when [action], then [result]
```

## 使用方式

- `/atdd` - 啟動互動式 ATDD 會話
- `/atdd "user can reset password"` - 針對特定功能進行 ATDD
- `/atdd US-123` - 針對現有使用者故事進行 ATDD

## 下一步引導

`/atdd` 完成後,AI 助手應建議:

> **驗收測試已定義。建議下一步:**
> - 執行 `/sdd` 建立規格文件
> - 執行 `/bdd` 將 AC 轉為 Gherkin 場景
> - 執行 `/tdd` 直接實作驗收測試

## 參考

- 詳細指南:[guide.md](./guide.md)
- 核心規範:[acceptance-test-driven-development.md](../../../../core/acceptance-test-driven-development.md)
Files in this package (4)
  • SKILL.md 3 KB
  • acceptance-criteria-guide.md 10 KB
  • atdd-workflow.md 22 KB
  • guide.md 11 KB

Versions

RepositoryScoreLicence
This page · AsiaOstrich/universal-dev-standards87MIT
swingerman/engineer100MIT
AsiaOstrich/universal-dev-standards95MIT
AsiaOstrich/universal-dev-standards95MIT
swingerman/engineer90MIT

Database snapshot: 13.11.2026 · package version 6f7c71e2e2bd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90bmad-testarch-atdd
    Generate red-phase acceptance test scaffolds using the TDD cycle. Use when the user says "lets write acceptance tests" or "I want to do ATDD
  • 90atdd-developer
    This skill should be used when implementing features using Acceptance Test Driven Development. It guides through the RED/GREEN/REFACTOR cycle with explicit permission gates between phases.
  • 95spec-derive
    [UDS] 从已批准的规格推导出 BDD 场景、TDD 骨架、集成与 E2E 测试,以及 ATDD 表格。 Use when: 规格已批准且需要产出测试产物、从验收条件生成带标签的测试骨架、从规格生成契约桩。 Not for: 从既有代码回推规格——请用 /reverse;撰写或审查规格本身——请用 /sdd。 Keywords: forward derivation, spec to test, BDD scenario, TDD skeleton, ATDD table, 正向推演, 规格衍生, 测试生成, 契约桩.
  • 90atdd-team
    Use to orchestrate a team-based ATDD workflow — six phases (spec writing, spec review, pipeline generation, implementation, refine, verify & harden) each handled by a fresh agent so no role erodes across a long-running feature. Triggers — "build a feature with a team", "use ATDD…
  • 100atdd-assistant
    [UDS] 驗收測試驅動開發(ATDD)的參考資料:INVEST 準則、Gherkin 驗收條件格式與 Three Amigos 結構。 Use when: 與 Product Owner 一起定義驗收條件、進行規格工作坊、用 INVEST 檢視使用者故事。 Not for: 執行 ATDD 生命週期或強制 PO 簽核關卡——該部分已移至採用層(XSPEC-095);撰寫單元測試——請用 /tdd。 Keywords: ATDD, acceptance test, acceptance criteria, INVEST, specification…
  • 100059-design-atdd
    Use when reviewing whether an OpenSpec change's execution goal, acceptance criteria, and implementation or verification tasks are aligned. This should trigger for requests such as Review this OpenSpec change with ATDD; Check acceptance criteria against tasks; Find acceptance…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.