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.