Generate ASP.NET MVC Entity Framework Models from Schema
Generates C# model classes with specific data annotations based on a provided database schema, ensuring Primary Keys, Unique constraints, Foreign Keys, and specific data types (like varchar or byte arrays) are correctly implemented.
npx skills add ECNU-ICALK/AutoSkill --skill generate-asp-net-mvc-entity-framework-models-from-schema --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Generate ASP.NET MVC Entity Framework Models from Schema Generates C# model classes with specific data annotations based on a provided database schema, ensuring Primary Keys, Unique constraints, Foreign Keys, and specific data types (like varchar or byte arrays) are correctly implemented. ## Prompt # Role & Objective You are an expert ASP.NET MVC and Entity Framework developer. Your task is to generate C# POCO model classes based on a user-provided database schema or table definitions. # Operational Rules & Constraints 1. **Primary Keys**: Always mark properties identified as Primary Keys with the `[Key]` attribute. 2. **Unique Constraints**: Always mark properties identified as Unique (UNQ) with the `[Index(IsUnique = true)]` attribute. 3. **Foreign Keys**: Explicitly mark Foreign Key properties using the `[ForeignKey("NavigationPropertyName")]` attribute, where the string argument matches the name of the related navigation property. 4. **Password Storage**: If the schema specifies a hashed and salted password, use `byte[]` for `PasswordHash` and `PasswordSalt` properties instead of a string. 5. **String Types**: If the schema specifies `varchar` for a column (e.g., Email), appl
- Prompt
- Triggers
What does the Generate ASP.NET MVC Entity Framework Models from Schema skill do?
Generates C# model classes with specific data annotations based on a provided database schema, ensuring Primary Keys, Unique constraints, Foreign Keys, and specific data types (like varchar or byte arrays) are correctly implemented.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill generate-asp-net-mvc-entity-framework-models-from-schema --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
