What problem does it solve?
This Skill streamlines the creation of modern, efficient Angular standalone components, adhering to the latest best practices for enhanced performance and maintainability.
Core Features & Use Cases
- Standalone Components: Generates components that are standalone by default, simplifying module management.
- Signal-Based Inputs/Outputs: Utilizes Angular signals for reactive inputs and outputs, improving change detection.
- OnPush Change Detection: Implements
ChangeDetectionStrategy.OnPush for optimized rendering.
- Host Bindings & Content Projection: Provides clear examples for advanced template manipulation and content composition.
- Accessibility: Enforces accessibility standards (WCAG AA, ARIA attributes, keyboard navigation).
- Use Case: Quickly scaffold a new interactive UI element like a custom dropdown or a data table, ensuring it's performant, accessible, and follows current Angular patterns.
Quick Start
Use the angular-component skill to generate a new standalone Angular component named 'user-profile-card' with signal inputs for 'name' and 'email'.