i18n/zh-TW/sdd/SKILL.md
規格驅動開發 (SDD):一個結構化工作流程(需求 -> 分析 -> 實作),要求在編寫程式碼前必須有明確的文件。
npx skillsauth add tai-ch0802/skills-bundle sddInstall 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.
此技能整合 PRD(需求) 和 SA(分析) 知識,定義標準開發工作流程。核心原則是 「沒有規格,就沒有程式碼」。
flowchart LR
A[使用者需求] --> B[PRD 階段]
B --> C{審核}
C -->|通過| D[SA 階段]
C -->|退回| B
D --> E{審核}
E -->|通過| F[實作]
E -->|退回| D
F --> G[驗證]
G -->|通過| H[完成]
G -->|失敗| F
⚠️ 必要設定:使用此技能前,請根據你的專案結構自訂規格目錄路徑。
預設情況下,此技能參考 /docs/specs/ 作為文件位置。請更新以下檔案中的路徑:
sdd/SKILL.md)sdd/references/tasks.mdyour-project/
├── docs/
│ └── specs/ ← 自訂此路徑
│ ├── feature/
│ │ └── ISSUE-101_feature-name/
│ │ ├── PRD_spec.md
│ │ └── SA_spec.md
│ └── fix/
│ └── ISSUE-102_bug-name/
│ ├── PRD_spec.md
│ └── SA_spec.md
此工作流程使用三階段開發模型。所有產出物儲存在可設定的規格目錄中。
{SPECS_DIR}/{type}/{ID-PREFIX}_{desc}/PRD_spec.mdprd(參見 ../prd/SKILL.md)sdd/references/requirements.md{SPECS_DIR}/{type}/{ID-PREFIX}_{desc}/SA_spec.mdsa(參見 ../sa/SKILL.md)sdd/references/design.mdsdd/references/tasks.mdSA_spec.md 編寫程式碼PRD_spec.md 的驗收條件進行驗證目錄名稱格式:{ID_PREFIX}_{short-description}
ID_PREFIX 有三種類型:
ISSUE-123_tab-groupsPR-456_typo-fixBASE-001_initial-architecture{SPECS_DIR}/
├── feature/
│ └── ISSUE-101_tab-groups/ <-- 標準流程
│ ├── PRD_spec.md
│ └── SA_spec.md
└── fix/
└── BASE-002_sync-bug/ <-- 歷史/基線
├── PRD_spec.md
└── SA_spec.md
當收到使用者任務時:
mkdir -p 建立正確的資料夾路徑。PRD_spec.md,必須包含驗收條件。SA_spec.md,必須包含需求追溯。規格進入已凍結狀態後,任何變更需要:
sdd/
├── SKILL.md # 此檔案 - 協調工作流程
└── references/
├── requirements.md # 需求快速指南
├── design.md # 設計快速指南
└── tasks.md # 實作任務模板
| 階段 | 快速指南 | 完整模板 |
|------|----------|----------|
| PRD | sdd/references/requirements.md | prd/references/template_comprehensive.md |
| SA | sdd/references/design.md | sa/references/system_design_doc.md |
| 任務 | sdd/references/tasks.md | - |
development
Unified testing skill — TDD workflow, unit/integration patterns, E2E/Playwright strategies. Replaces tdd-workflow + testing-patterns + webapp-testing.
testing
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
development
Spec-Driven Development (SDD): A structured workflow (Requirement -> Analysis -> Implementation) enforcing explicit documentation before coding.
development
Methodologies for System Analysis (SA), focusing on technical architecture, data flow modeling, and API design.