AGENT SKILL

angular-best-practices-primeng

PrimeNG best practices for Angular. Covers tree-shaking imports, lazy-loaded tables, and the Aura/Lara theme system with design tokens. Activates when working with primeng components. Do not use for Angular Material, Spartan UI, or other component libraries. Install alongside angular-best-practices for full coverage.

License 许可
MIT
最近更新
2026-10-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
angular-best-practices-primeng
tags
[ "angular", "primeng", "ui-components" ]
globs
[ "**/*.ts", "**/*.component.ts", "**/*.html" ]
license
MIT
metadata
{ "author": "alfredoperez", "version": "1.2.0" }
description
PrimeNG best practices for Angular. Covers tree-shaking imports, lazy-loaded tables, and the Aura/Lara theme system with design tokens. Activates when working with primeng components. Do not use for Angular Material, Spartan UI, or other component libraries. Install alongside angular-best-practices for full coverage.

02 资源文件 1

03 SKILL.md 正文

Angular PrimeNG Best Practices

PrimeNG rules for component imports, table performance, and theming. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Importing PrimeNG standalone components
  • Configuring tables with server-side pagination or virtual scrolling
  • Setting up Aura/Lara themes with design tokens

Rules

Rule Impact Description
Tree-Shake PrimeNG Imports MEDIUM Standalone component imports for smaller bundles
Use PrimeNG Table with Lazy Loading HIGH Server-side pagination for large datasets
Use PrimeNG Theme System MEDIUM Design tokens via providePrimeNG instead of CSS overrides

Install

Install from skills.sh/alfredoperez/angular-best-practices:

04 同仓库更多 Skills