What problem does it solve?
This Skill eliminates inconsistent Angular patterns and fragile component code by enforcing modern standards—standalone components, signal-based state, zoneless bootstrapping, and performance-first defaults—so teams deliver predictable, maintainable UI code.
Core Features & Use Cases
- Standards Enforcement: Mandates standalone components, inject() over constructor injection, ChangeDetectionStrategy.OnPush, and file separation for templates and styles.
- State & Templates: Prefers signals (signal, computed, effect), function-based inputs/outputs, and native control flow (@if, @for, @defer) to simplify reactivity and templates.
- Performance & Architecture: Guides zoneless architecture (provideZonelessChangeDetection()), NgOptimizedImage, @defer lazy loading, SSR/hydration choices, and project structure conventions for scalable apps.
- Use Case: Refactor a legacy feature module into standalone components that use signals for state, defer heavy UI fragments, and adopt zoneless bootstrapping to improve render performance and maintainability.
Quick Start
Refactor the legacy Angular component into a standalone component that uses signals for state, ChangeDetectionStrategy.OnPush, and inject() for all dependencies.