Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

DDD Aggregate

Skill Verifiziert Aktiv
Teil von:Ruflo Ddd

Scaffold an aggregate root with entity, value objects, repository interface, domain events, and test stubs

Zweck

To rapidly generate the foundational code structure for aggregate roots in DDD projects, ensuring consistency and adherence to best practices.

Funktionen

  • Scaffolds aggregate root entity with ID, constructor, and domain methods.
  • Generates immutable value objects for IDs and other properties.
  • Creates repository interfaces for aggregate persistence.
  • Generates domain event files for aggregate lifecycle events.
  • Provides unit test stubs for entities and value objects.
  • Updates barrel exports for module organization.
  • Stores domain model information in agent memory.

Anwendungsfälle

  • When starting a new aggregate root in a DDD project.
  • To ensure consistent structure and naming conventions for DDD artifacts.
  • When onboarding new developers to a DDD project by providing a clear starting point.

Nicht-Ziele

  • Implementing the repository infrastructure (persistence layer).
  • Providing business logic beyond basic invariant validation.
  • Generating user interface components or controllers.

Workflow

  1. Validate that the target context directory exists.
  2. Execute pre-task hook.
  3. Create aggregate root entity file.
  4. Create value object files.
  5. Create repository interface file.
  6. Create domain event files.
  7. Create unit test stubs.
  8. Update barrel exports.
  9. Store aggregate in domain model graph.
  10. Execute post-task hook.

Praktiken

  • Domain-Driven Design
  • Code generation
  • Testing

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-ddd@ruflo

Qualitätspunktzahl

Verifiziert
99 /100
Analysiert about 23 hours ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne50.2k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Ddd Context

98

Create and manage a DDD bounded context with standard directory structure

Skill
ruvnet

Spec to Repo

100

Use when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I have requirements and need a codebase', or provides a natural-language project specification and expects a complete, runnable repository. Stack-agnostic: Next.js, FastAPI, Rails, Go, Rust, Flutter, and more.

Skill
alirezarezvani

V3 Ddd Architecture

100

Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

Skill
ruvnet

Domain Driven Design

98

Model software around the business domain using bounded contexts, aggregates, and ubiquitous language. Use when the user mentions "domain modeling", "bounded context", "aggregate root", "ubiquitous language", "anti-corruption layer", "context mapping", "domain events", or "strategic design". Also trigger when splitting a monolith into services, defining microservice boundaries, or aligning code structure with business processes. Covers entities vs value objects, domain events, and context mapping strategies. For architecture layers, see clean-architecture. For complexity, see software-design-philosophy.

Skill
wondelai

Ubiquitous Language

95

Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

Skill
mattpocock

Cli Creator

100

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

Skill
openai