Build and debug ABP Blazor UI — pages/components, base classes, render/hosting models, theming, and Blazorise vs MudBlazor choice.
Ships in abp-ui. 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.
Guidance for building UI on top of ABP's Blazor stack. The core component APIs (e.g. AbpComponentBase) come from Volo.Abp.AspNetCore.Components.*; the Blazorise CRUD base classes (AbpCrudPageBase) come from Volo.Abp.BlazoriseUI.
AbpComponentBase for custom pages, AbpCrudPageBase for CRUD screens).abp-* tag helpers, AbpPageModel) — use the mvc-razor-ui skill.Inherit your .razor components / code-behind from ABP base classes to get injected framework services for free.
AbpComponentBase (namespace Volo.Abp.AspNetCore.Components) is the root base. It derives from OwningComponentBase, so it owns a DI scope. It exposes protected members you should reuse instead of re-injecting:
L — an IStringLocalizer (see LocalizationResource, below).Logger, LoggerFactoryCurrentUser (ICurrentUser), CurrentTenant (ICurrentTenant)AuthorizationService (IAuthorizationService)Message (IUiMessageService), Notify (IUiNotificationService), AlertsObjectMapper, ClockHandleErrorAsync(Exception) — routes exceptions through IUserExceptionInformer.Set LocalizationResource in your constructor / OnInitialized so L["Key"] resolves against your module's resource:
public partial class BookList : AbpComponentBase
{
public BookList()
{
LocalizationResource = typeof(MyProjectResource);
}
}
AbpCrudPageBase<TAppService, TEntityDto, TKey, ...> (in Volo.Abp.BlazoriseUI, derives from AbpComponentBase) is a generic base for list/create/edit/delete pages backed by an ICrudAppService. It wires up GetListAsync, paging, create/update modals, and delete. Use it when the page is a straightforward CRUD screen over a crud app service; drop to AbpComponentBase for custom pages.
Inject the application service interface (from the .Application.Contracts package) and call it directly. ABP resolves it either in-process (Blazor Server, or a monolith where the app layer runs in the same process) or over HTTP via the auto-generated dynamic C# client proxies (Blazor WebAssembly, or any client that references the HTTP API client package). Your component code is identical either way:
@inject IBookAppService BookAppService
@code {
protected override async Task OnInitializedAsync()
{
var books = await BookAppService.GetListAsync(new GetBookListInput());
}
}
The dynamic HTTP client proxies are registered by AddHttpClientProxies in the WebAssembly/client module — you don't hand-write an HTTP client.
ABP supports three Blazor models; the framework packages map to them:
Volo.Abp.AspNetCore.Components.Server.*. Runs on the server over a SignalR circuit.Volo.Abp.AspNetCore.Components.WebAssembly.*. Runs in the browser; talks to the backend through the dynamic HTTP client proxies.InteractiveServer, InteractiveWebAssembly, and InteractiveAuto render modes. ABP Studio offers this as a template option.Shared, host-agnostic pieces live in Volo.Abp.AspNetCore.Components.Web.*. There is also a MAUI Blazor host (...Components.MauiBlazor.*) for desktop/mobile.
When a component must run only on the server (e.g. direct DbContext access), keep it out of WASM-rendered paths; prefer app-service calls that work under any render mode.
ABP ships a Basic theme and the LeptonX theme (available as LeptonX Lite and the full LeptonX). Themes provide the layout, toolbar, menu rendering, and branding. Theme-specific Blazor bundling/theming packages live under ...Components.*.Theming and ...Components.*.Theming.MudBlazor. Menu items you contribute (see the menus-and-localization skill) are rendered by whichever theme is active.
ABP Studio's Blazor templates offer two component libraries:
AbpCrudPageBase lives in Volo.Abp.BlazoriseUI....Components.*.Theming.MudBlazor packages.They are not interchangeable at the markup level — component tags, layout primitives, and dialog/modal APIs differ. Before editing or generating a Blazor screen, confirm which library the project uses, and match existing components in that library rather than mixing the two.
Pages and components live in the Blazor host/UI project (e.g. *.Blazor, or the .Client project for WebApp/WASM-rendered components), typically under Pages/ and Components/. Reusable module UI ships in module *.Blazor packages. Follow the existing folder layout of the project.
AbpComponentBase compiles and its injected members (L, CurrentUser, Message, …) resolve at runtime without manual injection.L["Key"] renders the localized value (not the raw key) once LocalizationResource is set to your module's resource.LocalizationResource — without it, L["Key"] won't resolve against your module's resource.L, Logger, CurrentUser, Message, Notify, ObjectMapper, Clock, …) instead of injecting them again.What SKILL.md sets; muted values are Claude Code's defaults
/abp-ui:blazor-uifrom abp-ui
npx claudepluginhub abpframework/abp-skills --plugin abp-ui9 skills in this plugin
/angular-uiBuild and debug ABP Angular UI — generated proxy services, routing/menu contribution, replaceable components, config/permission checks, and localization. USE FOR: calling app services through generated proxy services, adding routes/menu items with RoutesService, swapping components with ReplaceableComponentsService, reading config with ConfigStateService, checking permissions with PermissionService / *abpPermission, localizing with LocalizationService / the abpLocalization pipe. DO NOT USE FOR: generating or regenerating Angular service/model proxies with the NX-vs-plain generator (use abp-cli-commands), Blazor UI (use blazor-ui), MVC / Razor Pages UI (use mvc-razor-ui), defining localization resources and translating json (use menus-and-localization), backend permission definitions (use permissions-and-authorization).
/build-angular-lists-and-formsBuild ABP Angular list and form pages the framework way — server-side paged/sorted/filtered lists via ListService, and reactive forms with ABP's automatic validation. USE FOR: ListService with component-scoped providers, hookToQuery returning PagedResultDto, get() refresh, page/maxResultCount/filter/sortKey/sortOrder setters, requestStatus$ (isLoading$ is deprecated), totalCount, LIST_QUERY_DEBOUNCE_TIME, reactive forms validated automatically by @ngx-validate/core, DEFAULT_VALIDATION_BLUEPRINTS + withValidationBluePrint localization keys, abp-validation-error, the skipValidation opt-out, and config-driven abp-dynamic-form (DynamicFormComponent + FormFieldConfig). DO NOT USE FOR: proxy consumption, menus, permission directives (angular-ui); proxy generation/regeneration (abp-cli-commands); adding entity/table/toolbar/form-prop extensions to a shipped module (extend-angular-module-ui); component testing (test-angular-ui); server-side application-service or DTO design (build-crud-application-services).
/build-mvc-widgetsBuild reusable ABP MVC / Razor Pages widgets — a ViewComponent marked [Widget] that ships its own scripts, styles and bundle contributors, plus a client-side refresh lifecycle so consumers don't wire up dependencies by hand. USE FOR: turning a ViewComponent into a widget with [Widget] / AbpWidgetOptions, declaring a widget's StyleFiles/ScriptFiles/StyleTypes/ScriptTypes, server-side refresh via RefreshUrl, client refresh via abp.WidgetManager and abp.widgets (init/refresh/getFilters), AutoInitialize, dashboards with filter forms, and per-widget authorization (RequiresAuthentication / RequiredPolicies). DO NOT USE FOR: general MVC pages / modals / abp-* tag helpers / the bundling system itself (use mvc-razor-ui), overriding a built-in module's UI components (use customize-application-modules), Blazor or Angular UI (use blazor-ui / angular-ui).
/extend-angular-module-uiExtend a shipped ABP Angular module's UI (Identity, etc.) through the extension system — add row/toolbar actions, columns, and create/edit form fields without forking. USE FOR: the five contributor buckets (entity/toolbar-action, entity-prop, create/edit-form-prop contributors) keyed by the module's component enum; the EntityAction/ToolbarAction/EntityProp/FormProp factories; ePropType; the LinkedList mutators addTail/addByIndex/addAfter/dropByIndex (there is no patch/remove/insertByIndex — patch is drop-plus-reconstruct); registering via createRoutes in a lazy loadChildren (or the deprecated Module.forLazy); EXTENSIONS_IDENTIFIER; the @abp/ng.components/extensible package. DO NOT USE FOR: building your own non-module list/form (build-angular-lists-and-forms); proxy consumption, menus, permission directives, replaceable components (angular-ui); adding server-side extra properties to the entity/DTO (extend-objects-with-extra-properties); component testing (test-angular-ui).
/extend-application-shellExtend the ABP application shell/layout across MVC and Blazor with layout hooks, global/page toolbars, the page header, and branding — without copying the theme layout. USE FOR: injecting content into the layout via AbpLayoutHookOptions + LayoutHooks (MVC ViewComponent hooks; Blazor Razor Component hooks + the App.razor LayoutHook component for the head); adding global toolbar items with StandardToolbars.Main + IToolbarContributor; setting page title/breadcrumb/toolbar via IPageLayout (MVC) or the PageHeader component (Blazor); customizing app name/logo with IBrandingProvider / DefaultBrandingProvider. DO NOT USE FOR: replacing or overriding a built-in module's own pages/components (use customize-application-modules); adding navigation menu items (use menus-and-localization); general MVC or Blazor page building (use mvc-razor-ui / blazor-ui); Angular shell customization (use angular-ui).
/menus-and-localizationContribute navigation menu items, and add/translate the localization json text a module's menus and UI display. USE FOR: adding or editing menu items (IMenuContributor, context.Menu.AddItem, StandardMenus.Main), adding keys to Localization/**/en.json and translating them into the other culture json files, using IStringLocalizer / L["Key"] to display those keys in C# and Razor. DO NOT USE FOR: defining and registering a framework localization resource — AbpLocalizationOptions.Resources.Add(...), AddVirtualJson, resource inheritance, culture fallback, business-exception / data-annotation localization (use localize-applications); Blazor components/render models (use blazor-ui); Angular routes and the abpLocalization pipe (use angular-ui); MVC tag helpers and bundling (use mvc-razor-ui); backend permission definitions (use permissions-and-authorization).
Other plugins' skills for the same job