DDD Expert skill for Claude Code - guides users through Domain-Driven Design
Project description
DDD Skills
一套 Claude Code skills,透過對話式問答引導您完成 Domain-Driven Design 專案設計。包含兩個專業 skills:
- strategic-design - DDD 戰略設計專家,引導完成 Bounded Context 識別與 Aggregate 切分
- event-storming - Event Storming 引導專家,帶領完成 Event Storming 工作坊
安裝
使用 uvx 安裝:
# 互動式選擇(會提示選擇全域或本地)
uvx --from Claude-Code-Skill-DDD ddd-skill install
# 安裝到全域 (~/.claude/skills/),所有專案皆可使用
uvx --from Claude-Code-Skill-DDD ddd-skill install -g
# 安裝到當前專案 (./.claude/skills/),僅限此專案使用
uvx --from Claude-Code-Skill-DDD ddd-skill install -l
移除:
# 互動式選擇
uvx --from Claude-Code-Skill-DDD ddd-skill uninstall
# 移除全域安裝
uvx --from Claude-Code-Skill-DDD ddd-skill uninstall -g
# 移除本地安裝
uvx --from Claude-Code-Skill-DDD ddd-skill uninstall -l
使用方式
安裝後,在 Claude Code 中可以使用以下兩個 skills:
DDD 戰略設計
/strategic-design
引導流程:
- 領域探索 - 了解業務背景與核心問題
- Bounded Context 識別 - 劃分子領域邊界
- Aggregate 設計 - 定義聚合根與業務規則
- Entity / Value Object - 設計實體與值物件
- 通用語言 - 建立領域術語表
Event Storming 工作坊
/event-storming
引導流程:
- 選擇業務流程 - 確定要探索的核心業務流程
- 事件風暴 - 列出所有 Domain Events
- 時間線排序 - 將事件按時間順序排列
- 追溯原因 - 識別 Commands 與 Actors
- 識別 Aggregates - 找出處理 Commands 的聚合
- 外部系統與 Read Models - 識別系統邊界與查詢需求
- Hotspots 討論 - 標記待解決的問題
輸出
DDD 戰略設計輸出
完成問答後,自動生成以下 Markdown 文件結構:
ddd-docs/
├── README.md # 專案概覽
├── ubiquitous-language.md # 通用語言術語表
└── contexts/
└── {context-name}/
├── overview.md # Context 概覽
└── aggregates/
└── {aggregate}.md
Event Storming 輸出
完成工作坊後,生成以下文件結構:
ddd-docs/
└── event-storming/
├── README.md # Event Storming 總覽
└── flows/
└── {flow-name}.md # 各業務流程的結果
專案結構
ddd-agent/
├── pyproject.toml
├── README.md
├── LICENSE
├── .github/
└── src/
└── ddd_skill/
├── __init__.py
├── cli.py
└── skills/
├── strategic-design/
│ └── SKILL.md
└── event-storming/
└── SKILL.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_code_skill_ddd-1.0.4.tar.gz.
File metadata
- Download URL: claude_code_skill_ddd-1.0.4.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5f5b0519c5db9a7c79a46371ed184c66c04ad4e1d4398cfa335f611d4f40539
|
|
| MD5 |
c71b2dd1935d587765d80a43d451d6b7
|
|
| BLAKE2b-256 |
e99259ae0ba92706c8fada7745f275a79762d23d1d026cf12d9062c2d651ab1d
|
Provenance
The following attestation bundles were made for claude_code_skill_ddd-1.0.4.tar.gz:
Publisher:
publish.yml on CodeMachine0121/Claude-Code-Skill-DDD
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_skill_ddd-1.0.4.tar.gz -
Subject digest:
a5f5b0519c5db9a7c79a46371ed184c66c04ad4e1d4398cfa335f611d4f40539 - Sigstore transparency entry: 787541998
- Sigstore integration time:
-
Permalink:
CodeMachine0121/Claude-Code-Skill-DDD@35a8cb33f2a239f799b5c492aaec132a7eb9168b -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/CodeMachine0121
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@35a8cb33f2a239f799b5c492aaec132a7eb9168b -
Trigger Event:
release
-
Statement type:
File details
Details for the file claude_code_skill_ddd-1.0.4-py3-none-any.whl.
File metadata
- Download URL: claude_code_skill_ddd-1.0.4-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b9e6777ada85eda7416bec675293878f7c0751025857f63519b1a635f251a8a
|
|
| MD5 |
3b134c924a8897883778cf78b97a3cb5
|
|
| BLAKE2b-256 |
78d9f50cf2b087d2ce6fa5aa9d12164b1fbf3c5bc207ef98e41f36604702100b
|
Provenance
The following attestation bundles were made for claude_code_skill_ddd-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on CodeMachine0121/Claude-Code-Skill-DDD
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_code_skill_ddd-1.0.4-py3-none-any.whl -
Subject digest:
8b9e6777ada85eda7416bec675293878f7c0751025857f63519b1a635f251a8a - Sigstore transparency entry: 787541999
- Sigstore integration time:
-
Permalink:
CodeMachine0121/Claude-Code-Skill-DDD@35a8cb33f2a239f799b5c492aaec132a7eb9168b -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/CodeMachine0121
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@35a8cb33f2a239f799b5c492aaec132a7eb9168b -
Trigger Event:
release
-
Statement type: