domain-driven-design-expert

domain-driven-design-expert is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 53 tokens per session (1,218 once invoked), scanned A, original, MIT.

A guide to Domain-Driven Design, a way to structure software around the rules and language of a business. It covers concepts such as aggregates, value objects, business events, and boundaries between parts of a system.

In plain words
What is it for?
Use it when planning service boundaries, refactoring a large tangled codebase, or designing rule-heavy software such as banking, logistics, or subscription billing.
Why use it?
It helps make complex business logic easier to organize and keep aligned with how the business actually works. It is intended for systems where rules and responsibilities are difficult to separate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when planning service boundaries, refactoring a large tangled codebase, or designing rule-heavy software such as banking, logistics, or subscription billing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/domain-driven-design-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill domain-driven-design-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for domain-driven-design-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/domain-driven-design-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/domain-driven-design-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/domain-driven-design-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/domain-driven-design-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-driven-design-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/domain-driven-design-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/domain-driven-design-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,218 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01218
Opus 5 $0.00026 $0.00609
Sonnet 5 $0.00011 $0.00244
Haiku 4.5 $0.00005 $0.00122

Measured 10d ago against content hash 5c06e0863294, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

domain-driven-design-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/domain-driven-design-expert/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain-Driven Design (DDD) Expert

English | Bahasa Indonesia


English

Description

A software architecture guide focused on tackling complexity in the heart of software. This skill bridges the gap between business rules and codebase structure using Domain-Driven Design (DDD). It covers Strategic Design (Bounded Contexts, Ubiquitous Language) and Tactical Design (Aggregates, Value Objects, Domain Events, Repositories).

Trigger Conditions

  • When refactoring a massive, monolithic "Big Ball of Mud" codebase.
  • When defining microservice boundaries (Bounded Contexts).
  • When the user asks about "Clean Architecture", "CQRS", or "Event Sourcing".
  • When building core business logic that is highly complex and rule-heavy (e.g., banking, logistics, SaaS billing engines).

Core Architectural Guidelines

1. Strategic Design (The Big Picture)
  • Ubiquitous Language: The code must speak the language of the business. Do not use generic terms like UserData if the business calls it a Subscriber.
  • Bounded Contexts: Divide large systems into distinct contexts. A Product in the Inventory context has different attributes than a Product in the Billing context. Do not try to create one massive, unified Product model.
2. Tactical Design (The Code)
  • Value Objects: Use immutable Value Objects for attributes (e.g., Money, Address, Email) instead of primitives (int, string). Value Objects validate themselves upon creation.
  • Entities & Aggregates: Group related Entities together under a single Aggregate Root. External objects may only hold a reference to the Aggregate Root, never to its internal children.
  • Repositories: Only create Repositories for Aggregate Roots.
3. Domain Events

When an Aggregate changes state in a way that other parts of the system care about, it should publish a Domain Event (e.g., OrderPlacedEvent). This decouples side-effects (like sending an email) from the core business transaction.

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 83 lines · 53 tokens per session scan A 5c06e0863294

Subscribe to this mod's changes

domain-driven-design-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (50 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 1,218 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-and-interface-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

addyosmani/agent-skills · 49 tokens

component-identification-sizing

Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking "how big is each module?", "what components do I have?", "which service is too large?", "analyze codebase structure", "size my monolith", or planning where to start decomposing. Do NOT use…

tech-leads-club/agent-skills · 81 tokens

evolutionary-modular-architecture

Guides design and implementation of evolutionary modular-monolith platforms with DDD (strategic + tactical), flat-by-aggregate organization, an Anti-Corruption Layer for vendor independence, a transactional outbox for events, smart resilience (backoff with jitter, circuit breakers, idempotency), and a polished…

tech-leads-club/agent-skills · 208 tokens

nestjs-modular-monolith

Specialist in designing and implementing scalable modular monolith architectures using NestJS with DDD, Clean Architecture, and CQRS patterns. Use when building modular monolith backends, designing bounded contexts, creating domain modules, implementing event-driven module communication, or when user mentions "modular…

tech-leads-club/agent-skills · 131 tokens

rails-dev

Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before editing a file. It is required the moment a task touches Rails code in ANY way: designing or even just discussing a data…

tech-leads-club/agent-skills · 199 tokens

modular-decomposition

Runs a sequenced monolith-to-modular pipeline that sizes and inventories components, finds shared domain duplication, addresses flattening and hierarchy issues, analyzes coupling, then groups components into candidate domain-aligned units, with optional embedded DDD strategic analysis for bounded contexts. Use when…

tech-leads-club/agent-skills · 158 tokens