Install
$ agentstack add skill-gdvega-super-android-kotlin-firebase-skill-dependency-injection ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Purpose
Make dependencies explicit and replaceable without adding unnecessary framework weight.
When to use
- Adding Hilt or Koin.
- Injecting ViewModels, repositories or data sources.
- Fixing scope or binding problems.
- Replacing dependencies in tests.
Inputs to inspect
- Existing DI framework or manual DI.
- Object lifetimes and scopes.
- ViewModel and repository constructors.
- Test replacement needs.
Required workflow
- Detect current DI pattern.
- Add the smallest binding/module needed.
- Use scopes intentionally.
- Wire ViewModel and repository dependencies.
- Add test fakes or replacement modules.
Rules
- Do not mix Hilt and Koin without strong reason.
- Avoid hidden service locators.
- Do not inject Context unless needed.
- Keep singletons immutable or thread-safe.
- Do not break Compose previews.
Related existing skills
Local skills to invoke
- android-architecture
- kotlin-core
- testing
- room-datastore
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult [Companion Skills](../../docs/COMPANION_SKILLS.md) for install and verification commands.
- android/skills — use for official Android workflow alignment when a first-party companion skill exists for the task.
Files commonly touched
di modulesApplication classViewModelsrepositoriestest modules
Commands to validate
./gradlew test
./gradlew assembleDebug
./gradlew lint
Common mistakes to avoid
- Injecting everything by default.
- Creating circular dependencies.
- Using singletons for mutable state.
- Forgetting test replacements.
Checklist
- Bindings minimal.
- Scopes correct.
- Tests can replace dependencies.
- Previews still work.
- Build passes.
Example prompts
- Use $super-android-kotlin-firebase to add Hilt for repositories and ViewModels.
- Use $super-android-kotlin-firebase to fix this DI binding error.
Expected response style
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/di-scopes-and-tests.md
- templates/hilt-module-template.md
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: GDvega
- Source: GDvega/super-android-kotlin-firebase-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.