Android Dependency Injection
Structures robust Android dependency graphs and component lifecycles across Hilt, Dagger, Koin, and Metro to prevent memory leaks and runtime crashes.
The Android Dependency Injection skill guides Claude Code in architecting clean, maintainable object graphs across Android DI frameworks like Hilt, Dagger, Koin, and Metro. It enforces critical architectural boundaries by ensuring long-lived objects never reference short-lived Android components like Activities or Views, keeping bindings unscoped by default to avoid state leakage across tests, and prioritizing constructor injection over field injection. This skill helps developers catch graph wiring errors at compile time, eliminate circular dependencies, and safely manage runtime parameters with assisted injection.