/abp-sensei:abp-frameworkfrom ABP Sensei
Guides ABP Framework v10.x development: solution templates, layered architecture, module system, base classes, and CLI commands. Use when creating ABP projects or following ABP conventions.
Ships in ABP Sensei. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Core development skill for ABP Framework v10.x (10.4–10.6). A guide to opinionated, DDD-based, modular ASP.NET Core application development.
ABP is a modular framework built on .NET and ASP.NET Core that offers an opinionated architecture based on DDD principles. It automates repetitive work and provides production-ready startup templates, pre-built application modules, and tooling.
| Template | Description |
|---|---|
app | Layered web application (default) |
app-nolayers | Single-layer web application |
microservice | Microservice solution (Business+ license) |
empty | Empty solution |
mvc — ASP.NET Core MVC / Razor Pagesangular — Angular SPAblazor-webapp — Blazor Web Appblazor — Blazor WASMblazor-server — Blazor Serverreact — React SPA (with the modern template)no-ui — Without a frontendef — Entity Framework Core (default)mongodb — MongoDB# Installation
dotnet tool install -g Volo.Abp.Studio.Cli
# Create a new solution
abp new Acme.BookStore --template app
abp new Acme.BookStore --template app --modern # React-first modern template
abp new Acme.BookStore --template app-nolayers --modern # Single-layer modern
abp new Acme.BookStore --template microservice --modern # Microservice modern
# Create a module
abp new-module Acme.BookStore.Orders -t module:ddd
abp new-module Acme.BookStore.Orders --modern
# Add a package
abp add-package Volo.Abp.EntityFrameworkCore
# Update packages
abp update
# Generate proxy (Angular/C#/JS)
abp generate-proxy -t ng
abp generate-proxy -t csharp
# Download source code
abp get-source Volo.Blogging
abp add-source-code Volo.Chat
--modern flag)Modern templates are React-first and use a different template source shipped with ABP Studio.
abp new Acme.BookStore --template app --modern
abp new Acme.BookStore --template app-nolayers --modern --modular # Modular monolith
abp new Acme.BookStore --template microservice --modern --services Ordering,Shipping
abp new Acme.BookStore --template microservice --modern --shadcn-theme blue
Shadcn theme values: slate (default), pink, blue, turquoise, orange, purple
Acme.BookStore/
├── src/
│ ├── Acme.BookStore.Domain.Shared # Constants, enums, localization
│ ├── Acme.BookStore.Domain # Entities, aggregates, domain services, repositories (interface)
│ ├── Acme.BookStore.Application.Contracts # DTOs, application service interfaces
│ ├── Acme.BookStore.Application # Application services, object mapping
│ ├── Acme.BookStore.EntityFrameworkCore # DbContext, repository implementations, migrations
│ ├── Acme.BookStore.HttpApi # API controllers
│ ├── Acme.BookStore.HttpApi.Client # Dynamic C# HTTP clients
│ └── Acme.BookStore.Web # MVC/Razor Pages UI
└── test/
├── Acme.BookStore.TestBase
├── Acme.BookStore.Domain.Tests
├── Acme.BookStore.Application.Tests
└── Acme.BookStore.Web.Tests
Each module defines a derivative of AbpModule:
[DependsOn(
typeof(AbpAspNetCoreMvcModule),
typeof(AbpEntityFrameworkCoreModule),
typeof(AbpAutofacModule)
)]
public class BookStoreModule : AbpModule
{
public override void PreConfigureServices(ServiceConfigurationContext context) { }
public override void ConfigureServices(ServiceConfigurationContext context)
{
// DI registration, module configuration
}
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
// Middleware pipeline, startup logic
}
public override void OnApplicationShutdown(ApplicationShutdownContext context) { }
}
| Method | Description | Async Version |
|---|---|---|
PreConfigureServices | Runs before all ConfigureServices | PreConfigureServicesAsync |
ConfigureServices | DI registration and module configuration | ConfigureServicesAsync |
PostConfigureServices | Runs after all ConfigureServices | PostConfigureServicesAsync |
OnPreApplicationInitialization | Before init | OnPreApplicationInitializationAsync |
OnApplicationInitialization | Middleware setup | OnApplicationInitializationAsync |
OnPostApplicationInitialization | After init | OnPostApplicationInitializationAsync |
OnApplicationShutdown | Shutdown logic | OnApplicationShutdownAsync |
// 1. Interface implementation
public class TaxCalculator : ITransientDependency { } // Transient
public class CacheService : ISingletonDependency { } // Singleton
public class ScopedService : IScopedDependency { } // Scoped
// 2. With an attribute
[Dependency(ServiceLifetime.Transient, ReplaceServices = true)]
public class TaxCalculator { }
// 3. Use ExposeServices to control which interfaces are exposed
[ExposeServices(typeof(ITaxCalculator))]
public class TaxCalculator : ICalculator, ITaxCalculator, ITransientDependency { }
// 4. Keyed Services
[ExposeKeyedService<ITaxCalculator>("taxCalculator")]
public class TaxCalculator : ITransientDependency { }
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddSingleton<TaxCalculator>(new TaxCalculator(0.18));
context.Services.AddScoped<ITaxCalculator>(sp => sp.GetRequiredService<TaxCalculator>());
// Replacing a service
context.Services.Replace(ServiceDescriptor.Transient<IConnectionStringResolver, MyResolver>());
}
ABP base classes provide frequently used services ready as properties. Before injecting a service, check whether the base class already has it.
| Base Class | Purpose |
|---|---|
Entity<TKey> / AggregateRoot<TKey> | Basic entity / DDD aggregate root |
DomainService | Domain business logic |
ApplicationService | Use-case orchestration |
AbpController | REST API controller |
| Property | Available in | Description |
|---|---|---|
GuidGenerator | All base classes | Generate sequential GUID (instead of Guid.NewGuid()) |
Clock | All base classes | Current time (instead of DateTime.Now) |
CurrentUser | All base classes | Authenticated user info |
CurrentTenant | All base classes | Multi-tenancy context |
L (StringLocalizer) | ApplicationService, AbpController | Localization |
AuthorizationService | ApplicationService, AbpController | Permission check |
FeatureChecker | ApplicationService, AbpController | Feature check |
LazyServiceProvider | All base classes | Lazy service resolution |
UnitOfWorkManager | ApplicationService, DomainService | UOW management |
Logger | All base classes | Logging |
public class BookAppService : ApplicationService
{
public async Task DoAsync()
{
var now = Clock.Now; // ✅ DO NOT use DateTime.Now (untestable, ignores timezone)
var id = GuidGenerator.Create(); // ✅ DO NOT use Guid.NewGuid()
var userId = CurrentUser.Id;
await CheckPolicyAsync("BookStore.Books.Create"); // base class method
}
}
For non-base-class services, inject the relevant abstraction: IClock, ICurrentUser, IGuidGenerator. For lazy resolution in a base class use LazyServiceProvider.LazyGetRequiredService<T>(); if it is to be injected, ITransientCachedServiceProvider is preferred (IAbpLazyServiceProvider for backward-compat).
.Result / .Wait() (deadlock risk + untestable).Async suffix.CancellationToken automatically in most cases (e.g. HttpContext.RequestAborted); pass it explicitly only for custom cancellation logic.Do not use DateTime.Now / DateTime.UtcNow directly. Inject the Clock property (base class) or IClock — for testability and UTC/timezone settings. The Kind (Utc/Local/Unspecified) is configured via AbpClockOptions.
// Options pattern
Configure<AbpDbConnectionOptions>(options =>
{
options.ConnectionStrings.Default = "...";
});
// Module configuration
Configure<AbpMultiTenancyOptions>(options =>
{
options.IsEnabled = true;
});
| Module | Description |
|---|---|
Volo.Abp.Account | Account management |
Volo.Abp.Identity | Identity & user management |
Volo.Abp.TenantManagement | Tenant management (multi-tenancy) |
Volo.Abp.SettingManagement | Setting management |
Volo.Abp.PermissionManagement | Permission management |
Volo.Abp.FeatureManagement | Feature management |
Volo.Abp.AuditLogging | Audit logging |
Volo.Abp.BackgroundJobs | Background job system |
Volo.Abp.CmsKit | CMS kit (content management) |
Volo.Abp.Saas | SaaS module (PRO) |
Volo.Abp.OpenIddict | OpenIddict integration |
AbpModule — use the [DependsOn] attributeIGuidGenerator.Create()IRepository<TEntity, TKey>async/awaitIAsyncQueryableExecuterThis skill set covers ABP 10.x (10.4 through 10.6, all on .NET 10). Always detect the solution's actual ABP version before giving version-sensitive advice:
Directory.Packages.props → <PackageVersion Include="Volo.Abp.Core" Version="..." /> (central package management).*.csproj → <PackageReference Include="Volo.Abp.*" Version="..." />.common.props / custom AbpVersion MSBuild property.v10.5 (released 2026-06-30) has no breaking changes over v10.4; everything documented for 10.4 also applies to 10.5. New in v10.5 — only recommend these when the detected version is ≥ 10.5:
| Change | Area | Skill |
|---|---|---|
S3-compatible blob storage (ServiceURL, DisablePayloadSigning — R2, MinIO, B2, Wasabi, Spaces) | BLOB Storing | abp-infrastructure |
Dynamic background worker capability markers (ISupportsRuntimeRegistration, ISupportsCronScheduling) | Background Workers | abp-infrastructure |
Single-active identity token providers (AbpDefaultTokenProvider, 10-min default lifetime) | Identity | abp-authorization |
OpenIddict default scope fallback (opt-in, AbpOpenIddictAspNetCoreOptions) | Auth | abp-authorization |
MySQL ResourcePermissionGrant index length fix | EF Core | abp-efcore |
| Blazorise 2.2.1, MongoDB.Driver 3.9.0, CodeMirror 6.0.2 | Dependencies | abp-ui, abp-mongodb |
Migration guide: https://abp.io/docs/latest/release-info/migration-guides/abp-10-5
v10.6 (released 2026-07-27) has no breaking changes for typical applications — the new runtime features are opt-in, and migration action is only needed for custom background job stores/workers and custom AI Management chunk repositories. New in v10.6 — only recommend these when the detected version is ≥ 10.6:
| Change | Area | Skill |
|---|---|---|
Background jobs: dedicated workers (AddDedicatedWorker), parallel execution (MaxParallelJobExecutionCount), successful-job retention (StoreSuccessfulJobs + EF CompletionTime column) | Background Jobs | abp-infrastructure |
API definition response ContentTypes + IsRemoteStream; upload proxies send multipart FormData | API / Proxies | abp-api |
| Angular 22.0.x + locale-loading fallback | UI | abp-ui |
Antiforgery user-id claim issuer normalization (default on, AbpAntiForgeryOptions.NormalizeUserIdClaimIssuer) | Security | abp-authorization |
OpenIddict cookie client_id fix; access-token forwarding for authenticated client requests | Auth | abp-authorization |
ThreadCurrentPrincipalAccessor returns anonymous principal (never null) | Core | — |
| MongoDB.Driver 3.10.0, Swashbuckle 10.2.3, Microsoft.Data.SqlClient 7.0.2 | Dependencies | abp-mongodb, abp-api |
Migration guides: https://abp.io/docs/latest/release-info/migration-guides/abp-10-6 · Angular UI: https://abp.io/docs/latest/release-info/migration-guides/abp-10-6-angular-22
abp helpWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
abp-framework, dotnet, ddd, modular-architecture, solution-templates
26 skills in this plugin
/abp-aiABP Framework v10.x (10.4–10.6) AI integration: Microsoft.Extensions.AI (IChatClient), Semantic Kernel, Microsoft Agent Framework, AI Workspaces, AI Management module (Pro) with RAG, document indexing/chunking and MCP servers. Use when you need chat clients, AI agents, RAG or AI workspace management in ABP./abp-apiABP Framework v10.x (10.4–10.6) API development: Auto API Controllers, dynamic and static C#/JS client proxies, Swagger, API versioning, Integration Services. Use when you need a REST API, controller, dynamic proxy or client generation in ABP./abp-audit-loggingABP Framework v10.x (10.4–10.6) audit logging: AbpAuditingOptions, entity history, IAuditingStore, audit log storage and filtering. Use when configuring audit trails, audit logs, or entity history in ABP.npx claudepluginhub burakdmir/abp-skills --plugin abp-senseiOther plugins' skills for the same job