Agent skill

ddd-tactical-patterns

Apply DDD tactical patterns in code using entities, value objects, aggregates, repositories, and domain events with explicit invariants.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill ddd-tactical-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ddd-tactical-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# DDD Tactical Patterns ## Use this skill when - Translating domain rules into code structures. - Designing aggregate boundaries and invariants. - Refactoring an anemic model into behavior-rich domain objects. - Defining repository contracts and domain event boundaries. ## Do not use this skill when - You are still defining strategic boundaries. - The task is only API documentation or UI layout. - Full DDD complexity is not justified. ## Instructions 1. Identify invariants first and design aggregates around them. 2. Model immutable value objects for validated concepts. 3. Keep domain behavior in domain objects, not controllers. 4. Emit domain events for meaningful state transitions. 5. Keep repositories at aggregate root boundaries. If detailed checklists are needed, open `references/tactical-checklist.md`. ## Example ```typescript class Order { private status: "draft" | "submitted" = "draft"; submit(itemsCount: number): void { if (itemsCount === 0) throw new Error("Order cannot be submitted empty"); if (this.status !== "draft") throw new Error("Order already submitted"); this.status = "submitted"; } } ``` ## Limitations - This skill does not define deployment architecture. - It do

What's inside
Steps it walks through
  1. Use this skill when
  2. Do not use this skill when
  3. Instructions
  4. Example
  5. Limitations
Ships with 1 file
  • references/tactical-checklist.md
More from agentic-awesome-skills
All skills →
About this skill
What does the ddd-tactical-patterns skill do?

Apply DDD tactical patterns in code using entities, value objects, aggregates, repositories, and domain events with explicit invariants.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill ddd-tactical-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going