add-entity

Scaffolds a complete DDD domain entity with value object ID, aggregate root, factory method, and domain event.

2|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/signalbeam-io/signalbeam-edge --skill add-entity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-entity
Source: https://github.com/signalbeam-io/signalbeam-edge/tree/main/.claude/skills/add-entity
Command: npx skills add https://github.com/signalbeam-io/signalbeam-edge --skill add-entity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold a new domain entity following Domain-Driven Design principles, generating the value object ID, aggregate root, factory method, and domain event to standardize boilerplate across services.

Core Features & Use Cases

  • Value Object ID class and validation
  • Entity / Aggregate Root with factory creation
  • Domain Event for entity lifecycle
  • EF Core configuration and DbContext integration
  • Repository interfaces for commands and queries
  • Infrastructure-ready scaffolding compatible with common DDD layers

Quick Start

Provide the Entity name to generate a complete domain scaffold with value objects, aggregates, events, and persistence wiring.

Frequently Asked Questions about add-entity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a domain entity with DDD patterns in C#?

To scaffold a domain entity with DDD patterns in C#, provide the entity name to generate the value object ID, aggregate root, factory method, and domain event automatically.

What boilerplate does DDD entity scaffolding generate for EF Core projects?

DDD entity scaffolding generates value object IDs, aggregate roots with factory creation, domain events, EF Core configurations, repository interfaces, and DbContext integration across Domain, Application, and Infrastructure layers.

Can I generate value object IDs and aggregate roots together for .NET projects?

Yes, you can generate value object IDs and aggregate roots together for .NET projects by providing the entity name to produce a complete domain scaffold with factory methods and domain events.

Does this DDD scaffolding include repository interfaces and DbContext integration?

Yes, DDD scaffolding includes repository interfaces for commands and queries alongside EF Core configuration and DbContext integration to ensure infrastructure-ready persistence wiring.

What is the best way to standardize domain entity creation across DDD layers?

The best way to standardize domain entity creation across DDD layers is to scaffold entities with consistent value objects, aggregates, factories, and domain events to eliminate boilerplate across services.

Do I need existing DDD layer structure to scaffold domain entities with value objects?

You need a C#/.NET project using Domain-Driven Design with established Domain, Application, and Infrastructure layers to properly integrate the scaffolded value objects, aggregates, and EF Core configurations.