Skip to content
Agentmart
Submit a tool

sdd-skill

SDD(Spec Driven Development)工作流程。用於在實作前建立 .specs 下的 requirements.md、design.md、tasks.md,規劃功能邊界、驗收條件、技術設計與實作任務,並在實作過程中依 tasks 追蹤進度。

Skill by vincent119

IndexedMIT
Write a review

Chalk Labs

Need help deploying sdd-skill?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vincent119-sdd-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

SDD(Spec Driven Development)工作流程。用於在實作前建立 .specs 下的 requirements.md、design.md、tasks.md,規劃功能邊界、驗收條件、技術設計與實作任務,並在實作過程中依 tasks 追蹤進度。

Use cases: design, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/sdd-skill

What's inside

Skill name
sdd-skill
Description
SDD(Spec Driven Development)工作流程。用於在實作前建立 .specs 下的 requirements.md、design.md、tasks.md,規劃功能邊界、驗收條件、技術設計與實作任務,並在實作過程中依 tasks 追蹤進度。
License
MIT
Instructions
183 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (8)

  • SKILL.md
  • design.md · assets/templates/
  • draft-brief.md · assets/templates/
  • draft-discovery.md · assets/templates/
  • draft-roadmap.md · assets/templates/
  • requirements.md · assets/templates/
  • tasks.md · assets/templates/
  • create_spec.js · scripts/

SKILL.md (first lines)

# Spec Driven Development

## 使用時機

當使用者要求「先規劃」、「先寫文件」、「先產文件」、「需求設計 task」、SDD 或 Spec Driven Development 時使用此技能。

也適用於功能影響多個檔案、CLI 行為、安裝流程、公開文件、發布流程,或需要先固定 scope、驗收條件與實作順序的變更。

此技能不取代 CI/CD、Deployment、Monitoring、Incident、Postmortem、完整 release automation 或建立其他 skill 的專用技能。

## 專案慣例優先

先讀取適用的 `AGENTS.md`,解析規劃 workspace、任務檔名及既有 owning spec,再建立文件。以下 `.specs/` 與 `tasks.md` 是預設值;專案指定外部 workspace 或 `task.md` 時,所有讀寫、歸檔及引用都使用專案慣例。私有 workspace 不可用時回報缺口,不在公開 repository 建立替代文件。

建立 helper 僅支援目前工作目錄下的預設 `.specs/` 與 `tasks.md`;與專案慣例不符時,直接依模板在正確位置建立,不執行 helper 後再搬移。

## 工作流程

使用輕量 SDLC:

```text
Discovery -> Requirements -> Design -> Tasks -> Implementation -> Verification -> Release Notes
```

1. 理解需求:既有專案變更前,先閱讀相關程式碼與既有文件,避免只根據需求想像設計。
2. 判斷範圍:需求明確且範圍小時建立正式 spec;需求模糊或大型時先建立 draft。
3. 建立文件:正式 spec 建立 `requirements.md`、`design.md`、`tasks.md`。
4. 等待確認:使用者只要求文件時,停在文件產出。
5. 進入實作:使用者要求繼續時,依 `tasks.md` 推進並回填狀態。
6. 驗證完成:執行測試、dry-run、回歸驗證與 `git diff --check`。

建立或更新 spec 後,回覆摘要:關鍵決策、待確認項目、風險、下一步。

## Spec 目錄命名

正式 spec:

```text
.specs/{YYYY-MM-DD-HH-mm}_{Type}-{kebab-case-name}/
```

Draft:

```text
.specs/drafts/{YYYY-MM-DD-HH-mm}_Draft-{kebab-case-name}/
```

規則:

- timestamp 使用執行環境的系統時區,格式為 `YYYY-MM-DD-HH-mm`。
- `Type` 僅允許 `Feature`、`BugFix`、`Refactor`、`Docs`、`Chore`。
- `name` 使用 kebab-case。
- 不使用空白與中文資料夾名稱。

可用 script 建立空白文件:

```bash
node skills/engineering/agent-development/sdd-skill/scripts/create_spec.js spec Feature add-hooks-installer
node skills/engineering/agent-development/sdd-skill/scripts/create_spec.js draft payment-refund-flow
```

## Draft 規則

需求模糊或大型需求時,先建立 draft,不直接實作。

Draft 可包含:

```text
brief.md
discovery.md
roadmap.md
```

最小 draft 只需要 `brief.md`。

Draft 狀態:

```text
Status: Draft
Status: Promoted
```

Draft 在 `Status: Draft` 時可修改;promotion 後標記 `Status: Promoted`,作為歷史來源不再修改;歸檔造成的引用路徑維護除外,不得改寫歷史決策。正式 spec 必須引用來源 draft,並可記錄:

```text
Promoted specs
```

## 文件要求

`requirements.md` 必須包含文件定位、背景、目標、非目標、使用情境、驗收情境、驗收條件與驗證需求。變更既有行為時,補現有行為、新行為、影響範圍。可選用 EARS,但不強制。

文件定位需說明本 spec 接續哪個需求、draft、舊 spec、issue 或既有模組,並明確寫出不重寫哪些既有模組或已完成邏輯。

驗收情境使用:

```text
場景
測試
假設
當
那麼
```

`測試` 應盡量綁定測試 selector;沒有測試時填 `待建立`。測試名稱、package、filter 或執行方式變更時,需同步更新 spec。完成條件應引用驗收情境或 task 的 `Verify:`。

`design.md` 必須包含文件定位、已知契約狀態、Bounded Context、設計原則、目標結構或流程、受影響檔案計畫、關鍵行為、風險與處理方式。必要時加入 Mermaid diagrams,放在 `design.md`。

已知契約狀態需列出需求來源、API / CLI / Hook contract、Data contract、既有實作與不可假造的欄位、狀態、權限或資料。Bounded Context 需分開列出包含與不包含。

Mermaid diagrams 可用於 architecture diagrams、flow charts、sequence diagrams、state diagrams、class diagrams。支援 `flowchart`、`sequenceDiagram`、`stateDiagram-v2`、`classDiagram`。

`tasks.md` 必須包含:

- `Status: Planned | InProgress | Complete | Blocked`
- `Execution Context`
- `Protected Behavior`
- 實作任務與驗證任務
- `Boundary:`、`Depends:`、`Context:`、`Verify:`

From vincent119/ai-rules-kit, MIT.

More from vincent119/ai-rules-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 8, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from vincent119

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get sdd-skill running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying sdd-skill?

CallGet help
Cite this page

sdd-skill. Agent Mart. https://agentmart.dev/skills/vincent119-sdd-skill (last updated 2026-10-24)