dependency-injection
Dependency Injection pattern for service definitions, factories, and composition roots. Use when working with packages that use the DI pattern.
适合你,如果需要在项目中实现依赖注入模式
/ 通过 npx 安装 校验哈希
npx oh-my-skill add trezor/trezor-suite/dependency-injection/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- trezor/trezor-suite/dependency-injection/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify trezor/trezor-suite/dependency-injection安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1021GitHub stars
~504上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 ab48a1e · 表述以原文为准它做什么
安装后,Claude 会按照依赖注入模式组织代码,定义服务依赖、形状和工厂函数,并在组合根中组装依赖树,提升代码可测试性。
什么时候触发
当你询问依赖注入模式相关问题,或处理明确使用了该模式的包时触发。
装好后可以这样说
Claude会输出标准模板。
Claude会指导命名和类型推导。
Claude会展示私有与公开写法。
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…