ddd-tactical-patterns — community ddd-tactical-patterns, Polybot, MatLumber, community, ai agent skill, ide skills, agent automation, AI agent skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Domain-Driven Design Agents needing to translate domain rules into code structures and design aggregate boundaries. Apply DDD tactical patterns in code using entities, value objects, aggregates, repositories, and domain events with explicit invariants.

MatLumber MatLumber
[0]
[0]
Updated: 3/10/2026

Quality Score

Top 5%
56
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add MatLumber/Polybot/ddd-tactical-patterns
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The ddd-tactical-patterns skill by MatLumber is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Domain-Driven Design Agents needing to translate domain rules into code structures and design aggregate boundaries.

Core Value

Empowers agents to define repository contracts, design behavior-rich domain objects, and establish domain event boundaries using tactical patterns, refactoring anemic models, and ensuring invariants.

Capabilities Granted for ddd-tactical-patterns

Translating domain rules into code structures for robust domain modeling
Designing aggregate boundaries and invariants for data consistency
Refactoring anemic models into behavior-rich domain objects for improved maintainability

! Prerequisites & Limits

  • Not suitable for defining strategic boundaries
  • Full DDD complexity must be justified for effective use
  • Not applicable for tasks limited to API documentation or UI layout
Project
SKILL.md
1.3 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

DDD Tactical Patterns

Use this skill when

  • Translating domain rules into code structures.
  • Designing aggregate boundaries and invariants.
  • Refactoring an anemic model into behavior-rich domain objects.
  • Defining repository contracts and domain event boundaries.

Do not use this skill when

  • You are still defining strategic boundaries.
  • The task is only API documentation or UI layout.
  • Full DDD complexity is not justified.

Instructions

  1. Identify invariants first and design aggregates around them.
  2. Model immutable value objects for validated concepts.
  3. Keep domain behavior in domain objects, not controllers.
  4. Emit domain events for meaningful state transitions.
  5. Keep repositories at aggregate root boundaries.

If detailed checklists are needed, open references/tactical-checklist.md.

Example

typescript
1class Order { 2 private status: "draft" | "submitted" = "draft"; 3 4 submit(itemsCount: number): void { 5 if (itemsCount === 0) throw new Error("Order cannot be submitted empty"); 6 if (this.status !== "draft") throw new Error("Order already submitted"); 7 this.status = "submitted"; 8 } 9}

Limitations

  • This skill does not define deployment architecture.
  • It does not choose databases or transport protocols.
  • It should be paired with testing patterns for invariant coverage.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is ddd-tactical-patterns?

Ideal for Domain-Driven Design Agents needing to translate domain rules into code structures and design aggregate boundaries. Apply DDD tactical patterns in code using entities, value objects, aggregates, repositories, and domain events with explicit invariants.

How do I install ddd-tactical-patterns?

Run the command: npx killer-skills add MatLumber/Polybot/ddd-tactical-patterns. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for ddd-tactical-patterns?

Key use cases include: Translating domain rules into code structures for robust domain modeling, Designing aggregate boundaries and invariants for data consistency, Refactoring anemic models into behavior-rich domain objects for improved maintainability.

Which IDEs are compatible with ddd-tactical-patterns?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for ddd-tactical-patterns?

Not suitable for defining strategic boundaries. Full DDD complexity must be justified for effective use. Not applicable for tasks limited to API documentation or UI layout.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add MatLumber/Polybot/ddd-tactical-patterns. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use ddd-tactical-patterns immediately in the current project.

Related Skills

Looking for an alternative to ddd-tactical-patterns or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication