create-entity
Create a new domain entity or aggregate root following DDD patterns. Use when modeling business entities with identity and lifecycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new domain entity or aggregate root following DDD patterns. Use when modeling business entities with identity and lifecycle.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyze NestJS project architecture against Clean Architecture, DDD, and best practices. Use when reviewing code structure, checking layer boundaries, validating architectural patterns, or auditing module compliance.
Analyze code quality including ESLint, Prettier, tests, TypeScript, and NestJS best practices. Use when reviewing code quality, checking test coverage, or auditing for best practices.
Quick reference guide for architectural decisions and patterns in Clean Architecture + DDD + Event-Driven systems. Use for learning or when making architectural decisions.
Create a domain event and its handler following DDD patterns. Use when you need to publish domain events for asynchronous reactions.
Create a new feature module following Clean Architecture structure. Use when adding a new business domain or feature module to the project.
Create repository adapter with MongoDB schema following the ports & adapters pattern. Use when adding persistence for domain entities.
| name | create-entity |
| description | Create a new domain entity or aggregate root following DDD patterns. Use when modeling business entities with identity and lifecycle. |
Create a new domain entity "$1" in the $0 module.
Create file: src/modules/$0/domain/$1.ts
Is this an aggregate root? $2 (default: yes)
Requirements:
If aggregate root (default):
If regular entity:
Common requirements for both:
Follow DDD principles:
Reference the Order aggregate as an example.