yonatangross avatar

Domain Driven Design

This is a tactical DDD reference for backend architects that covers entities, value objects, aggregates, repositories, and bounded contexts with Python dataclass implementations. The skill includes a blunt "when NOT to use" section that calls out DDD's 40% code overhead and recommends skipping it entirely for projects under 5 entities. You get quick reference code snippets, rules on aggregate boundaries and invariants, and forbidden anti-patterns like anemic domain models. It's built as a read-only reference (no model invocation) with deeper content loaded on demand from separate markdown files. Best for teams actually wrestling with complex domain logic who need concrete patterns, not for CRUD apps where this would be ceremony theater.

skills.sh installs
1.3K
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add yonatangross/orchestkit --skill domain-driven-design --agent claude-code

Installs into .claude/skills of the current project.

Files

Domain-Driven Design Tactical Patterns

Model complex business domains with entities, value objects, and bounded contexts.

Overview

  • Modeling complex business logic
  • Separating domain from infrastructure
  • Establishing clear boundaries between subdomains
  • Building rich domain models with behavior
  • Implementing ubiquitous language in code

Building Blocks Overview

┌─────────────────────────────────────────────────────────────┐
│                    DDD Building Blocks                       │
├─────────────────────────────────────────────────────────────┤
│  ENTITIES           VALUE OBJECTS        AGGREGATES         │
│  Order (has ID)     Money (no ID)        [Order]→Items      │
│                                                              │
│  DOMAIN SERVICES    REPOSITORIES         DOMAIN EVENTS      │
│  PricingService     IOrderRepository     OrderSubmitted     │
│                                                              │
│  FACTORIES          SPECIFICATIONS       MODULES            │
│  OrderFactory       OverdueOrderSpec     orders/, payments/ │
└─────────────────────────────────────────────────────────────┘

Quick Reference

Sponsors

Details

Repository
github.com/yonatangross/orchestkit
Categories
Python, Cloud & Infrastructure, Design & UI/UX
First seen
Jun 3, 2026

More from yonatangross/orchestkit

All 61

Recommended

More Python
1google-gemini avatarvertex-ai-api-devgoogle-gemini/gemini-skillsGuides the usage of Gemini API on Google Cloud Vertex AI with the Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicit1.3Kskills.sh installs
2tech-leads-club avatartlc-spec-driventech-leads-club/agent-skillsFeature planning and implementation with 4 adaptive phases (Specify, Design, Tasks, Execute). Auto-sizes depth by complexity. Writes testable requirements in EA1.3Kskills.sh installs
3digitalsamba avatarmoviepydigitalsamba/claude-code-video-toolkitPython video composition with moviepy 2.x — overlaying deterministic text on AI-generated video (LTX-2, SadTalker), compositing clips, single-file build.py vide1.3Kskills.sh installs
4github avatarfreecad-scriptsgithub/awesome-copilotExpert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts1.3Kskills.sh installs
5davila7 avatarsenior-architectdavila7/claude-code-templatesComprehensive software architecture skill for designing scalable, maintainable systems using ReactJS, NextJS, NodeJS, Express, React Native, Swift, Kotlin, Flut1.2Kskills.sh installs
6neo4j-contrib avatarneo4j-graphrag-skillneo4j-contrib/neo4j-skillsBuild GraphRAG retrieval pipelines on Neo4j using the neo4j-graphrag Python package (v1.16.0+). Covers retriever selection (VectorRetriever, HybridRetriever, Ve1.2Kskills.sh installs