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.1.tar.gz (7.4 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_code_skill_ddd-1.0.1.tar.gz
  • Upload date:
  • Size: 7.4 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.1.tar.gz
Algorithm Hash digest
SHA256 a0f1f238c7d2c7ad714c7883545ca4ce519182351dae17500400a6544a7ae23c
MD5 a77fcf5a3ddd0f176fa0a7b3ff0eba07
BLAKE2b-256 1d11b568ead6f68f691c92cb938b2338e9ca2956dc5e90bea2b3b2f057d2238c

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_skill_ddd-1.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_code_skill_ddd-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce3031afd3341786c0122088c349f8cd759e13729a1b563c98ed523b090f7eb
MD5 1a87b5906ae0f368dfea6f0fc5333688
BLAKE2b-256 2d822c32082bda4091a7c9d84b0427b42b2f43c5db3d4407a08cf95f6fb0c9de

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_code_skill_ddd-1.0.1-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