scaffold-entity

Scaffold Coalesce-compatible C# entities with EF Core annotations and DbContext registration.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/IntelliTect/IntelliPlugins --skill scaffold-entity-intellitect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-entity
Source: https://github.com/IntelliTect/IntelliPlugins/tree/main/plugins/coalesce-accelerator/skills/scaffold-entity
Command: npx skills add https://github.com/IntelliTect/IntelliPlugins --skill scaffold-entity-intellitect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a complete Coalesce-compatible C# entity class with EF Core annotations, navigation properties, and DbContext registration to accelerate data model creation.

Core Features & Use Cases

  • Generates a standard entity with a primary key named {EntityName}Id, data annotations, and a ready-to-build model.
  • Creates the corresponding DbSet in DbContext and supports required relationships with navigation properties.
  • Real-world use: quickly add a new domain entity and register it for API generation and migrations.

Quick Start

Create a new entity named EntityName and run the scaffold workflow to output the model, DbContext registration, and migration-ready setup.

Frequently Asked Questions about scaffold-entity

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

FAQPage Schema
How do I scaffold an EF Core entity for Coalesce with the correct primary key naming?

To scaffold a Coalesce-compatible entity, the generator creates a C# class with a primary key named {EntityName}Id, applies EF Core data annotations, and sets up required navigation properties for relationships.

How do I register a new domain entity in my DbContext for Coalesce API generation?

Registering a new domain entity involves adding a corresponding DbSet to your DbContext. This scaffold generates the DbSet registration alongside the entity class to support immediate Coalesce API generation and EF Core migrations.

How do I generate migration-ready files when adding a new entity to an enterprise data model?

Generating migration-ready files requires a properly configured entity with EF Core annotations and DbContext registration. This scaffold outputs the complete model setup needed to immediately create database migrations for enterprise data models.

Can I scaffold navigation properties and relationships for Coalesce entities using EF Core?

Yes, scaffolding Coalesce entities includes generating required navigation properties and relationship configurations using EF Core data annotations, ensuring the entity model supports complex domain relationships out of the box.

What is the best way to rapidly add a new domain entity and its relationships for Coalesce?

The best way to rapidly add a domain entity is to run the scaffold workflow, which outputs the complete Coalesce-compatible C# model, DbContext registration, and relationship setup needed for immediate API generation and migrations.