Angular Di

作者 analogjs18996fd1b2bf无许可证591 个星标收录于 2026年10月8日更新于 2026年10月8日仓库2个月前更新

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.

AI 生成的概览

已弃用的 Angular 依赖注入技能,其指导内容已被移除,改由官方 Angular 技能替代。

功能
该技能此前涵盖 Angular v20+ 的依赖注入,包括 inject()、注入令牌和提供者配置。其指导内容已被移除而非任其过时,因此文档现在只保留弃用通知。它不产出任何成果物,也不附带脚本。
适用场景
它不供使用;通知引导用户改用官方 Angular 技能。在检查或清理已有技能安装时可能会遇到它。
运行要求
除智能体外无需其他条件;该技能仅包含说明,没有脚本。通知提到可通过命令行技能工具安装官方 Angular 技能。

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:

sh
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.

来源与署名

来源:analogjs/angular-skills位于skills/angular-di提交18996fd

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 analogjs/angular-skills 的技能