abp-development-flow

Guides adding entities, migrations, application services, permissions, and tests to ABP projects.

Updated Jul 21, 2026
One-click install
npx skills add https://github.com/afonsoft/gamehub --skill abp-development-flow-afonsoft
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: abp-development-flow
Source: https://github.com/afonsoft/gamehub/tree/main/.claude/skills/abp-development-flow
Command: npx skills add https://github.com/afonsoft/gamehub --skill abp-development-flow-afonsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adding a new feature to an ABP (ASP.NET Boilerplate) application requires touching many layers—Domain, Domain.Shared, EntityFrameworkCore, Application.Contracts, and Application—and missing a step causes build or runtime failures. This Skill provides a complete, ordered workflow so nothing is forgotten. ## Core Features & Use Cases - Full Entity Workflow: Step-by-step instructions covering entity creation, constants, repositories, EF Core configuration, migrations, DTOs, mappers, app services, localization, permissions, and tests. - Code Templates: Ready-to-adapt C# examples for aggregate roots, DTOs, Mapperly/AutoMapper mappers, repository implementations, and xUnit test classes. - Completion Checklist: A 13-item checklist verifying every layer of the feature is implemented. - Use Case: When asked to add a new "Product" entity to an ABP modular monolith, follow the flow to produce the domain entity, EF Core mapping, migration, CRUD app service with authorization, localization keys, and integration tests. ## Quick Start Add a new entity called Product with name and price fields to my ABP project following the full development workflow.

Frequently Asked Questions about abp-development-flow

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

FAQPage Schema
How do I add a new entity to an ABP project?▼

Create the aggregate root in the Domain layer, add constants in Domain.Shared, configure the DbSet and mapping in EntityFrameworkCore, generate a migration, then add DTOs, an app service, localization keys, and tests. The Skill provides code templates for each step.

When should I create a custom repository in ABP?▼

Only define a custom repository interface in the Domain layer when you need query methods beyond standard CRUD. For simple create, read, update, and delete operations, inject the generic IRepository<TEntity, TKey> directly into your application service.

Does ABP support Mapperly or AutoMapper for object mapping?▼

ABP supports both Mapperly and AutoMapper. Prefer whichever provider the solution already uses; for Mapperly, create a partial mapper class with mapping methods and register it as a singleton in the module.

How do I apply EF Core migrations in an ABP solution?▼

Generate the migration after configuring the entity in OnModelCreating, then apply it using the DbMigrator project, which also seeds data. This is the recommended approach over running dotnet ef database update manually.

How do I add permissions to an ABP application service?▼

Define permission constants in a static permissions class, then apply the Authorize attribute with the permission name on app service methods. This enforces authorization checks before the method executes.