What problem does it solve?
This Skill automates the creation of new backend entities, including their Entity Framework Core configurations and database migrations, streamlining the development process for new data models.
Core Features & Use Cases
- Entity Generation: Creates C# entity classes with proper inheritance, constructors, and property definitions.
- EF Core Configuration: Generates configuration files for mapping entities to the database schema, including handling of boolean and enum types.
- Migration Scripting: Automates the generation of EF Core migration scripts for database schema updates.
- Use Case: When adding a new feature that requires a new data model, like a 'Product' entity with properties such as 'Name', 'Price', and 'Category', this Skill will generate all the necessary C# files and migration commands.
Quick Start
Use the new-entity skill to create a backend entity for a 'Customer' with properties 'FirstName', 'LastName', and 'Email'.