best-practices

Installation
SKILL.md

Best Practices Audit: $ARGUMENTS

If $ARGUMENTS is empty, ask the user for a component path or folder before proceeding.

Audit the code at $ARGUMENTS against the project's conventions. Unlike /review-pr which checks diffs, this audits existing code as-is.

Checklist

1. Angular 21+ Patterns

  • New code uses input() / output() / model() / linkedSignal(). Existing @Input() / @Output() decorators are acceptable.
  • host: {} in decorator — no @HostBinding() / @HostListener()
  • @if / @for / @switch — no *ngIf / *ngFor / *ngSwitch
  • No standalone: true (default since Angular 19)
  • No allowSignalWrites option in effect() (the option no longer exists)
  • DestroyRef + takeUntilDestroyed() — no custom DestroyedService
  • computed() + host: { '[class]': } — no CssClassBuilder / @applyCssClass
  • No ngClass / ngStyle (use direct bindings)
Related skills
Installs
5
GitHub Stars
292
First Seen
Mar 19, 2026