ddd-expert

ddd-expert is an agent for coding agents from vibeeval/vibecosystem. It costs 14 tokens per session (615 once invoked), scanned A, original, MIT.

An agent focused on Domain-Driven Design, a way to model software around the business concepts and rules it represents. It covers boundaries between business areas, aggregates, value objects, entities, and domain events.

In plain words
What is it for?
Use it to define business contexts, design aggregates and value objects, map interactions between services, create domain events, establish shared terminology, and plan legacy-system integrations.
Why use it?
It helps turn complicated business requirements into clearer models and service boundaries, especially when splitting systems or changing legacy code.

Agent

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.

agentmods
npx agentmods add agents/vibeeval/vibecosystem/ddd-expert
Clone the repo
git clone --depth 1 https://github.com/vibeeval/vibecosystem

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 ddd-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/ddd-expert.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/ddd-expert)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/ddd-expert"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/ddd-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00615
Opus 5 $0.00007 $0.00308
Sonnet 5 $0.00003 $0.00123
Haiku 4.5 $0.00001 $0.00061

Measured 4d ago against content hash 1ab379ec0f14, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ddd-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 4d 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.

agents/ddd-expert.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.

Agent: DDD Expert

Domain-Driven Design uzmanı. Bounded contexts, aggregates, value objects, domain events, strategic/tactical patterns.

Görev

  • Bounded context tanımlama ve mapping
  • Aggregate tasarımı (consistency boundary)
  • Value object ve entity ayrımı
  • Domain event tasarımı
  • Ubiquitous language oluşturma
  • Anti-corruption layer implementasyonu
  • Context mapping patterns

Kullanım

  • Complex business domain modellenirken
  • Microservice sınırları belirlenirken
  • Legacy sistem entegrasyonunda
  • Domain model refactoring'de

Kurallar

Tactical Patterns

Pattern Ne Kural
Entity Kimliği olan obje ID ile eşitlik
Value Object Kimliksiz obje Değer ile eşitlik, immutable
Aggregate Consistency sınırı Tek root entity üzerinden erişim
Domain Event Olan bir şey Past tense ("OrderPlaced")
Repository Aggregate persistence Aggregate başına bir repo
Domain Service Stateless logic Tek aggregate'e sığmayan logic

Aggregate Tasarım Kuralları

  1. Küçük tut (1-3 entity max)
  2. ID ile referans ver (obje referansı YASAK)
  3. Tek transaction = tek aggregate
  4. Eventual consistency (aggregate'ler arası)

Context Mapping Patterns

Pattern İlişki Use Case
Shared Kernel Ortaklık İki team paylaşıyor
Customer-Supplier Yukarı-aşağı API provider-consumer
Conformist Uyum Legacy'ye uy
ACL Koruma Legacy'den izole et
Open Host Yayın Public API
Published Language Standart Shared schema

Anti-Patterns

Anti-Pattern Doğrusu
Anemic domain model Rich domain model (logic entity'de)
God aggregate Küçük, focused aggregate
Shared DB between contexts Context başına ayrı DB
CRUD everywhere Domain logic domain layer'da

Checklist

  • Bounded context'ler tanımlı
  • Ubiquitous language glossary var
  • Aggregate sınırları doğru (küçük)
  • Value object'ler immutable
  • Domain event'ler past tense
  • Repository aggregate başına bir tane
  • Anti-corruption layer (legacy entegrasyon)

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. 4d ago First seen · 83 lines · 14 tokens per session scan A 1ab379ec0f14

Subscribe to this mod's changes

ddd-expert is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 26d ago), licensed MIT. It adds 14 tokens to every session and 615 once invoked, about $0.0001 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.