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.
npx skills add DVNghiem/FlowDeck --skill ddd-architecturegit clone --depth 1 https://github.com/DVNghiem/FlowDeckWrote 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.
[](https://agentmods.dev/skills/dvnghiem/flowdeck/ddd-architecture)<a href="https://agentmods.dev/skills/dvnghiem/flowdeck/ddd-architecture"><img src="https://agentmods.dev/badge/skills/dvnghiem/flowdeck/ddd-architecture/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.
<a href="https://agentmods.dev/skills/dvnghiem/flowdeck/ddd-architecture"><img src="https://agentmods.dev/badge/skills/dvnghiem/flowdeck/ddd-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00784 |
| Opus 5.5 | $0.00008 | $0.00314 |
| Sonnet 5.5 | $0.00004 | $0.00157 |
| Haiku 4.5 | $0.00002 | $0.00078 |
Grade A, and why
ddd-architecture 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ddd-architecture
When to Activate
When modeling complex business domains where deep understanding of the problem space, ubiquitous language, and bounded contexts are critical for long-term maintainability.
Steps
- Establish the bounded context - Identify the explicit boundary within which a single model (ubiquitous language) holds.
- Build the domain model - Create entities, value objects, aggregates, and domain events that reflect real business concepts.
- Define aggregates - Group related entities and value objects under a root aggregate that enforces invariants.
- Identify domain events - Capture meaningful business occurrences that other parts of the system may need to react to.
- Create domain services - Model operations that don't naturally belong to a single entity or value object.
- Define repository interfaces - Create ports for persisting and retrieving aggregates (implementation is infrastructure).
- Implement application services - Orchestrate the domain model, handle transactions, and coordinate multiple aggregates.
- Establish anti-corruption layers - Translate between external systems (legacy, third-party) and your domain model.
Examples
// Value Object - Immutable concept with equality
class Money {
constructor(
public readonly amount: number,
public readonly currency: Currency
) {}
static of(amount: number, currency: Currency): Money {
return new Money(Math.round(amount * 100) / 100, currency)
}
add(other: Money): Money {
if (this.currency !== other.currency) {
throw new Error('Currency mismatch')
}
return Money.of(this.amount + other.amount, this.currency)
}
}
// Aggregate Root - Enforces invariants for the aggregate
class Order extends AggregateRoot {
constructor(
private readonly id: OrderId,
private readonly customer: Customer,
private items: OrderItem[],
private status: OrderStatus
) {
super()
this.validate()
}
private validate(): void {
if (this.items.length === 0) {
throw new DomainException('Order must have at least one item')
}
}
get total(): Money {
return this.items.reduce(
(sum, item) => sum.add(item.subtotal),
Money.of(0, Currency.USD)
)
}
// Business methods that enforce invariants
addItem(item: OrderItem): void {
if (this.status !== OrderStatus.DRAFT) {
throw new DomainException('Cannot add items to a non-draft order')
}
this.items.push(item)
this.addDomainEvent(new OrderItemAddedEvent(this.id, item))
}
submit(): void {
if (!this.canSubmit()) {
throw new DomainException('Order cannot be submitted')
}
this.status = OrderStatus.SUBMITTED
this.addDomainEvent(new OrderSubmittedEvent(this))
}
private canSubmit(): boolean {
return this.status === OrderStatus.DRAFT && this.items.length > 0
}
}
// Domain Event - Business facts that may trigger reactions
class OrderSubmittedEvent extends DomainEvent {
constructor(public readonly order: Order) {
super('order.submitted', order.id)
}
}
// Repository Interface (Port) - Persistence abstraction
interface OrderRepository {
findById(id: OrderId): Promise<Order | null>
findByCustomer(customerId: CustomerId): Promise<Order[]>
save(order: Order): Promise<void>
}
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.
- 3mo ago First seen · 111 lines · 19 tokens per session scan A b53cbdb5154c
ddd-architecture is a skill published in the GitHub repository DVNghiem/FlowDeck (44 stars, last pushed 15d ago), licensed MIT. It adds 19 tokens to every session and 784 once invoked, about $0.0001 per session on Opus 5.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.
ddd-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ddd-architectureDVNghiem/FlowDeck | Skill | 44 | 15d ago | MIT | A | 19 | Claude Code, Codex |
| orca-jirastablyai/orca | Skill | 145k | today | MIT | A | 74 | Claude Code, Codex |
| cqrs-implementationwshobson/agents | Skill | 43k | 6d ago | MIT | A | 35 | Claude Code |
| event-store-designwshobson/agents | Skill | 43k | 6d ago | MIT | A | 33 | Claude Code |
| foundry-hosted-agent-validationmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 82 | Claude Code, Codex |
| python-feature-lifecyclemicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 43 | Claude Code, Codex |
| build-and-testmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 26 | Claude Code, Codex |