new-entity

Generate .NET backend entities with EF Core configurations and migrations.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill new-entity-emmanuelkwaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-entity
Source: https://github.com/Emmanuelkwaa/NetRockTemplate/tree/main/.claude/skills/new-entity
Command: npx skills add https://github.com/Emmanuelkwaa/NetRockTemplate --skill new-entity-emmanuelkwaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

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'.

Frequently Asked Questions about new-entity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate EF Core entities and migrations for a new .NET data model?

To generate EF Core entities and migrations, provide the domain entity properties and this skill creates the C# classes, EF Core configurations, and migration scripts for the database schema update.

What is the process for adding boolean properties and enum mappings in EF Core configurations?

Adding boolean properties and enum mappings in EF Core configurations is handled automatically by generating configuration files that apply the required database schema conventions for these specific data types.

Can I automate database migration scripting when creating new backend entities in a .NET project?

You can automate database migration scripting when creating new backend entities. The skill generates the required EF Core migration scripts alongside the domain entity and infrastructure configuration files.

Does this entity generation skill support inheritance and constructors for C# domain entities?

Yes, entity generation supports C# domain entities by creating classes with proper inheritance structures, constructors, and property definitions based on the specified data model requirements.

What's the best way to create a complete backend entity with infrastructure configuration in a .NET project?

The best way to create a complete backend entity is to specify the class properties like 'Name' and 'Price', letting the skill generate the domain entity, infrastructure configuration, and migration commands simultaneously.