Build and debug ABP Angular UI: call app services via generated proxy services, add routes/menu items, swap components, check config/permissions, and localize.
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 ABP's Angular stack. Core APIs live in @abp/ng.core; module-specific UI ships in @abp/ng.* and @volo/abp.ng.* packages.
RoutesService.ReplaceableComponentsService.ConfigStateService and checking policies with PermissionService / *abpPermission.LocalizationService / the abpLocalization pipe.abp generate-proxy -t ng for a plain workspace, npx nx g @abp/nx.generators:generate-proxy for an NX workspace).An ABP Angular app is composed from published npm packages, not hand-written module code:
@abp/ng.core — the framework runtime: config state, permissions, localization, routing, HTTP proxy plumbing.@abp/ng.theme.shared / @abp/ng.theme.basic / @abp/ng.theme.lepton-x — layout + theming.@abp/ng.identity, @abp/ng.setting-management, @abp/ng.tenant-management, … — per-module UIs (equivalents live under @volo/abp.ng.*).You import components/services from these packages and add your own feature code alongside generated proxies. The ng-packs monorepo (packages/*) is the source of the @abp/ng.* packages and is an NX workspace.
Proxies are the typed client for your backend app services. Generating them is the CLI's job — use the abp-cli-commands skill (abp generate-proxy -t ng for a plain workspace, npx nx g @abp/nx.generators:generate-proxy for an NX workspace). This skill covers using the result.
Know the output shape so you can consume it: per backend controller the generator writes a service (*.service.ts, providedIn: 'root'), DTO interfaces (*.model.ts / models.ts), separate enum files with ready-made option arrays, and index.ts barrels. Output typically lands under src/app/proxy/ (aliased @proxy in generated apps).
Inject the generated proxy service and call its methods; DTOs come from the generated models:
import { Component, inject } from '@angular/core';
import { BookService, BookDto } from '@proxy/books';
@Component({ /* ... */ })
export class BookListComponent {
private bookService = inject(BookService);
books: BookDto[] = [];
ngOnInit() {
this.bookService.getList({ maxResultCount: 10 }).subscribe(res => {
this.books = res.items ?? []; // items is optional (ListResultDto<T>.items?: T[])
});
}
}
Proxy methods return Observables and call the backend over the ABP dynamic API. No manual HttpClient wiring.
Register navigation/menu entries with RoutesService (from @abp/ng.core, providedIn: 'root'). Call .add([...]) with route config objects:
import { RoutesService, eLayoutType } from '@abp/ng.core';
import { inject, provideAppInitializer } from '@angular/core';
// Register in your app config's providers so inject() runs in a valid injection context
export const BOOKS_ROUTE_PROVIDERS = [
provideAppInitializer(() => {
const routes = inject(RoutesService);
routes.add([
{
path: '/books',
name: '::Menu:Books', // localization key or object
iconClass: 'fas fa-book',
order: 101,
layout: eLayoutType.application,
requiredPolicy: 'BookStore.Books', // hides item unless granted
},
]);
}),
];
Route config supports path, name, parentName (for nesting), order, iconClass, layout, requiredPolicy. eLayoutType values: application, account, empty. Feature UIs are wired as lazy-loaded routes (loadChildren / standalone loadComponent) in the app's routing; protect them with permissionGuard (data: { requiredPolicy: '...' }).
Swap a module's built-in component for your own with ReplaceableComponentsService (from @abp/ng.core), keyed by the module's component-key enum:
import { ReplaceableComponentsService } from '@abp/ng.core';
import { eIdentityComponents } from '@abp/ng.identity';
import { inject, provideAppInitializer } from '@angular/core';
// Register in your app config's providers so inject() runs in a valid injection context
export const IDENTITY_REPLACEMENT_PROVIDERS = [
provideAppInitializer(() => {
inject(ReplaceableComponentsService).add({
component: MyRolesComponent,
key: eIdentityComponents.Roles,
});
}),
];
Layout components use eThemeSharedComponents (ApplicationLayoutComponent, AccountLayoutComponent, EmptyLayoutComponent).
ConfigStateService (@abp/ng.core) exposes the application configuration (current user, features, settings, localization) with getOne(key) / getOne$(key) and getDeep(keys) / getDeep$(keys).
PermissionService (@abp/ng.core) checks granted policies. Call inject() in a
valid injection context (a component/service field or constructor):
@Component({ /* ... */ })
export class BookListComponent {
private readonly permissionService = inject(PermissionService);
readonly canCreate = this.permissionService.getGrantedPolicy('BookStore.Books.Create');
}
Use getGrantedPolicy$(key) for the Observable form; combine keys with && / ||. In templates, the *abpPermission structural directive hides content unless granted:
<button *abpPermission="'BookStore.Books.Create'">New book</button>
LocalizationService (@abp/ng.core) resolves keys in ResourceName::Key form. instant(key, ...params) is synchronous; get(key, ...params) returns an Observable. In templates use the abpLocalization pipe:
<h1>{{ '::Menu:Books' | abpLocalization }}</h1>
<span>{{ 'AbpAccount::PagerInfo' | abpLocalization:'20':'30':'50' }}</span>
Pass { key, defaultValue } for a fallback. A leading :: uses the app's default resource. Add new keys to the backend module's Localization/**/*.json for every culture — see the menus-and-localization skill.
abp generate-proxy -t ng (or the NX generator), the src/app/proxy/ output compiles and @proxy/... imports resolve.requiredPolicy), and its lazy feature loads when navigated to.*abpPermission / getGrantedPolicy hides or shows content according to the current user's granted policies.abpLocalization pipe renders the localized value; a raw ResourceName::Key on screen means the key is missing from the culture json.dotnet run.inject() outside a valid injection context — register RoutesService / ReplaceableComponentsService setup in the app config's providers (e.g. provideAppInitializer) so inject() runs in a valid context.ListResultDto<T>.items as always present — items is optional (items?: T[]); guard with res.items ?? [].:: uses the app's default resource; a key added to en.json but not the sibling culture files falls back to English or shows the raw key.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/abp-ui:angular-uifrom abp-ui
npx claudepluginhub abpframework/abp-skills --plugin abp-ui9 skills in this plugin
/blazor-uiBuild and debug ABP Blazor UI — pages/components, base classes, render/hosting models, theming, and the Blazorise vs MudBlazor choice. USE FOR: creating Blazor pages/components, choosing a base class (AbpComponentBase / AbpCrudPageBase), calling application services from Blazor, picking a hosting/render model (Server / WebAssembly / WebApp / Auto), working with the LeptonX/Basic theme, deciding between Blazorise and MudBlazor components. DO NOT USE FOR: Angular UI (use angular-ui), MVC / Razor Pages UI (use mvc-razor-ui), menu contribution and localization resources/json (use menus-and-localization), permission definitions on the backend (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).
Other plugins' skills for the same job