Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill tdd-assistant명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
[UDS] 以 Claude 原生 Agent tool 编排多任务执行计划(DAG-based,无外部引擎)。 Use when: executing a plan.json file with parallel/sequential task dependencies. Keywords: orchestrate, plan, execute, DAG, task plan, 编排, 执行计划, 并行.
[UDS] 从 Spec 文档、OpenSpec 变更或自由文本需求生成 plan.json。 Use when: converting specifications into executable task plans for /orchestrate. Keywords: plan, spec, task plan, 计划, 规格, 任务, plan.json, DAG.
[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, 推送, 保护分支, 质量门禁.
| name | tdd-assistant |
| source | ../../../../skills/tdd-assistant/SKILL.md |
| source_version | 1.0.0 |
| translation_version | 1.0.0 |
| last_synced | "2026-02-10T00:00:00.000Z" |
| status | current |
| description | [UDS] 引導測試驅動開發(TDD)流程:紅-綠-重構 |
語言: English | 繁體中文
⚠️ 狀態:參考用(非可執行流程) — TDD 流程協調(RED→GREEN→REFACTOR 循環、測試執行 gates)已於 2026-04-28 移至 adoption layer(XSPEC-095)。此處保留 TDD 原則、FIRST 規則、AAA 格式、語言範例、流程指南供參考;需要強制執行的流程請改用你的 adoption layer 工具鏈。
引導測試驅動開發(TDD)流程:紅-綠-重構。
┌─────┐ ┌───────┐ ┌──────────┐
│ RED │ ────► │ GREEN │ ────► │ REFACTOR │
└─────┘ └───────┘ └──────────┘
▲ │
└────────────────────────────────┘
| 原則 | 說明 | Description |
|---|---|---|
| Fast | 測試快速執行(< 100ms/單元) | Tests run quickly |
| Independent | 測試間無共享狀態 | No shared state between tests |
| Repeatable | 每次結果相同 | Same result every time |
| Self-validating | 明確的通過/失敗結果 | Clear pass/fail result |
| Timely | 在產品程式碼之前撰寫 | Written before production code |
/tdd - 開始互動式 TDD 工作階段/tdd calculateTotal - 對特定函式進行 TDD/tdd "user can login" - 對使用者故事進行 TDD/tdd 完成後,AI 助手應建議:
TDD 循環完成。建議下一步:
- 執行
/checkin通過品質關卡- 執行
/coverage確認測試覆蓋率- 執行
/code-review自我審查程式碼