angular-component

Generate Angular standalone components with signal-based inputs and OnPush change detection.

1|1|Updated Jul 31, 2025
One-click install
npx skills add https://github.com/JoaquinFontaana/alquileres --skill angular-component-joaquinfontaana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-component
Source: https://github.com/JoaquinFontaana/alquileres/tree/main/.agents/skills/stack/angular
Command: npx skills add https://github.com/JoaquinFontaana/alquileres --skill angular-component-joaquinfontaana

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers create modern, efficient, and accessible Angular standalone components following the latest best practices, streamlining UI development.

Core Features & Use Cases

  • Standalone Components: Generates components that are standalone by default.
  • Signal-Based Inputs/Outputs: Utilizes Angular Signals for reactive data flow.
  • OnPush Change Detection: Optimizes performance by default.
  • Host Bindings: Manages host element attributes, classes, and listeners declaratively.
  • Content Projection: Supports flexible content composition.
  • Accessibility: Enforces WCAG AA standards and ARIA attributes.
  • Native Control Flow: Uses @if, @for, @switch instead of structural directives.
  • Use Case: Quickly scaffold a new interactive button component with custom styling, accessibility attributes, and signal-based inputs/outputs.

Quick Start

Generate a new Angular standalone component for a user profile card with name and email inputs.

Frequently Asked Questions about angular-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an Angular component using signal-based inputs and outputs?

Build modern Angular components by generating standalone components that use Angular Signals for reactive data flow instead of traditional property decorators. This approach streamlines UI development by ensuring efficient state propagation and adhering to v20+ best practices.

What is the best way to optimize Angular change detection for new UI components?

The best way to optimize Angular change detection for new UI components is to use the OnPush strategy by default. Generating standalone components with OnPush change detection ensures performant UI elements by minimizing unnecessary change detection cycles.

How do I use native control flow syntax in Angular templates?

Use native control flow syntax in Angular templates by replacing structural directives like *ngIf and *ngFor with the built-in @if, @for, and @switch blocks. This generates modern, declarative template logic that adheres to Angular v20+ best practices.

Can I generate Angular components that enforce WCAG AA accessibility standards?

Yes, you can generate Angular components that enforce WCAG AA accessibility standards. The generated standalone components include appropriate ARIA attributes and accessible UI elements to ensure compliance and improve usability for all users.

How do I manage host element attributes and listeners declaratively in Angular?

Manage host element attributes and listeners declaratively in Angular by utilizing host bindings within your standalone component class. This approach allows you to manipulate host element attributes, classes, and listeners without modifying the template.

Does this approach support content projection for flexible Angular component composition?

Yes, this approach supports content projection for flexible Angular component composition. The generated standalone components allow you to project external content into designated slots, enabling highly reusable and composable UI element structures.