| name | dotnet-forge |
| description | Generate production-ready .NET Core APIs with Entity Framework, repository pattern, CQRS, and enterprise standards |
| category | software-development |
| triggers | ["build a dotnet api","create .net api","generate c# api"] |
.NET API Generation
Generate a complete .NET Core API following enterprise enterprise patterns.
Instructions
- Read
agents/forge.md for the full .NET code generation workflow
- Read
backend/REPOSITORY_PATTERN.md and backend/DOTNET_ADVANCED_PATTERNS.md for patterns
- Read
core/NAMING_CONVENTIONS.md for naming standards
- Follow the architecture principles: thin controllers, reuse existing services, single responsibility
- Always include: Entity + DTO + Repository + Service + Controller + FluentValidation + Tests + Migration
- Audit fields (CreatedBy, ModifiedBy, CreatedAt, ModifiedAt) on ALL entities
- Soft deletes mandatory — never hard delete financial data
- Pagination on ALL list endpoints
decimal for money — never float/double