360 Secure SkillHub
360 安全技能中心

angular-di

该 Skill 原面向 Angular v20+ 依赖注入,但当前内容仅为弃用声明,说明已不再维护并移除原有指导,仅提示改用其他 Angular 技能;未提供 inject、注入令牌或 provider 配置的可执行说明。

分类:开发
analogjs
热度 30.73
最近更新 2026-10-19 02:03:27

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add analogjs/angular-skills/angular-di
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
angular-di
description
DEPRECATED - this skill is unmaintained. Use the official Angular skills at https://github.com/angular/skills instead. Implement dependency injection in Angular v20+ using inject(), injection tokens, and provider configuration. Use for service architecture, providing dependencies at different levels, creating injectable tokens, and managing singleton vs scoped services. Triggers on service creation, configuring providers, using injection tokens, or understanding DI hierarchy.

Angular Dependency Injection

⚠️ 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.