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.