abp-framework-patterns

Consolidate ABP Framework patterns for DDD-based application modules.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/alexsandrocruz/DominusLeads --skill abp-framework-patterns-alexsandrocruz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: abp-framework-patterns
Source: https://github.com/alexsandrocruz/DominusLeads/tree/main/backend/Sapienza.Leads/.claude/skills/abp-framework-patterns
Command: npx skills add https://github.com/alexsandrocruz/DominusLeads --skill abp-framework-patterns-alexsandrocruz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill consolidates ABP Framework patterns to help teams build maintainable, scalable applications using Domain-Driven Design principles.

Core Features & Use Cases

  • Pattern Catalog: Repository, Unit of Work, Domain Services, Application Services, and Mapper patterns are standardized across modules.
  • Infrastructure & Security: Includes Authorization, Multi-tenancy, Background Jobs, and Distributed Events to enforce consistent governance.
  • Use Case: When starting a new ABP-based project, generate a cohesive module skeleton with entity, app service, DTOs, validators, and permissions templates.

Quick Start

Create a new ABP module following the patterns outline to scaffold Domain, Application, and Infrastructure layers. Then integrate with EF Core and ABP permissions as defined in the templates.

Frequently Asked Questions about abp-framework-patterns

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

FAQPage Schema
How do I structure a domain-driven design application using ABP Framework?

To structure a domain-driven design application with ABP Framework, standardize repository, unit of work, domain service, and application service patterns across your modules. This approach ensures clean separation between domain, application, and infrastructure layers for maintainable apps.

How do I scaffold a new ABP module with entities, DTOs, and permissions?

Scaffolding a new ABP module involves generating a cohesive skeleton with entities, application services, DTOs, validators, and permissions. You create Domain, Application, and Infrastructure layers, then integrate EF Core and ABP permissions using the provided pattern templates.

What are the standard ABP patterns for multi-tenancy and distributed events?

The standard ABP patterns for multi-tenancy and distributed events enforce consistent infrastructure governance across modules. They provide standardized templates for managing tenant isolation and handling asynchronous background jobs and distributed event integration.

Does ABP Framework work with EF Core and Mapperly for data access?

Yes, ABP Framework works with EF Core and Mapperly for data access and object mapping. The patterns include integration points for EF Core database contexts and Mapperly mappings to ensure consistent data flow across application layers.

When should I use the unit of work pattern in ABP applications?

You should use the unit of work pattern in ABP applications to manage transactional boundaries and ensure data consistency across repository operations. It standardizes transaction execution within domain services and application services.

What's the best way to implement authorization in an ABP application service?

The best way to implement authorization in an ABP application service is by applying the framework's standardized permission templates. This pattern integrates seamlessly with ABP's permission management system to enforce governance across module endpoints.