Browse Source
Merge pull request #24756 from abpframework/auto-merge/rel-10-1/4328
Merge branch dev with rel-10.1
pull/24758/head
Ma Liming
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with
69 additions and
15 deletions
-
ai-rules/common/application-layer.mdc
-
ai-rules/common/authorization.mdc
-
ai-rules/common/cli-commands.mdc
-
ai-rules/common/ddd-patterns.mdc
-
ai-rules/common/dependency-rules.mdc
-
ai-rules/common/development-flow.mdc
-
ai-rules/common/infrastructure.mdc
-
ai-rules/common/multi-tenancy.mdc
-
ai-rules/data/ef-core.mdc
-
ai-rules/data/mongodb.mdc
-
ai-rules/template-specific/app-nolayers.mdc
-
ai-rules/testing/patterns.mdc
-
ai-rules/ui/angular.mdc
-
ai-rules/ui/blazor.mdc
-
ai-rules/ui/mvc.mdc
|
|
|
@ -1,6 +1,10 @@ |
|
|
|
--- |
|
|
|
description: "ABP Application Services, DTOs, validation, and error handling patterns" |
|
|
|
globs: "**/*.Application/**/*.cs,**/Application/**/*.cs,**/*AppService*.cs,**/*Dto*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.Application/**/*.cs" |
|
|
|
- "**/Application/**/*.cs" |
|
|
|
- "**/*AppService*.cs" |
|
|
|
- "**/*Dto*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP permission system and authorization patterns" |
|
|
|
globs: "**/*Permission*.cs,**/*AppService*.cs,**/*Controller*.cs" |
|
|
|
globs: |
|
|
|
- "**/*Permission*.cs" |
|
|
|
- "**/*AppService*.cs" |
|
|
|
- "**/*Controller*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,8 @@ |
|
|
|
--- |
|
|
|
description: "ABP CLI commands: generate-proxy, install-libs, add-package-ref, new-module, install-module, update, clean, suite generate (CRUD pages)" |
|
|
|
globs: "**/*.csproj,**/appsettings*.json" |
|
|
|
globs: |
|
|
|
- "**/*.csproj" |
|
|
|
- "**/appsettings*.json" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP DDD patterns - Entities, Aggregate Roots, Repositories, Domain Services" |
|
|
|
globs: "**/*.Domain/**/*.cs,**/Domain/**/*.cs,**/Entities/**/*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.Domain/**/*.cs" |
|
|
|
- "**/Domain/**/*.cs" |
|
|
|
- "**/Entities/**/*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,8 @@ |
|
|
|
--- |
|
|
|
description: "ABP layer dependency rules and project structure guardrails" |
|
|
|
globs: "**/*.csproj,**/*Module*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.csproj" |
|
|
|
- "**/*Module*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,14 @@ |
|
|
|
--- |
|
|
|
description: "ABP development workflow - adding features, entities, and migrations" |
|
|
|
globs: "**/*AppService*.cs,**/*Application*/**/*.cs,**/*Application.Contracts*/**/*.cs,**/*Dto*.cs,**/*DbContext*.cs,**/*.EntityFrameworkCore/**/*.cs,**/*.MongoDB/**/*.cs,**/*Permission*.cs" |
|
|
|
globs: |
|
|
|
- "**/*AppService*.cs" |
|
|
|
- "**/*Application*/**/*.cs" |
|
|
|
- "**/*Application.Contracts*/**/*.cs" |
|
|
|
- "**/*Dto*.cs" |
|
|
|
- "**/*DbContext*.cs" |
|
|
|
- "**/*.EntityFrameworkCore/**/*.cs" |
|
|
|
- "**/*.MongoDB/**/*.cs" |
|
|
|
- "**/*Permission*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,11 @@ |
|
|
|
--- |
|
|
|
description: "ABP infrastructure services - Settings, Features, Caching, Events, Background Jobs" |
|
|
|
globs: "**/*Setting*.cs,**/*Feature*.cs,**/*Cache*.cs,**/*Event*.cs,**/*Job*.cs" |
|
|
|
globs: |
|
|
|
- "**/*Setting*.cs" |
|
|
|
- "**/*Feature*.cs" |
|
|
|
- "**/*Cache*.cs" |
|
|
|
- "**/*Event*.cs" |
|
|
|
- "**/*Job*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP Multi-Tenancy patterns - tenant-aware entities, data isolation, and tenant switching" |
|
|
|
globs: "**/*Tenant*.cs,**/*MultiTenant*.cs,**/Entities/**/*.cs" |
|
|
|
globs: |
|
|
|
- "**/*Tenant*.cs" |
|
|
|
- "**/*MultiTenant*.cs" |
|
|
|
- "**/Entities/**/*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP Entity Framework Core patterns - DbContext, migrations, repositories" |
|
|
|
globs: "**/*.EntityFrameworkCore/**/*.cs,**/EntityFrameworkCore/**/*.cs,**/*DbContext*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.EntityFrameworkCore/**/*.cs" |
|
|
|
- "**/EntityFrameworkCore/**/*.cs" |
|
|
|
- "**/*DbContext*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP MongoDB patterns - MongoDbContext and repositories" |
|
|
|
globs: "**/*.MongoDB/**/*.cs,**/MongoDB/**/*.cs,**/*MongoDb*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.MongoDB/**/*.cs" |
|
|
|
- "**/MongoDB/**/*.cs" |
|
|
|
- "**/*MongoDb*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,10 @@ |
|
|
|
--- |
|
|
|
description: "ABP Single-Layer (No-Layers) application template specific patterns" |
|
|
|
globs: "**/src/*/*Module.cs,**/src/*/Entities/**/*.cs,**/src/*/Services/**/*.cs,**/src/*/Data/**/*.cs" |
|
|
|
globs: |
|
|
|
- "**/src/*/*Module.cs" |
|
|
|
- "**/src/*/Entities/**/*.cs" |
|
|
|
- "**/src/*/Services/**/*.cs" |
|
|
|
- "**/src/*/Data/**/*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,10 @@ |
|
|
|
--- |
|
|
|
description: "ABP testing patterns - unit tests and integration tests" |
|
|
|
globs: "test/**/*.cs,tests/**/*.cs,**/*Tests*/**/*.cs,**/*Test*.cs" |
|
|
|
globs: |
|
|
|
- "test/**/*.cs" |
|
|
|
- "tests/**/*.cs" |
|
|
|
- "**/*Tests*/**/*.cs" |
|
|
|
- "**/*Test*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP Angular UI patterns and best practices" |
|
|
|
globs: "**/angular/**/*.ts,**/angular/**/*.html,**/*.component.ts" |
|
|
|
globs: |
|
|
|
- "**/angular/**/*.ts" |
|
|
|
- "**/angular/**/*.html" |
|
|
|
- "**/*.component.ts" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,9 @@ |
|
|
|
--- |
|
|
|
description: "ABP Blazor UI patterns and components" |
|
|
|
globs: "**/*.razor,**/Blazor/**/*.cs,**/*.Blazor*/**/*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.razor" |
|
|
|
- "**/Blazor/**/*.cs" |
|
|
|
- "**/*.Blazor*/**/*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
@ -1,6 +1,10 @@ |
|
|
|
--- |
|
|
|
description: "ABP MVC and Razor Pages UI patterns" |
|
|
|
globs: "**/*.cshtml,**/Pages/**/*.cs,**/Views/**/*.cs,**/Controllers/**/*.cs" |
|
|
|
globs: |
|
|
|
- "**/*.cshtml" |
|
|
|
- "**/Pages/**/*.cs" |
|
|
|
- "**/Views/**/*.cs" |
|
|
|
- "**/Controllers/**/*.cs" |
|
|
|
alwaysApply: false |
|
|
|
--- |
|
|
|
|
|
|
|
|