abp-dependency-rules
Installation
SKILL.md
ABP Dependency Rules
Core Principles (All Templates)
These principles apply regardless of solution structure:
- Domain logic never depends on infrastructure (no DbContext in domain/application)
- Use abstractions (interfaces) for dependencies
- Higher layers depend on lower layers, never the reverse
- Data access through repositories, not direct DbContext
Layered Template Structure
Note: This section applies to layered templates (app, module). Single-layer and microservice templates have different structures.