Skip to main content

DDD Expert skill for Claude Code - guides users through Domain-Driven Design

Project description

DDD Skill

一個 Claude Code skill,透過對話式問答引導您完成 Domain-Driven Design 專案設計。

安裝

使用 uvx 安裝:

# 互動式選擇(會提示選擇全域或本地)
uvx --from Claude-Code-Skill-DDD ddd-skill install

# 安裝到全域 (~/.claude/skills/ddd/),所有專案皆可使用
uvx --from Claude-Code-Skill-DDD ddd-skill install -g

# 安裝到當前專案 (./.claude/skills/ddd/),僅限此專案使用
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 中執行:

/ddd

引導流程

  1. 領域探索 - 了解業務背景與核心問題
  2. Bounded Context 識別 - 劃分子領域邊界
  3. Aggregate 設計 - 定義聚合根與業務規則
  4. Entity / Value Object - 設計實體與值物件
  5. 通用語言 - 建立領域術語表

輸出

完成問答後,自動生成以下 Markdown 文件結構:

ddd-docs/
├── README.md                 # 專案概覽
├── ubiquitous-language.md    # 通用語言術語表
└── contexts/
    └── {context-name}/
        ├── overview.md       # Context 概覽
        └── aggregates/
            └── {aggregate}.md

專案結構

ddd-skill/
├── pyproject.toml
├── README.md
├── .claude/
│   └── skills/
│       └── ddd/
│           └── SKILL.md
└── src/
    └── ddd_skill/
        ├── __init__.py
        └── cli.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_code_skill_ddd-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_code_skill_ddd-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file claude_code_skill_ddd-1.0.0.tar.gz.

File metadata

  • Download URL: claude_code_skill_ddd-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for claude_code_skill_ddd-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f1a47fb612ebbce4d3b04ee3903cd5f93474bd7ea748e7437b47c3c167458e46
MD5 e8535e73639d8bf3e339eb371422ad84
BLAKE2b-256 f59a96e984ef8d7c7fe8cafc3de6ef0d395ec72a1cadbaadd6f41529467dfe45

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_skill_ddd-1.0.0.tar.gz:

Publisher: publish.yml on CodeMachine0121/Claude-Code-Skill-DDD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_code_skill_ddd-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_skill_ddd-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73ec15cc4e0725bcf92079ff4b69ceb82c6ee64a545dd07eadfcb3c58eb65e5e
MD5 cd10517208743db35137c6b65020dc06
BLAKE2b-256 b3490e59938d996148636c745c30693386b5eaac118988d352830c5578e74e64

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_skill_ddd-1.0.0-py3-none-any.whl:

Publisher: publish.yml on CodeMachine0121/Claude-Code-Skill-DDD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page