What problem does it solve? Building reusable DOM behaviors in Angular often leads to duplicated logic scattered across components. This Skill provides patterns for encapsulating DOM manipulation, event handling, and behavior composition into reusable custom directives. ## Core Features & Use Cases - Attribute Directives: Modify element appearance and behavior with signal-based inputs, host bindings, and event handling (tooltips, click-outside, keyboard shortcuts). - Structural Directives: Build portals, lazy rendering, and template outlets for DOM insertion beyond native control flow. - Host Directives & Composition: Compose behaviors like focusable, disableable, and hoverable onto components using the hostDirectives API. - Use Case: You need a reusable tooltip, infinite scroll, or permission-based visibility across your Angular app. Use this Skill to generate a directive with proper signal inputs, outputs, and cleanup logic instead of copying component code. ## Quick Start Create an Angular attribute directive that highlights an element with a configurable color input using signals and the host property.