Exposes ABP application services as REST endpoints via Auto/Conventional API Controllers. Configures route/verb conventions and toggles service exposure with [RemoteService].
Ships in abp-api. 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.
ABP turns application services into REST API controllers automatically by convention. You almost never write controllers by hand.
[RemoteService].[IntegrationService] over HTTP.AbpRemoteServiceOptions, named endpoints) — use the consume-remote-services skill.Any class that implements IRemoteService becomes a candidate. IApplicationService inherits IRemoteService, so every application service qualifies. To publish the services in an assembly, configure AbpAspNetCoreMvcOptions in PreConfigureServices:
[DependsOn(typeof(BookStoreApplicationModule))]
public class BookStoreWebModule : AbpModule
{
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<AbpAspNetCoreMvcOptions>(options =>
{
options.ConventionalControllers
.Create(typeof(BookStoreApplicationModule).Assembly);
});
}
}
Create takes an optional setup action for per-assembly options (see below). Call it multiple times for different assemblies or option sets.
Routes: /api + root path (default /app) + normalized service name (kebab-case, with AppService/ApplicationService/Service postfix removed) + /{id} when the method has an id parameter + the normalized action name.
HTTP method is picked from the method-name prefix:
| Prefix | Verb |
|---|---|
GetList / GetAll / Get | GET |
Put / Update | PUT |
Delete / Remove | DELETE |
Create / Add / Insert / Post | POST |
Patch | PATCH |
| anything else | POST (default) |
Examples with the default /app root path:
| Method | Verb | Route |
|---|---|---|
GetAsync(Guid id) | GET | /api/app/book/{id} |
GetListAsync() | GET | /api/app/book |
CreateAsync(CreateBookDto input) | POST | /api/app/book |
UpdateAsync(Guid id, UpdateBookDto input) | PUT | /api/app/book/{id} |
DeleteAsync(Guid id) | DELETE | /api/app/book/{id} |
Override any of this with the standard ASP.NET Core attributes ([HttpGet], [HttpPost], [Route], …). That requires the Microsoft.AspNetCore.Mvc.Core package in the service project.
options.ConventionalControllers.Create(
typeof(BookStoreApplicationModule).Assembly,
opts =>
{
opts.RootPath = "book-store"; // /api/book-store/...
opts.TypePredicate = type => true; // filter which types become controllers
opts.UrlControllerNameNormalizer = ctx => ctx.ControllerName; // customize service name
opts.UrlActionNameNormalizer = ctx => ctx.ActionNameInUrl; // customize action name
// opts.UseV3UrlStyle = true; // pre-4.0 camelCase routes (kebab-case is default)
});
[RemoteService]RemoteServiceAttribute toggles whether a class is exposed and whether it appears in API metadata (Swagger):
[RemoteService(IsEnabled = false)] // or [RemoteService(false)] — not exposed at all
public class PersonAppService : ApplicationService { }
[RemoteService(IsMetadataEnabled = false)] // callable, but hidden from API Explorer/Swagger
public class HiddenAppService : ApplicationService { }
[RemoteService(Name = "abp")] // set the remote service name for the controller
public class SomeController : AbpController { }
An integration service is an application service meant for inter-module / inter-microservice calls rather than UI clients. Mark it with [IntegrationService] (from Volo.Abp), on the class or its interface:
[IntegrationService]
public class ProductAppService : ApplicationService, IProductAppService { }
// or on the interface — then you don't need it on the class:
[IntegrationService]
public interface IProductAppService : IApplicationService { }
By convention, integration services:
/integration-api instead of /api when they are exposed via Auto API Controllers.Expose them explicitly only when needed (e.g. a microservice consumed over a private network):
Configure<AbpAspNetCoreMvcOptions>(options =>
{
options.ExposeIntegrationServices = true;
});
Configure<AbpAuditingOptions>(options =>
{
options.IsEnabledForIntegrationServices = true; // opt back into audit logging
});
Filter which kind of service an assembly's controllers cover with ApplicationServiceTypes (a [Flags] enum: ApplicationServices, IntegrationServices, All):
options.ConventionalControllers.Create(
typeof(MyApplicationModule).Assembly,
setting => setting.ApplicationServiceTypes = ApplicationServiceTypes.IntegrationServices);
/api/abp/api-definition: the application services registered via ConventionalControllers.Create(...) appear with the expected routes/verbs from the tables above.GET /api/app/book) and confirm the route matches the convention or your overriding attribute.ExposeIntegrationServices = true, and that they then serve under /integration-api instead of /api.[HttpGet], [Route], …) requires the Microsoft.AspNetCore.Mvc.Core package in the service project.ExposeIntegrationServices = true (that's all exposing requires — it controls whether the integration controllers are removed). IsEnabledForIntegrationServices is a separate opt-in that only re-enables auditing for them; you don't need it to expose the service.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/configure-corsConfigure CORS (browser cross-origin access) for an ABP HTTP API host. USE FOR: the App:CorsOrigins setting (comma-separated, trailing-slash trimming), AddCors + WithOrigins, WithAbpExposedHeaders, SetIsOriginAllowedToAllowWildcardSubdomains for wildcard subdomains, the AllowCredentials vs any-origin conflict, UseCors middleware ordering, and which host/gateway to configure in tiered/microservice solutions. DO NOT USE FOR: OpenIddict client redirect / post-logout URIs (registered on the OpenIddict client application at creation/seeding, not a CORS or auth-config setting); RedirectAllowedUrls and named app URLs (configure-app-urls); CSRF/antiforgery and security response headers (secure-web-requests); calling a remote API from C# (consume-remote-services)./configure-swagger-openapiWire up Swagger/OpenAPI for an ABP host with the Volo.Abp.Swashbuckle helpers, including OAuth/OIDC authorize flows and hiding framework endpoints. USE FOR: AddAbpSwaggerGen + UseAbpSwaggerUI setup, AddAbpSwaggerGenWithOAuth / AddAbpSwaggerGenWithOidc for interactive auth on the Swagger UI, AbpSwaggerOidcFlows, HideAbpEndpoints, a metadata/discovery address that differs from the issuer (k8s/docker), versioned SwaggerDoc definitions. DO NOT USE FOR: exposing application services as HTTP controllers (use expose-http-apis); generating C# client proxies for remote APIs (use consume-remote-services); choosing an API versioning strategy (use version-http-apis); configuring the OpenIddict token/authorization server or JWT validation itself (use configure-openiddict-authentication / configure-openiddict-validation).
/consume-remote-servicesCall a remote ABP HTTP API from C# through generated client proxies instead of raw HttpClient. USE FOR: setting up dynamic (runtime) or static (build-time) client proxies, configuring AbpRemoteServiceOptions (BaseUrl / named endpoints), wiring tiered / microservice calls, authenticating proxy calls (forward the current user token with AbpHttpClientIdentityModelWebModule, or client credentials with AbpHttpClientIdentityModelModule + IdentityClients), adding Polly retry to proxy clients. DO NOT USE FOR: exposing your own services as HTTP APIs or auto controllers (use expose-http-apis); choosing sync HTTP vs async events between services or the outbox/inbox (use design-module-and-service-communication); routing proxies through Dapr service invocation (use integrate-dapr-services).
/use-abp-standard-endpointsUse ABP's built-in application-configuration and application-localization HTTP endpoints, and extend them with an IApplicationConfigurationContributor. USE FOR: reading /api/abp/application-configuration (current user, granted policies, settings, features, multi-tenancy, timing) and /api/abp/application-localization from a custom client; extending the config with IApplicationConfigurationContributor and AbpApplicationConfigurationOptions. DO NOT USE FOR: publishing your own application services as controllers (use expose-http-apis); calling remote ABP APIs with C# client proxies (use consume-remote-services); consuming the config in Angular/Blazor/MVC startup (use the per-stack UI skill: angular-ui / blazor-ui / mvc-razor-ui); defining settings/features themselves (use manage-settings-and-features); defining permissions (use permissions-and-authorization).
/version-http-apisAdd API versioning to ABP HTTP APIs so multiple versions of the same service coexist behind static client proxies. USE FOR: AddAbpApiVersioning, query/header/media-type version readers, attaching ApiVersions to conventional controllers, ICurrentApiVersionInfo runtime version switching, the versioned API explorer. DO NOT USE FOR: exposing services as controllers in the first place (use expose-http-apis); Swagger UI / OpenAPI doc setup (use configure-swagger-openapi); generating or calling C# client proxies (use consume-remote-services).
/abp-api:expose-http-apisfrom abp-api
npx claudepluginhub abpframework/abp-skills --plugin abp-apiOther plugins' skills for the same job