Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tech-leads-club avatar

Tactical Ddd

  • 77 installs
  • 5k repo stars
  • Updated August 4, 2026
  • tech-leads-club/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

tactical-ddd is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • tactical-ddd
  • AI & Agent Building
  • AI-coding skill

Tactical Ddd by the numbers

  • 77 all-time installs (skills.sh)
  • +7 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #5,358 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tech-leads-club/agent-skills --skill tactical-ddd

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs77
repo stars5k
Last updatedAugust 4, 2026
Repositorytech-leads-club/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Tactical DDD — Rich Domain Modeling

Workflow

Determine the user's intent first:

IntentPhases to run
"validate / review / check / is this correct?"Phase 1 + 2 only → report findings, ask before refactoring
"fix / refactor / improve / clean up"Phase 1 + 2 + 3
"how should I design / model this?"Load reference.md directly

Phase 1 — Detect

Load detection.md and scan the target code for anemia signals. Produce a severity score and list of affected classes.

Phase 2 — Assess

For each affected class, determine the correct building block:

Has unique identity tracked over time?Has invariants tying multiple objects?→ Building Block
YesEntity
NoValue Object
Yes (root) + children with shared invariantsYesAggregate
Operation spans multiple Aggregates/doesn't belong to anyDomain Service

Prefer Value Objects over Entities. Prefer small Aggregates over large ones.

If intent was validate/review: stop here. Report findings using the output format below. Ask "Would you like me to apply these fixes?" before proceeding.

Phase 3 — Refactor

Load refactoring.md for step-by-step moves. Apply in this order: 1. Replace setter chains with a single expressive method 2. Move service logic into the Aggregate that owns it 3. Add business guards at the top of each method 4. Publish a Domain Event after each successful state change 5. Replace primitive types with Value Objects

For deep pattern questions (boundary design, event modeling, service vs. entity decision), load reference.md.

---

Quick Anemia Signals (scan first)

public setX() / public setY()        → behaviour should be encapsulated
service.doX(entity, ...)              → logic likely belongs in entity
entity.setA(); entity.setB(); ...     → setter chain = missing intent method
no domain methods beyond getters      → pure data bag

---

Golden Rules

1. Behaviour with data — Objects own both state and the operations that change it 2. Ubiquitous Language — Method names come from the domain, not CRUD (commitTo, not setStatus) 3. Small Aggregates — Root + Value Objects by default; add child Entities only for true invariants 4. One transaction = one Aggregate — Cross-Aggregate rules use eventual consistency via Domain Events 5. Reference by ID — Never hold object references to other Aggregates 6. Value Objects first — Use Entities only when individual identity is essential 7. Domain Services sparingly — Excessive services → anemic model 8. Protect invariants — The Aggregate is the last line of defence; never trust the caller

---

Output Format

When reviewing code, report:

## Anemia Diagnosis: <ClassName>

Severity: [None | Mild | Moderate | Severe]

Issues:
- <description of problem>

Recommended refactoring:
- <specific move from refactoring.md>

When refactoring, show a before/after diff for each class touched.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.