abp

Scaffolds new entities, DTOs, services, and migrations for ABP backend APIs.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/AryanMohanlall/SafeGuard --skill abp-aryanmohanlall
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: abp
Source: https://github.com/AryanMohanlall/SafeGuard/tree/main/.agents/skills/abp
Command: npx skills add https://github.com/AryanMohanlall/SafeGuard --skill abp-aryanmohanlall

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding a new feature to an ASP.NET Boilerplate (ABP) backend requires touching many layers—domain entities, DbContext registration, EF Core migrations, DTOs, and application services—and missing any step breaks the layered DDD architecture. This Skill guides the AI through a consistent 6-step process so every new feature follows the same conventions. ## Core Features & Use Cases - Layered Feature Scaffolding: Walks through domain entity creation, DbContext registration, EF Core migrations, DTO definition, and service implementation in strict dependency order. - Convention Enforcement: Ensures entities extend FullAuditedEntity<Guid>, DTOs use [AutoMap], services apply [AbpAuthorize], and no layer references leak upward. - Reference Patterns: Points to domain-patterns, service-patterns, and module-setup references for complex relationships, filtering, pagination, and new module creation. - Use Case: When asked to "add a CRUD service for Incident reports", the Skill produces the entity, migration commands, DTOs, and an AsyncCrudAppService that ABP automatically exposes as REST endpoints. ## Quick Start Ask the AI to add a new entity with a CRUD service to the ABP backend, for example: add an Incident entity with name, status, and location fields to the backend API.

Frequently Asked Questions about abp

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

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

Create the entity class in the Core layer extending FullAuditedEntity<Guid>, register a DbSet in the DbContext, then run dotnet ef migrations add and database update. Finally add a DTO with [AutoMap] and an application service that ABP exposes as REST endpoints automatically.

How to create a CRUD service in ASP.NET Boilerplate?▼

Define an interface extending IAsyncCrudAppService<TDto, Guid> and implement it with a class extending AsyncCrudAppService<TEntity, TDto, Guid> that takes an IRepository in its constructor. ABP automatically exposes all public methods as REST endpoints without writing a controller.

Does ABP require manual controller creation for new endpoints?▼

No, ABP automatically exposes every public method on a registered ApplicationService as a REST endpoint. You only need the service interface and implementation; no controller class is required for standard cases.

How does ABP handle validation and authorization?▼

ABP validates DTOs automatically using data annotations before service methods run. Authorization is applied with the [AbpAuthorize] attribute at class or method level, with optional permission names for fine-grained control.

What base class should ABP domain entities extend?▼

Entities should extend FullAuditedEntity<Guid>, which provides soft delete via IsDeleted, audit timestamps, and creator tracking automatically. ABP filters soft-deleted records from all queries without extra code.