Agent skill · pedronauck

ddd-master

Assess DDD fit; discover domains with EventStorming, define language and bounded contexts, and design aggregates, value objects, events, and repositories. Excludes architecture-only audits, product specs, and CQRS/Event Sourcing catalogs.

What it needs

About 6k tokens when loaded.

What this skill does

DDD Master Predictable process for applying DDD: verdict first, then grasp what happens, lock language and bounded contexts, then design one aggregate at a time. Use the branch covering the changed model or decision. Reuse established language, context maps, and timelines; read adjacent references only when the change crosses their boundaries. Bundled Path Rule Resolve bundled files relative to the directory that holds this SKILL.md. A path written references/<name> expands to <ddd-master-dir>/references/<name>. Branches When the task involves… Read in full --- --- Refusing DDD, anemic models, transaction script, slogan folders, CRUD, or legacy rewrite references/when-not.md EventStorming, event timelines, or grasping what happens before contexts exist references/discovery.md Ubiquitous language, subdomains, bounded contexts, context map, or context relationships references/strategic.md Aggregates, value objects, domain events, repositories, factories, or invariants references/tactical.md Rule density, repository FAQ, or Branas/Elemar practitioner checks references/practitioner.md CQRS-by-default, copying a "DDD" repo, LLM-generated aggregates, or model/code drift references/pitfalls.md For a new or redesigned model, work through the relevant discovery, strategic, and tactical decisions. A narrow change inside an established context needs only its affected invariants and consumers. Downgrade-to-layers can use architectural-analysis when a structural audit is requested. Floor 1. Ground new context boundaries in the organization's knowledge areas; reuse the established map for local changes. 2. Treat subdomain, bounded context, and deployable as three objects. 3. One transaction updates one aggregate; other aggregates appear as identities. 4. Place every invariant on the root, value object, or domain service; repository methods only load, save, and search. 5. Register a past-tense domain event after a successful command; publish it after persist. 6. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills pedronauck/ddd-master

View the source on GitHub

Browse the @skills marketplace