xxf-di

Community

Lightweight DI for modular, testable code.

AuthorNBXXF
Version1.0.0
Installs0

System Documentation

What problem does it solve?

XXFDi 提供一个轻量级的依赖注入容器,用于模块间解耦、测试替换、以及在运行时策略切换。

Core Features & Use Cases

  • 通过容器注册服务并在需要时解析它们,提升模块解耦和可测试性。
  • 支持在测试中替换实现(mock/stub),方便单元测试。
  • 集中注册点与按模块自注册机制,帮助保持干净的架构设计。

Quick Start

Register a service at startup and resolve it through the DI container to decouple modules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: xxf-di
Download link: https://github.com/NBXXF/xxf_ios/archive/main.zip#xxf-di

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.