Ddd Tactical Patterns
Concrete guidance for modeling domain rules in code with entities, value objects, aggregates, repositories, and domain events.
- CCM score
- 52 of 100
- skills.sh installs
- 143
- GitHub stars
- 50.5K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers translating domain rules into code, including aggregate boundaries, invariants, and refactoring anemic models into behavior-rich objects
- Keeps domain behavior inside domain objects rather than controllers, with repositories held at aggregate root boundaries
- Emits domain events for meaningful state transitions and models validated concepts as immutable value objects
- Designed for teams with real domain complexity, not CRUD tasks, and should be paired with testing patterns for invariant coverage
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill ddd-tactical-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
- Identify invariants first and design aggregates around them.
- Model immutable value objects for validated concepts.
- Keep domain behavior in domain objects, not controllers.
- Emit domain events for meaningful state transitions.
- Keep repositories at aggregate root boundaries.
If detailed checklists are needed, open references/tactical-checklist.md.
Example
class Order {
private status: "draft" | "submitted" = "draft";
submit(itemsCount: number): void {
if (!Number.isInteger(itemsCount) || itemsCount <= 0) throw new Error("Order cannot be submitted empty");
if (this.status !== "draft") throw new Error("Order already submitted");
this.status = "submitted";
}
}
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Categories
- Backend & APIs, Technical Documentation, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the ddd-tactical-patterns skill do?
The ddd-tactical-patterns skill applies DDD tactical patterns in code, using entities, value objects, aggregates, repositories, and domain events with explicit invariants. It helps translate domain rules into code structures and refactor an anemic model into behavior-rich domain objects.
When should I use the ddd-tactical-patterns skill?
Use ddd-tactical-patterns when designing aggregate boundaries and invariants, or defining repository contracts and domain event boundaries. It is not meant for defining strategic boundaries, API documentation, or UI layout, and it should be paired with testing patterns for invariant coverage.
How do I install the ddd-tactical-patterns skill?
Run npx -y skills add sickn33/agentic-awesome-skills --skill ddd-tactical-patterns -y in a project to install it. Once installed, the agent can model immutable value objects and keep domain behavior in domain objects rather than controllers.
Where does ddd-tactical-patterns stand in the Backend & APIs category?
ddd-tactical-patterns is listed in the Backend & APIs category on Claude Marketplaces. Its focus on invariants, aggregates and domain events sets it apart from the neighboring skills in that category.
More from sickn33/agentic-awesome-skills
All 682- Bevy Ecs Expert142
- Agents V2 Py141
- Ai Studio Image139
- Gitlab Automation139
- Ai Seo137
- Amplitude Automation137
- Linkedin Automation137
- X Twitter Scraper137
- 20 Andruia Niche Intelligence136
- Development136
- Idor Testing135
- Advogado Especialista134
- Burp Suite Testing132
- Claude Code Expert132
- Shadcn132
- Aws Cost Optimizer130
- Chrome Extension Developer130
- Shodan Reconnaissance130
- Ai Engineering Toolkit129
- On Call Handoff Patterns129
- Product Manager129
- Gemini Api Dev128
- Acceptance Orchestrator127
- Xss Html Injection127
Similar to Ddd Tactical Patterns
More Backend & APIsdomain-driven-designSkillyonatangross/orchestkit1.3K installsTactical Domain-Driven Design patterns for modeling rich domains with entities, value objects, and aggregates.
m09-domainSkillactionbook/rust-skills3.8K installsDomain modeling guide mapping DDD concepts to Rust patterns, ownership, and invariant enforcement.
dotnet-domain-modelingSkillwshaddix/dotnet-skills543 installsTactical DDD patterns in C# for pure domain models, covering aggregates, value objects, and domain events.
architecture-patternsSkillsickn33/agentic-awesome-skills929 installsGuidance for designing backend systems with Clean, Hexagonal, and Domain-Driven Design patterns.
clean-ddd-hexagonalSkillccheney/robust-skills4.9K installsOpinionated guide for choosing DDD, Clean Architecture, and ports-and-adapters patterns to fix domain or dependency problems.
ruflo-dddPluginruvnet/ruflo82.4K starsDomain-Driven Design scaffolding — bounded contexts, aggregate roots, domain events, and anti-corruption layers