What problem does it solve?
It eliminates the guesswork and inconsistent patterns when adding a new API endpoint or business operation to an existing FullStackHero (FSH) module that already follows the vertical-slice architecture.
Core Features & Use Cases
- Creates the required vertical-slice artifacts: contracts-level command/query types, runtime handler, validator, and endpoint wiring.
- Ensures correct layering and conventions: contracts live in the module’s
.Contracts project, while handler/endpoint code lives in the runtime Features/ area.
- Supports the platform’s safety expectations: includes required validators and endpoint permissions/idempotency conventions for production readiness.
- Use case: you need to add a “CreateOrder” operation to an existing module and want it implemented with the expected DbContext injection, validation, and permissioned route mapping.
Quick Start
Use the add-feature skill to scaffold a command/query, handler with DbContext injection, required validator, endpoint, and wire it into the target module’s MapEndpoints.