byanalogjs· 10 skills
Create custom directives in Angular v20+ for DOM manipulation and behavior extension. Use for attribute directives that modify element behavior/appearance, structural directives for portals/overlays, and host directives for composition. Triggers on creating reusable DOM behaviors, extending element functionality, or composing behaviors across components. Note - use native @if/@for/@switch for control flow, not custom structural directives.
$npx -y skills add analogjs/angular-skills --skill angular-directivesInstalls into the current project.
Run `npx skills use "https://github.com/analogjs/angular-skills" --skill "analogjs/angular-skills/angular-directives"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/analogjs/angular-skills" that are relevant to the current task. Run `npx skills add "https://github.com/analogjs/angular-skills"` and select the relevant skills, then follow their instructions.