Prompt file imported from Sohbis/Pokemon (
.github/prompts/new-feature.prompt.md). Fill in{{featureName}}before use. Copyright stays with the author.
Scaffold a complete Clean Architecture feature for: {{featureName}}
Create:
- Domain/Entities/{{featureName}}.cs
- Domain/Interfaces/I{{featureName}}Repository.cs
- Application/DTOs/{{featureName}}Request.cs + {{featureName}}Response.cs (records)
- Application/Commands/Create{{featureName}}Command.cs + Handler
- Application/Queries/GetAll{{featureName}}sQuery.cs + Handler
- Infrastructure/Repositories/{{featureName}}Repository.cs
- Infrastructure/Configurations/{{featureName}}Configuration.cs (EF Fluent API)
- API/Controllers/{{featureName}}sController.cs (thin — calls handlers only)
Follow all rules in .github/copilot-instructions.md strictly.