
Android Di Hilt
This wires Android dependency injection using Hilt, focusing on the parts that actually trip people up: component scopes, binding styles, and test replacement strategies. It covers constructor injection, qualifiers, multibindings, and how to bridge unsupported framework entry points. The workflow emphasizes matching dependency lifetime to scope explicitly so nothing outlives its owner or rebuilds wastefully. Testing gets first-class treatment with modules, uninstalls, and fakes at the right boundaries. The main guardrail is keeping modules close to their ownership boundary instead of dumping everything into singleton scope or giant provides methods. Includes OrbitTasks examples for both Compose and XML fixtures with real test verification.
- skills.sh installs
- 367
- GitHub stars
- 14
- last updated
- Aug 21, 2026
Install
$ npx -y skills add krutikjain/android-agent-skills --skill android-di-hilt --agent claude-codeInstalls into .claude/skills of the current project.
Files
Android DI Hilt
When To Use
- Use this skill when the request is about: android hilt setup, inject viewmodel repository hilt, scope dependency in android.
- Primary outcome: Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.
- Reach for this skill when the hard part is component ownership, bindings, scopes, entry points, or test replacement. If the request is only about networking APIs or reducer design, use the neighboring skill instead.
- Handoff skills when the scope expands:
android-testing-unitandroid-networking-retrofit-okhttp
Sponsors
Details
- Repository
- github.com/krutikjain/android-agent-skills
- Categories
- Testing & QA, AI & Agent Building, Rust, Mobile Development
- First seen
- Jun 3, 2026