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-code

Installs 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-unit
  • android-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

More from krutikjain/android-agent-skills

All 8
1bobmatnyc avatarhomebrew-formula-maintenancebobmatnyc/claude-mpm-skillsHomebrew formula maintenance workflows for Python CLIs and taps, including version bumps, SHA/resource updates, testing, audits, and releases.366skills.sh installs
2pmprompt avatardesign-sprintpmprompt/claude-plugin-product-managementUse when asked to "run a design sprint", "5-day sprint", "prototype in a week", "test ideas before building", or "Jake Knapp sprint". Helps teams go from proble361skills.sh installs
3davila7 avatarlangsmith-observabilitydavila7/claude-code-templatesLLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring p357skills.sh installs
4jezweb avatardeveloper-toolboxjezweb/claude-skillsEssential development workflow agents for code review, debugging, testing, documentation, and git operations. Includes 7 specialized agents with strong auto-dis355skills.sh installs
5pmprompt avatartrustworthy-experimentspmprompt/claude-plugin-product-managementUse when asked to "run an A/B test", "design an experiment", "check statistical significance", "trust our results", "avoid false positives", or "experiment guar353skills.sh installs
6anthropics avatarprior-auth-review-skillanthropics/healthcareAutomate payer review of prior authorization (PA) requests. This skill should be used when users say "Review this PA request", "Process prior authorization for 349skills.sh installs