What problem does it solve?
Projects using Clean Architecture often suffer from inconsistent feature implementations, missing tests, and anti-pattern regressions; this Skill enforces a repeatable, production-grade scaffolding pattern so teams can add endpoints and entities quickly and correctly.
Core Features & Use Cases
- Enforced Architecture: Produces controller-based APIs that follow AHKFlowApp's Clean Architecture rules (controllers, MediatR, Ardalis.Result, layer folders).
- Complete Feature Slices: Generates controller actions, MediatR commands/queries and handlers, FluentValidation validators, DTOs, EF IEntityTypeConfiguration, and matching integration tests.
- Testing & Migrations: Includes integration test setup using WebApplicationFactory and Testcontainers (SQL Server) and guidance to add EF Core migrations.
- Use Case: When adding a new CRUD endpoint or entity, use this Skill to scaffold the full end-to-end implementation with validation, EF configuration, and integration tests to maintain consistency and reliability.
Quick Start
Scaffold a new CRUD feature called Hotstring that creates the controller, MediatR commands/queries with handlers, FluentValidation validator, DTOs, EF IEntityTypeConfiguration, an EF migration, and an integration test.