@rulepack/angular

v0.1.0

Modern Angular conventions: standalone components, signals, inject(), built-in control flow, and official style-guide naming.

Updated 6/4/20266 files | 8.1 KB
$pnpm dlx rulepack add angular

Drops CLAUDE.md / .cursor/rules/* and friends into your project.

Downloads

0

Stars

0

Views

0

angular

Modern Angular conventions for AI agents — standalone components, signals, and the official style guide.

npx rulepack add angular

What it covers

  • Standalone-by-default components, member ordering, readonly / protected access
  • Signals: signal(), computed() (read-only), effect() for side effects only
  • Signal-based input() / input.required(), output(), and model() APIs
  • Built-in control flow (@if / @for with mandatory track / @switch) over *ngIf / *ngFor / *ngSwitch
  • [class.*] / [style.*] bindings over NgClass / NgStyle
  • inject() over constructor injection
  • Official file naming, feature-based structure, and .spec.ts test placement

Source

Distilled from the official Angular style guide: https://angular.dev/style-guide

License

MIT