ABP Framework Dependency Rules
Enforces architectural integrity and layer dependency rules for ABP Framework projects to ensure clean separation of concerns.
This skill provides specialized guidance for developers working with the ABP Framework, ensuring strict adherence to the Domain-Driven Design (DDD) layered architecture. It helps identify and prevent architectural violations such as leaking database contexts into the application layer, incorrect project referencing, and improper use of repositories. By following these predefined rules, Claude can assist in reviewing project structures, implementing new features without breaking dependency flows, and maintaining a scalable, modular codebase across Domain, Application, and Infrastructure layers.
主要功能
01Support for multi-application vertical separation rules
020 GitHub stars
03Identification of cross-layer violations and architectural anti-patterns
04Enforcement of the Repository Pattern over direct DbContext access
05Guidance on correct placement for Entities, DTOs, and Services
06Validation of layered dependency directions (Shared to Host)
使用场景
01Refactoring code to remove database implementation details from the Domain layer
02Onboarding developers to standard ABP Framework architectural patterns
03Reviewing project references when adding new modules to an ABP solution