.claude/skills/atdd-assistant/SKILL.md
[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事
npx skillsauth add asiaostrich/universal-dev-standards atddInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
語言: English | 繁體中文
引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事。
WORKSHOP ──► DISTILLATION ──► DEVELOPMENT ──► DEMO ──► DONE
PO 提出使用者故事,團隊提出澄清問題,共同定義驗收條件。
將驗收條件轉換為可執行的測試格式,消除歧義,取得 PO 簽核。
執行驗收測試(初始應失敗),使用 BDD/TDD 進行實作,迭代直到全部通過。
展示通過的驗收測試,示範可運作的功能,取得正式驗收。
PO 已驗收,程式碼已合併,故事已關閉。
| 準則 | 說明 | Criterion | Description | |------|------|-----------|-------------| | Independent | 可獨立開發 | Independent | Can be developed separately | | Negotiable | 可協商細節 | Negotiable | Details can be discussed | | Valuable | 提供商業價值 | Valuable | Delivers business value | | Estimable | 可估算工作量 | Estimable | Can estimate effort | | Small | 一個 Sprint 可完成 | Small | Fits in one sprint | | Testable | 有明確驗收條件 | 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直接實作驗收測試
development
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.