Skip to content
Back to skills

Angular Primeng Audit

ASecurity

Audit Angular + PrimeNG components for compliance with smart/dumb boundaries and modern Angular APIs. Use when reviewing or fixing p-table, p-dialog, p-select, signal inputs/outputs, RBAC template visibility, PrimeNG imports, deprecated DropdownModule usage, inline templates/styles, or dialog overlay close bugs.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 12, 2026
ai-agentsgoangularapifrontend

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 12, 2026

npx -y skills add eusouwilson/angular-nest-ai-kit --skill angular-primeng-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Primeng Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular Primeng Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/eusouwilson-angular-primeng-audit/badge)](https://www.skillsdirectory.com/skills/eusouwilson-angular-primeng-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: angular-primeng-audit
description: Audit Angular + PrimeNG components for compliance with smart/dumb boundaries and modern Angular APIs. Use when reviewing or fixing p-table, p-dialog, p-select, signal inputs/outputs, RBAC template visibility, PrimeNG imports, deprecated DropdownModule usage, inline templates/styles, or dialog overlay close bugs.
---

# Angular + PrimeNG Audit

Revisao focada de conformidade de UI PrimeNG em componentes existentes.

## Fontes obrigatorias

- `references/primeng-audit-checklist.md` (nesta skill).
- Doc de templates do projeto destino, se existir: prevalece sobre esta skill.

## Fluxo de auditoria

1. Identificar o tipo do componente: smart page, dumb list, dialog create/edit,
   dialog de detalhe ou UI compartilhada.
2. Comparar `.ts`, `.html` e `.scss` juntos: muita violacao so aparece no cruzamento.
3. Reportar achados com referencia concreta de arquivo e linha.
4. Se pedirem correcao, alterar o minimo de arquivos e preservar comportamento local.
5. Rodar o teste/build mais focado disponivel apos corrigir.

## Checagens

- Estrutura: standalone, `ChangeDetectionStrategy.OnPush` em dumbs, HTML/SCSS separados.
- API: `input()` / `output()` em dumbs; `@Input()` / `@Output()` so em legado fora de escopo.
- DI: `inject()` apenas; sem DI por construtor em codigo novo/refatorado.
- Fronteira Smart/Dumb: dumb nao injeta facade/service e nao faz HTTP.
- Templates: `@if` / `@for`, leitura de signal com `()`, sem `*ngIf` / `*ngFor`.
- PrimeNG: modulo exato por seletor; `SelectModule`/`p-select` no lugar de `DropdownModule`.
- Overlay: `appendTo="body"` em selects dentro de dialog ou tabela.
- Dialog: pai com `@if` exige `dialogVisible` interno; X e footer chamam `closeDialog()`,
  nunca `cancel.emit()` direto.
- RBAC: acoes que modificam dados protegidas por diretiva de permissao.
- Forms: submit desabilitado (nao escondido) em invalido/carregando; mensagem de validacao
  exibida apos `touched` + `invalid`.

## Formato do relatorio

Por achado: severidade (alta/media), arquivo:linha, regra violada, correcao proposta.
Agrupar por severidade, alta primeiro. Nao misturar sugestao de estilo com defeito real.

## Alinhamento de arquitetura

Estrutura assumida: frontend por dominio com `data-access/`, `feature/`, `ui/`; contratos
HTTP publicos na lib compartilhada. Se o projeto destino diverge, ajustar antes de auditar
para nao gerar achado falso positivo.

Files in this skill

  • SKILL.md2.4 KB
  • references/primeng-audit-checklist.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.