crud-service

Generate CRUD service code for .NET Entity Framework Core entities.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/georgebjork/FairwayFinder --skill crud-service-georgebjork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crud-service
Source: https://github.com/georgebjork/FairwayFinder/tree/main/.claude/skills/crud-service
Command: npx skills add https://github.com/georgebjork/FairwayFinder --skill crud-service-georgebjork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually creating repetitive CRUD boilerplate for new domain entities is time‑consuming and error‑prone, slowing development cycles.

Core Features & Use Cases

  • Generates the entity class with audit fields.
  • Produces DTOs for list, detail, and save operations.
  • Creates service interface and implementation with soft‑delete, audit handling, and EF Core DbContext usage.
  • Updates DI registration and DbContext to include the new entity.
  • Ideal when adding a brand‑new feature to a .NET/EF Core application.

Quick Start

Ask the crud-service skill to generate a full CRUD implementation for the entity “Tournament”.

Frequently Asked Questions about crud-service

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

FAQPage Schema
How do I generate CRUD services for EF Core entities automatically?

To generate CRUD services for EF Core entities automatically, you can apply a code generation approach that outputs the entity class, DTOs, service interface, service implementation, and DI registration, eliminating repetitive boilerplate when adding new domain features to .NET applications.

What is boilerplate CRUD code generation for .NET and how does it work?

Boilerplate CRUD code generation for .NET automatically creates standard create, read, update, and delete operations for a domain entity. It works by analyzing the entity structure and producing matching DTOs, a service interface, and the implementation class with EF Core DbContext usage.

Can I auto-generate soft-delete and audit handling for my .NET entity services?

Yes, you can auto-generate soft-delete and audit handling for .NET entity services. The code generation process can be configured to produce service implementations that automatically include audit fields and soft-delete logic within the EF Core DbContext operations.

Does this CRUD generation approach work with existing .NET EF Core DbContexts?

Yes, this CRUD generation approach works with existing .NET EF Core DbContexts. It updates the DbContext to include the new entity as a DbSet and modifies the dependency injection registration to include the newly generated service interface and implementation class.

What's the best way to create DTOs and service interfaces for a new domain entity?

The best way to create DTOs and service interfaces for a new domain entity is using automated code generation. This ensures consistency by instantly producing list, detail, and save DTOs alongside a matching service interface and implementation with EF Core integration.

What are the limitations of auto-generating CRUD services for .NET?

Limitations of auto-generating CRUD services for .NET include the tool's strict adherence to a specific architectural pattern with soft-delete and audit handling. It is ideal for standard new features but may require manual customization for entities needing highly specialized query logic or complex validation.