Loads ABP modules at runtime as plug-ins via PlugInSources. Configure AddFolder/AddFiles/AddTypes, build class-library plug-in modules, and wire MVC/Razor Pages application parts.
Ships in abp-module-development. 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.
An ABP module can be loaded as a plug-in: instead of adding a project/assembly reference, you point the application at assemblies (or types) to load at startup. ABP discovers the module classes, configures and initializes them exactly like referenced modules.
options.PlugInSources with AddFolder, AddFiles, AddTypes, or a custom IPlugInSource.AbpModule.[DependsOn], or DI registration — use the define-application-modules skill.Configure options.PlugInSources when creating the application. In an ASP.NET Core app this is the options callback of AddApplicationAsync<T>:
await builder.AddApplicationAsync<MyPlugInDemoWebModule>(options =>
{
options.PlugInSources.AddFolder(@"D:\Temp\MyPlugIns");
});
PlugInSources is a list of IPlugInSource. There are three built-in shortcuts:
AddFolder(path) — loads assemblies (.dll) in the given folder. It does not recurse by default; pass SearchOption.AllDirectories as a second argument to include sub-folders. Shortcut for PlugInSources.Add(new FolderPlugInSource(path)).AddFiles(...) — loads a specific list of assembly files. Shortcut for FilePlugInSource.AddTypes(...) — takes module class types directly; you must load their assemblies yourself, but it gives full control. Shortcut for TypePlugInSource.options.PlugInSources.Add(new FolderPlugInSource(@"D:\Temp\MyPlugIns"));
// or
options.PlugInSources.AddFolder(@"D:\Temp\MyPlugIns", SearchOption.AllDirectories);
You can also implement your own IPlugInSource and add it to options.PlugInSources.
PlugInSources is exposed on AbpApplicationCreationOptions, so it is available anywhere you create the application via AbpApplicationFactory.CreateAsync<T>(options => ...) as well, not only ASP.NET Core.
A plug-in is an ordinary class library. Add at least Volo.Abp.Core (abp add-package Volo.Abp.Core) and define a module class deriving from AbpModule.
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp;
using Volo.Abp.Modularity;
namespace MyPlugIn
{
public class MyPlugInModule : AbpModule
{
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
var myService = context.ServiceProvider.GetRequiredService<MyService>();
myService.Initialize();
}
}
}
Any service the plug-in registers (e.g. via ITransientDependency) is available through DI once the plug-in is loaded:
using Microsoft.Extensions.Logging;
using Volo.Abp.DependencyInjection;
namespace MyPlugIn
{
public class MyService : ITransientDependency
{
private readonly ILogger<MyService> _logger;
public MyService(ILogger<MyService> logger) => _logger = logger;
public void Initialize() => _logger.LogInformation("MyService has been initialized");
}
}
Build the project, then copy the produced MyPlugIn.dll into the plug-in folder (e.g. D:\Temp\MyPlugIns).
UI plug-ins need extra wiring. Change the csproj Sdk to Microsoft.NET.Sdk.Web, set <OutputType>Library</OutputType> and <IsPackable>true</IsPackable>, and reference a suitable package such as Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared. Then register the assembly as an MVC application part in PreConfigureServices:
[DependsOn(typeof(AbpAspNetCoreMvcUiThemeSharedModule))]
public class MyMvcUIPlugInModule : AbpModule
{
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<IMvcBuilder>(mvcBuilder =>
{
mvcBuilder.PartManager.ApplicationParts.Add(
new AssemblyPart(typeof(MyMvcUIPlugInModule).Assembly));
// Required if the plug-in contains compiled razor views:
mvcBuilder.PartManager.ApplicationParts.Add(
new CompiledRazorAssemblyPart(typeof(MyMvcUIPlugInModule).Assembly));
});
}
}
Without registering the AssemblyPart (and CompiledRazorAssemblyPart for views), ASP.NET Core will not discover the plug-in's controllers or pages. Build, copy the resulting .dll into the plug-in folder, and the pages become reachable once the application loads the plug-in.
DbMigrator to include plug-in migrations.AddFolder (a directory of DLLs), AddFiles (explicit files), or AddTypes (known module types).AbpModule class; reference at least Volo.Abp.Core.AssemblyPart (+ CompiledRazorAssemblyPart) via PreConfigure<IMvcBuilder>.OnApplicationInitialization runs and its services resolve — for UI plug-ins, that the controllers/pages become reachable.*.deps.json (e.g. MyPlugIn.deps.json) there; don't delete files in place in the build output or repo. Better, exclude *.deps.json when you publish the plug-in.AddFolder to recurse — it does not by default; pass SearchOption.AllDirectories for sub-folders.CompiledRazorAssemblyPart for a plug-in with compiled razor views — AssemblyPart alone won't surface the views.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
abp-plugin, runtime-modules, plug-in-sources, mvc-razor-pages
/abp-module-development:create-plugin-modulesfrom abp-module-development
npx claudepluginhub abpframework/abp-skills --plugin abp-module-development13 skills in this plugin
/application-servicesWrites or reviews an ABP application service — the DTO-taking, DTO-returning boundary between the domain and the presentation/API layer. USE FOR: implementing IApplicationService/ApplicationService for non-CRUD use cases, using AbstractKeyCrudAppService for composite or non-standard keys, and unit-of-work basics. DO NOT USE FOR: exposing application services as auto/conventional API controllers, routes, verbs or [RemoteService] (use expose-http-apis); a complete standard-key CrudAppService workflow (use build-crud-application-services); detailed object-to-DTO mapping mechanics/profiles (use map-objects-and-dtos); DTO validation attributes and business exceptions (use handle-validation-and-errors); permission definitions and authorization policy (use permissions-and-authorization); the overall layered project structure (use layered-architecture).
/build-crud-application-servicesBuilds or reviews a complete ABP CRUD application-service contract and implementation with the CrudAppService APIs. USE FOR: choosing ICrudAppService/CrudAppService generic overloads, separating get/list/create/update DTOs, wiring IRepository, object mappings and five policy properties, adding list filters without breaking count/sort/page order, and validating all five CRUD operations. DO NOT USE FOR: a non-CRUD use case or general ApplicationService orchestration (use application-services); composite or non-standard keys with AbstractKeyCrudAppService (use application-services); mapping-provider configuration details (use map-objects-and-dtos); permission definitions (use permissions-and-authorization); optimistic concurrency (use handle-optimistic-concurrency); HTTP endpoint conventions (use expose-http-apis); integration-test infrastructure (use test-abp-applications).
/customize-application-modulesExtends or customizes a pre-built ABP module (Identity, Account, etc.) referenced as NuGet packages without editing its source. USE FOR: adding extra entity/DTO properties via the module extension system, mapping extra properties to real EF Core columns, replacing/overriding module services, repositories, domain services, and controllers, overriding module UI. DO NOT USE FOR: defining your own new application module from scratch (use define-application-modules); modeling your own aggregates/entities (use model-domain-aggregates); general object-to-DTO mapping mechanics (use map-objects-and-dtos).
/define-application-modulesDefine and wire up an ABP module: the AbpModule class, [DependsOn] dependencies, service registration, options configuration, lifecycle hooks, and conventional DI. USE FOR: creating an AbpModule class, declaring [DependsOn] dependencies, registering services in ConfigureServices / PreConfigureServices / PostConfigureServices, configuring options with Configure for an options class, adding startup/shutdown lifecycle hooks (OnApplicationInitialization / OnApplicationShutdown), relying on ITransientDependency/IScopedDependency/ISingletonDependency conventional DI. DO NOT USE FOR: deciding which project a class belongs in or the overall solution layering (use layered-architecture); modeling entities/aggregates/value objects/domain services (use model-domain-aggregates); loading modules at runtime as plug-ins (use create-plugin-modules); writing application service implementations (use application-services).
/extend-objects-with-extra-propertiesAdd framework-level dynamic properties to any ABP entity or DTO that implements IHasExtraProperties. USE FOR: IHasExtraProperties and ExtraPropertyDictionary; ExtensibleObject and extensible aggregate roots/DTOs; ObjectExtensionManager definitions; GetProperty/SetProperty; EF Core JSON or dedicated-column persistence; MongoDB extra elements; mapping extra properties between entities and DTOs. DO NOT USE FOR: extending an installed Identity, Account, or other pre-built module through its module-specific extension configurator (use customize-application-modules); ordinary object mapping without extra properties (use map-objects-and-dtos); designing aggregate invariants and entity relationships (use model-domain-aggregates).
/handle-validation-and-errorsValidates DTOs/inputs and throws/localizes business errors in an ABP app. USE FOR: data annotations, IValidationEnabled, FluentValidation, BusinessException/UserFriendlyException, error codes, localizing error messages, mapping exceptions to HTTP status codes. DO NOT USE FOR: writing the application service itself or CrudAppService plumbing (use application-services); permission/authorization checks and AbpAuthorizationException policy (use permissions-and-authorization / authorize-resources).
Other plugins' skills for the same job