/ronce-racine:domain-modeling-designfrom Ronce Racine
Designs domain models (aggregates, bounded contexts, invariants) before writing code. Use when deciding where business logic belongs or defining consistency boundaries.
Ships in Ronce Racine. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If the current repo has a specific design skill, it wins - it knows its contexts, its stack and its placement conventions.
ddd-backend-implementation (neighboring skill) instead if: the model is settled and you implement it layer by layer (application/infrastructure)superpowers:brainstorming instead if: the product need itself is fuzzy (upstream of this skill)A good domain model is designed before the code, otherwise it gets inferred from the shape of the tables and the first layer written - and you inherit an anemic model. The output of this skill is a spec (aggregates, contexts, invariants, contracts, justified placement), not code. Until placement and invariants are decided, refuse to implement.
- [ ] Aggregates / entities / VOs identified, consistency boundary justified
- [ ] Invariants listed (own + project cross-cutting)
- [ ] Bounded contexts delimited + relationships
- [ ] Placement decided, rejected alternatives documented
- [ ] Commands/queries + ports + events defined
| Excuse | Reality |
|---|---|
| "I create the data structures, the logic will come after" | That's the anemic model: bags of getters/setters, business logic scattered across services. The aggregate must carry its rules. |
| "This validation rule, I'll put it in the controller / the application service" | Business logic outside the domain = an unguaranteed invariant, duplicated at the next call site. The rule lives in the aggregate. |
| "One big context is simpler" | Homonym concepts force-merged = coupling and an unreadable model. Separate the bounded contexts. |
| "We'll decide placement while implementing" | Placement decided under the pressure of the code follows the tables, not the domain. A blocking decision before the code. |
| "No need for an event, the deletion is obvious" | A silent decision is undebuggable in operations. Every notable side effect emits an event. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub charierefiedler/ronce-racine --plugin ronce-racine37 skills in this plugin
/adversarial-feature-challengeUse when a feature is "done" and needs adversarial stress-testing before shipping - "is it really ready", "est-ce vraiment prêt", "find the bugs", "trouve les bugs", "red team", before closing a ticket whose only validation is the golden path passing./api-contract-versioningUse when modifying an API endpoint, schema or contract consumed elsewhere - renaming/removing/restructuring a request or response field, pagination or envelope change, "field X must become", "le champ X doit devenir", introducing a breaking change, versioning an API, or deprecating a field/route. Covers REST, GraphQL and gRPC alike./audit-architectureOther plugins' skills for the same job