abp-dependency-rules — angular abp-dependency-rules, community, angular, ide skills, architecture, aspnet, aspnet-core, aspnetcore, blazor, c-sharp

v1.0.0

À propos de ce Skill

Parfait pour les Agents ASP.NET Core nécessitant une architecture modulaire et une application de conception orientée domaine. ABP project layer dependency rules - which projects can reference which, domain/application/infrastructure separation, cross-layer violations to avoid. Use when reviewing project structure, adding new project references, or checking if a dependency direction is correct.

# Core Topics

abpframework abpframework
[14.2k]
[3678]
Updated: 3/16/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
46
Canonical Locale
en
Detected Body Locale
en

Parfait pour les Agents ASP.NET Core nécessitant une architecture modulaire et une application de conception orientée domaine. ABP project layer dependency rules - which projects can reference which, domain/application/infrastructure separation, cross-layer violations to avoid. Use when reviewing project structure, adding new project references, or checking if a dependency direction is correct.

Pourquoi utiliser cette compétence

Permet aux agents d'appliquer la logique de domaine séparée de l'infrastructure, d'utiliser des abstractions pour les dépendances et de s'assurer que les couches supérieures dépendent des couches inférieures, le tout en exploitant ASP.NET Core et les règles de dépendance pour des solutions de logiciel d'entreprise robustes.

Meilleur pour

Parfait pour les Agents ASP.NET Core nécessitant une architecture modulaire et une application de conception orientée domaine.

Cas d'utilisation exploitables for abp-dependency-rules

Appliquer les principes de conception orientée domaine dans les logiciels d'entreprise
Mettre en œuvre une architecture modulaire avec des pratiques recommandées d'opinion
Valider les règles de dépendance pour les structures de modèles en couches

! Sécurité et Limitations

  • Nécessite une infrastructure ASP.NET Core
  • Limité aux solutions de logiciel d'entreprise
  • Dépendant d'abstractions et de référentiels pour l'accès aux données

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is abp-dependency-rules?

Parfait pour les Agents ASP.NET Core nécessitant une architecture modulaire et une application de conception orientée domaine. ABP project layer dependency rules - which projects can reference which, domain/application/infrastructure separation, cross-layer violations to avoid. Use when reviewing project structure, adding new project references, or checking if a dependency direction is correct.

How do I install abp-dependency-rules?

Run the command: npx killer-skills add abpframework/abp. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for abp-dependency-rules?

Key use cases include: Appliquer les principes de conception orientée domaine dans les logiciels d'entreprise, Mettre en œuvre une architecture modulaire avec des pratiques recommandées d'opinion, Valider les règles de dépendance pour les structures de modèles en couches.

Which IDEs are compatible with abp-dependency-rules?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for abp-dependency-rules?

Nécessite une infrastructure ASP.NET Core. Limité aux solutions de logiciel d'entreprise. Dépendant d'abstractions et de référentiels pour l'accès aux données.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add abpframework/abp. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use abp-dependency-rules immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

abp-dependency-rules

Install abp-dependency-rules, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

ABP Dependency Rules

Core Principles (All Templates)

These principles apply regardless of solution structure:

  1. Domain logic never depends on infrastructure (no DbContext in domain/application)
  2. Use abstractions (interfaces) for dependencies
  3. Higher layers depend on lower layers, never the reverse
  4. 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.

Domain.Shared    → Constants, enums, localization keys
       ↑
    Domain       → Entities, repository interfaces, domain services
       ↑
Application.Contracts → App service interfaces, DTOs
       ↑
  Application    → App service implementations
       ↑
   HttpApi       → REST controllers (optional)
       ↑
     Host        → Final application with DI and middleware

Layered Dependency Direction

ProjectCan ReferenceReferenced By
Domain.SharedNothingAll
DomainDomain.SharedApplication, Data layer
Application.ContractsDomain.SharedApplication, HttpApi, Clients
ApplicationDomain, ContractsHost
EntityFrameworkCore/MongoDBDomainHost only
HttpApiContracts onlyHost

Critical Rules

❌ Never Do

csharp
1// Application layer accessing DbContext directly 2public class BookAppService : ApplicationService 3{ 4 private readonly MyDbContext _dbContext; // ❌ WRONG 5} 6 7// Domain depending on application layer 8public class BookManager : DomainService 9{ 10 private readonly IBookAppService _appService; // ❌ WRONG 11} 12 13// HttpApi depending on Application implementation 14public class BookController : AbpController 15{ 16 private readonly BookAppService _bookAppService; // ❌ WRONG - Use interface 17}

✅ Always Do

csharp
1// Application layer using repository abstraction 2public class BookAppService : ApplicationService 3{ 4 private readonly IBookRepository _bookRepository; // ✅ CORRECT 5} 6 7// Domain service using domain abstractions 8public class BookManager : DomainService 9{ 10 private readonly IBookRepository _bookRepository; // ✅ CORRECT 11} 12 13// HttpApi depending on contracts only 14public class BookController : AbpController 15{ 16 private readonly IBookAppService _bookAppService; // ✅ CORRECT 17}

Repository Pattern Enforcement

Interface Location

csharp
1// In Domain project 2public interface IBookRepository : IRepository<Book, Guid> 3{ 4 Task<Book> FindByNameAsync(string name); 5}

Implementation Location

csharp
1// In EntityFrameworkCore project 2public class BookRepository : EfCoreRepository<MyDbContext, Book, Guid>, IBookRepository 3{ 4 // Implementation 5} 6 7// In MongoDB project 8public class BookRepository : MongoDbRepository<MyDbContext, Book, Guid>, IBookRepository 9{ 10 // Implementation 11}

Multi-Application Scenarios

When you have multiple applications (e.g., Admin + Public API):

Vertical Separation

MyProject.Admin.Application      - Admin-specific services
MyProject.Public.Application     - Public-specific services
MyProject.Domain                 - Shared domain (both reference this)

Rules

  • Admin and Public application layers MUST NOT reference each other
  • Share domain logic, not application logic
  • Each vertical can have its own DTOs even if similar

Enforcement Checklist (Layered Templates)

When adding a new feature:

  1. Entity changes? → Domain project
  2. Constants/enums? → Domain.Shared project
  3. Repository interface? → Domain project (only if custom queries needed)
  4. Repository implementation? → EntityFrameworkCore/MongoDB project
  5. DTOs and service interface? → Application.Contracts project
  6. Service implementation? → Application project
  7. API endpoint? → HttpApi project (if not using auto API controllers)

Common Violations to Watch

ViolationImpactFix
DbContext in ApplicationBreaks DB independenceUse repository
Entity in DTOExposes internalsMap to DTO
IQueryable in interfaceBreaks abstractionReturn concrete types
Cross-module app service callTight couplingUse events or domain

Compétences associées

Looking for an alternative to abp-dependency-rules or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Générez des plugins de widgets personnalisables pour le système de flux prompts.chat

flags

Logo of vercel
vercel

Le Cadre de Réaction

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Tenseurs et réseaux neuronaux dynamiques en Python avec une forte accélération GPU

98.6k
0
Développeur