Build ABP Angular list pages with ListService for server-side paging, sorting, and filtering, and reactive forms with automatic validation via @ngx-validate/core.
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.
ABP's Angular UI ships two pieces of infrastructure that AI models routinely re-implement by hand: ListService for server-side paged data, and automatic reactive-form validation. Use them instead of hand-rolling paging state or manual error markup.
GetListAsync(input) returning PagedResultDto<T>).abp generate-proxy -t ng or the NX generator) — use abp-cli-commands.ListServiceListService (from @abp/ng.core) owns the query state (page, size, filter, sort) and re-runs the request when any of it changes. It must be component-scoped — put it in the component's providers, never providedIn: 'root' — so its subscriptions are cleaned up on destroy.
import { ListService, PagedResultDto } from '@abp/ng.core';
import { Component, inject, OnInit } from '@angular/core';
import { BookService, BookDto } from '../proxy/books';
@Component({
selector: 'app-books',
templateUrl: './books.component.html',
providers: [ListService], // component-scoped — REQUIRED
})
export class BooksComponent implements OnInit {
readonly list = inject(ListService);
private bookService = inject(BookService);
items: BookDto[] = [];
count = 0;
requestStatus$ = this.list.requestStatus$; // 'idle' | 'loading' | 'success' | 'error'
ngOnInit() {
// callback receives the composed query, returns Observable<PagedResultDto<T>>
this.list
.hookToQuery(query => this.bookService.getList(query))
.subscribe(res => {
this.items = res.items ?? [];
this.count = res.totalCount ?? 0; // read the count off the response
});
}
}
The query object hookToQuery passes to your callback is { filter, maxResultCount, skipCount, sorting } — sorting is "field asc|desc" and skipCount = page * maxResultCount, which matches ABP's PagedAndSortedResultRequestDto.
list.filter; the setter re-runs the query.list.sortKey / list.sortOrder (from a table header click).list.page / list.maxResultCount.list.get() (or list.getWithoutPageReset() to stay on the current page).query => this.bookService.getList({ ...query, authorId }).Debounce is LIST_QUERY_DEBOUNCE_TIME (default 300 ms); provide the token alongside ListService to change it.
ABP validates reactive forms through @ngx-validate/core and renders localized helper text automatically — you do not write per-field error *ngIf markup. Build a normal FormGroup with Angular validators; ABP shows the messages.
form = this.fb.group({
name: ['', [Validators.required, Validators.maxLength(128)]],
price: [0, [Validators.required, Validators.min(0)]],
});
Message text comes from DEFAULT_VALIDATION_BLUEPRINTS (from @abp/ng.theme.shared), which maps validator keys (required, email, minlength, …) to localization keys like AbpValidation::ThisFieldIsRequired. Override or extend them with withValidationBluePrint(...) passed into provideAbpThemeShared(...).
abp-validation-error component (ValidationErrorComponent from @abp/ng.theme.basic) and provide VALIDATION_ERROR_TEMPLATE.skipValidation on a <form> (whole form) or on a single formControlName input.For arbitrary (non-entity) forms, drive <abp-dynamic-form> (DynamicFormComponent from @abp/ng.components/dynamic-form) with a FormFieldConfig[] array — field types, validators, conditional visibility, nested groups/arrays — instead of writing template markup.
This is a separate validation path from the reactive-form @ngx-validate/core story above: abp-dynamic-form does not read the theme-shared validation blueprints. It validates from each field's FormFieldConfig.validators and renders its own error text (per-field message, with an English fallback), so don't expect the automatic localized blueprint messages here — set the message on the field config.
MaxResultCount/SkipCount/Sorting and the grid updates; navigate away and back and confirm no leaked subscriptions (that's the component-scoped provider doing its job).ListService provided in root. Then it never tears down and leaks across pages. Always component-scoped.totalCount$ or isLoading$. totalCount$ does not exist — read res.totalCount. isLoading$ exists but is deprecated; use requestStatus$.ListService already does all of it; wiring your own fights it.@ngx-validate/core renders messages automatically once the control has Angular validators; adding your own *ngIf error blocks duplicates them.abp-dynamic-form (config-driven, here) is not the entity-extension form (generateFormFromProps / abp-extensible-form) — that belongs to extend-angular-module-ui.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/abp-ui:build-angular-lists-and-formsfrom 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).
/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-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