360 Secure SkillHub
360 安全技能中心

angular-directives

该技能已被标记为弃用,原有关于 Angular v20+ 属性指令、结构指令和宿主指令的指导内容已移除,正文仅保留迁移至官方 Angular 技能的说明,以及旧内容位于仓库 git 历史的提示,不再提供可用的实现指导。

analogjs
热度 54.12
最近更新 2026-10-19 02:03:28
分类:开发依赖:纯提示词应用场景:代码生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add analogjs/angular-skills/angular-directives
Metadata
name
angular-directives
description
DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. 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.

Angular Directives

⚠️ Deprecated. This skill is no longer maintained, and its guidance has been removed rather than left to go stale. The Angular team now publishes official skills at angular/skills — install those instead:

npx skills add https://github.com/angular/skills

To remove these: npx skills remove analogjs/angular-skills

The previous contents of this skill remain available in this repository's git history.