Reads ABP's built-in application-configuration and application-localization HTTP endpoints, and extends them with IApplicationConfigurationContributor. For building custom clients or non-official UIs.
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.
Every ABP host ships two pre-built HTTP endpoints that describe the running application/service to its clients: /api/abp/application-configuration and /api/abp/application-localization. Official UI clients call these on startup; you only touch them directly when building a client from scratch or extending what they return.
/api/abp/application-configuration to get the current user, granted permissions (policies), setting values, features, multi-tenancy info, timing/clock, object extensions./api/abp/application-localization to pull localization resources and texts for a culture.IApplicationConfigurationContributor + AbpApplicationConfigurationOptions.AbpRemoteServiceOptions) — use the consume-remote-services skill.ConfigStateService, abp.currentUser, etc.) — use the per-stack UI skill (angular-ui / blazor-ui / mvc-razor-ui).Auth.GrantedPolicies — use permissions-and-authorization.Served by AbpApplicationConfigurationAppService (implements IAbpApplicationConfigurationAppService), exposed through AbpApplicationConfigurationController:
[Route("api/abp/application-configuration")], verb [HttpGet], [RemoteService(Name = "abp")], [Area("abp")].ApplicationConfigurationRequestOptions from the query string. It has one property, IncludeLocalizationResources (default true); set it to false to skip filling the localization Values (useful when the client already shares the localization files).AntiForgeryManager.SetCookie() on each request, so hitting this endpoint issues the anti-forgery cookie.GetAsync returns ApplicationConfigurationDto, whose real shape is:
| Property | Type | Contents |
|---|---|---|
Auth | ApplicationAuthConfigurationDto | GrantedPolicies — the policies/permissions granted to the current user |
Setting | ApplicationSettingConfigurationDto | client-visible setting values (IsVisibleToClients) |
CurrentUser | CurrentUserDto | IsAuthenticated, Id, TenantId, UserName, Name, SurName, Email, EmailVerified, PhoneNumber, PhoneNumberVerified, Roles, SessionId, impersonation fields |
Features | ApplicationFeatureConfigurationDto | client-visible feature values |
GlobalFeatures | ApplicationGlobalFeatureConfigurationDto | EnabledFeatures |
MultiTenancy | MultiTenancyInfoDto | IsEnabled, UserSharingStrategy |
CurrentTenant | CurrentTenantDto | Id, Name, IsAvailable |
Localization | ApplicationLocalizationConfigurationDto | languages, current culture, resource values (when IncludeLocalizationResources) |
Timing | TimingDto | current user's time zone (Windows + IANA) |
Clock | ClockDto | Kind (the AbpClockOptions.Kind, e.g. Utc/Local) |
ObjectExtensions | ObjectExtensionsDto | extra-property/extensible-object metadata |
ExtraProperties | ExtraPropertyDictionary | anything added by contributors |
Only client-visible settings (IsVisibleToClients) and client-visible features are included; the app service filters both.
Served by AbpApplicationLocalizationAppService (implements IAbpApplicationLocalizationAppService), exposed through AbpApplicationLocalizationController:
[Route("api/abp/application-localization")], verb [HttpGet], [RemoteService(Name = "abp")], [Area("abp")].ApplicationLocalizationRequestDto from the query string:
CultureName ([Required]) — a culture code like en or en-US. GetAsync throws AbpException if it isn't a valid culture code.OnlyDynamics (default false) — set to true to return only dynamically-defined texts. When your client shares the same static localization files as the server (like ABP's Blazor/MVC UIs), pass true so you only download the dynamic delta.Returns ApplicationLocalizationDto: Resources (a dictionary of resource name → ApplicationLocalizationResourceDto with Texts and BaseResources) plus CurrentCulture.
Example request:
GET /api/abp/application-localization?cultureName=en&onlyDynamics=true
Note the naming split: the application-configuration endpoint carries a languages list and (optionally) resource values in its Localization property; application-localization is the dedicated endpoint for the full per-culture texts.
To add your own data to application-configuration, implement IApplicationConfigurationContributor (namespace Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations), which defines a single method ContributeAsync(ApplicationConfigurationContributorContext context):
using System.Threading.Tasks;
using Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations;
using Volo.Abp.Data;
public class MyApplicationConfigurationContributor : IApplicationConfigurationContributor
{
public Task ContributeAsync(ApplicationConfigurationContributorContext context)
{
// resolve any service from context.ServiceProvider and run your logic
context.ApplicationConfiguration.SetProperty("deploymentVersion", "v1.0.0");
return Task.CompletedTask;
}
}
ApplicationConfigurationContributorContext exposes ServiceProvider (contributors run inside a fresh DI scope) and ApplicationConfiguration (the ApplicationConfigurationDto being built). SetProperty(...) lands the value in the DTO's ExtraProperties.
Register the contributor instance in AbpApplicationConfigurationOptions.Contributors:
Configure<AbpApplicationConfigurationOptions>(options =>
{
options.Contributors.AddIfNotContains(new MyApplicationConfigurationContributor());
});
AbpApplicationConfigurationOptions has exactly one member, Contributors (a List<IApplicationConfigurationContributor>). The app service runs every registered contributor after building the standard DTO, so contributors can also read/adjust the already-populated properties, not just add extras.
GET /api/abp/application-configuration returns JSON with auth.grantedPolicies, currentUser, setting, features, multiTenancy, currentTenant, timing, clock.currentUser.isAuthenticated flips to true and auth.grantedPolicies lists the granted permission names.GET /api/abp/application-configuration?includeLocalizationResources=false returns the same DTO but with localization.values empty.GET /api/abp/application-localization?cultureName=en returns resources keyed by resource name; add &onlyDynamics=true and confirm only the dynamic texts come back.deploymentVersion) appears under extraProperties of the configuration response.cultureName on the localization endpoint throws a plain AbpException, which ABP's default exception-to-status-code mapping surfaces as 500 (a bare AbpException is not treated as a validation/4xx error).IApplicationConfigurationContributor (no Abp prefix), even though the options type is AbpApplicationConfigurationOptions and the app service is AbpApplicationConfigurationAppService. Don't invent IAbpApplicationConfigurationContributor.IsVisibleToClients reach the client. A setting missing from setting.values usually means it isn't client-visible, not that the endpoint dropped it — fix it where the setting/feature is defined (manage-settings-and-features).onlyDynamics=true returns only the dynamic delta; a client that doesn't also ship the static localization files will be missing texts. Use it only when the client shares the server's static resources.IncludeLocalizationResources defaults to true, so an unqualified request downloads all localization values on every call; pass false when the client already has them.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).
/abp-api:use-abp-standard-endpointsfrom abp-api
npx claudepluginhub abpframework/abp-skills --plugin abp-apiOther plugins' skills for the same job