dependency-injector

Community

Deterministic dependency wiring for features.

AuthorSaurav-snapwork
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dependency wiring across feature layers can become brittle without a single, well-defined bootstrap that wires interfaces to implementations and injects them into use cases. This Skill provides a deterministic di bootstrap to enforce loose coupling and testability by orchestrating ApiDataSource, RepositoryImpl, and UseCase wiring in a single entry point.

Core Features & Use Cases

  • Build and validate a complete dependency graph (ApiDataSource -> RepositoryImpl -> UseCase) to guarantee deterministic instantiation order.
  • Generate the composition root file diBootstrap.ts that constructs concrete classes using constructor injection and returns a typed ThunkExtra for Redux store wiring.
  • Audit existing code for tight coupling, circular dependencies, and improper imports, surfacing all issues before generation.
  • Produce an advisory store wiring snippet to guide integration with shared app infrastructure without overwriting shared files.

Quick Start

Run the Dependency Injector orchestrator after completing upstream skills (Data Layer Builder, Domain Extraction, and Redux State Generator) to produce diBootstrap.ts for the feature.

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: dependency-injector
Download link: https://github.com/Saurav-snapwork/NewAppTemplate/archive/main.zip#dependency-injector

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.