angular-component

Scaffold Angular v20+ standalone components using signals for inputs and outputs.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/afonsoft/VideoChat --skill angular-component-afonsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: angular-component
Source: https://github.com/afonsoft/VideoChat/tree/main/.agents/skills/angular-component
Command: npx skills add https://github.com/afonsoft/VideoChat --skill angular-component-afonsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Angular component development often requires verbose boilerplate to wire inputs/outputs, manage lifecycle hooks, and apply OnPush change detection. This skill provides a concise pattern to scaffold modern Angular v20+ standalone components using signals for inputs and outputs, include host bindings and content projection, and guide refactoring of class-based inputs to signals.

Core Features & Use Cases

  • Standalone Angular v20+ components by default (no standalone: true)
  • Signals-based inputs and outputs for reactive data flow
  • OnPush change detection, host bindings, and lifecycle hooks
  • Content projection patterns and accessible interactive components
  • Refactoring guidance for converting class-based inputs to signals
  • Design-system and UI-library component patterns

Quick Start

Create a simple standalone Angular component example using signals for inputs and outputs.

Frequently Asked Questions about angular-component

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

FAQPage Schema
How do I create modern Angular components using signals for inputs and outputs?

You create modern Angular components by scaffolding standalone v20+ components with signal-based inputs and outputs. This enforces OnPush change detection, replacing verbose property decorators with reactive signal functions for streamlined data flow.

What is the best way to refactor class-based Angular inputs to signals?

The best way to refactor class-based inputs to signals is to follow guided refactoring patterns that convert traditional property decorators into signal functions. This modernizes reactive data flow while maintaining component compatibility and lifecycle integrity.

How do I use content projection and host bindings in standalone Angular components?

You use content projection and host bindings in standalone Angular components by applying built-in patterns that enforce OnPush strategy. This structures accessible interactive UI elements without requiring standalone: true metadata in the component decorator.

Does this Angular signals approach work for design systems and reusable UI components?

Yes, this Angular signals approach works for design systems and reusable UI components. It provides concise scaffolding patterns for building accessible, reactive dashboard applications and UI libraries requiring lifecycle hooks and content projection.

Why are my Angular v20 components using OnPush change detection still verbose to wire up?

Angular v20 components using OnPush remain verbose because traditional class-based inputs require manual boilerplate. Switching to signals for inputs and outputs eliminates this boilerplate, providing a concise pattern to wire reactive data flow and lifecycle hooks.

Do I need standalone: true metadata for Angular v20 components using signals?

No, you do not need standalone: true metadata for Angular v20 components using signals. Components are enforced as standalone by default, removing the need for explicit decorator metadata while applying OnPush change detection and host bindings.