Skip to main content
Run any Skill in Manus
with one click

pragmatic-dependency-injection

Stars0
Forks0
UpdatedJune 23, 2026 at 11:45

在不提前过度抽象的前提下应用依赖注入与组合根设计。用于审查或重构对象创建边界、构造函数注入、类内部硬编码协作者、业务编排类偷偷创建服务、可测试性入口、C++ 具体类型 DI、composition root、constructor injection、concrete-type DI,以及关于“统一创建 + 依赖注入”“组合根”“控制反转”“依赖倒置”“避免过度抽象”“是否该抽接口/工厂/DI 容器”的问题。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly