[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7834RCBW7KFVCWKD9SHK29E":3,"skill-same:01M7834RCBW7KFVCWKD9SHK29E":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":6,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M7834RCBW7KFVCWKD9SHK29E","android-di-hilt",null,"Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_krutikjain_android-agent-skills_android-di-hilt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"android-di-hilt\"\ndescription: \"Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.\"\nmetadata:\n  version: \"0.1.0\"\n  category: \"foundations\"\n  tags: [\"android\", \"hilt\", \"dependency-injection\", \"testing\"]\n  triggers:\n    include: [\"android hilt setup\", \"inject viewmodel repository hilt\", \"scope dependency in android\", \"replace manual service locator\", \"hilt testing override\", \"android-di-hilt skill\", \"scope dependency in android hilt\", \"hilt component scope mismatch\", \"hilt entry point android\"]\n    exclude: [\"retrofit serialization only\", \"compose typography only\", \"gradle wrapper upgrade\", \"collect flow in compose screen\", \"state matrix before release\"]\n  owners: [\"@android-agent-skills\u002Fmaintainers\"]\n  test_targets: [\"examples\u002Forbittasks-compose\", \"examples\u002Forbittasks-xml\", \"benchmarks\u002Ftriggers.jsonl\"]\n---\n# Android DI Hilt\n\n## When To Use\n- Use this skill when the request is about: android hilt setup, inject viewmodel repository hilt, scope dependency in android.\n- Primary outcome: Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.\n- 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.\n- Handoff skills when the scope expands:\n- `android-testing-unit`\n- `android-networking-retrofit-okhttp`\n\n## Workflow\n1. Identify the injection boundary first: app-wide singleton, activity-retained, ViewModel, worker, service, or entry point from unsupported framework code.\n2. Decide what should be bound: constructor injection, `@Binds`, `@Provides`, qualifiers, multibindings, or assisted injection.\n3. Match lifetime to scope explicitly so dependencies do not outlive their owner or rebuild too often.\n4. Verify replacement strategy for tests with Hilt test modules, uninstall modules, or fakes at the right component boundary.\n5. Hand off API-specific or architectural questions only after the DI graph ownership is correct.\n\n## Guardrails\n- Prefer constructor injection for app code you own.\n- Use qualifiers and scope annotations deliberately; ambiguous bindings are a graph smell, not a convenience.\n- Keep Hilt modules close to the ownership boundary they configure.\n- Treat test replacement as part of the design, not an afterthought.\n\n## Anti-Patterns\n- Making everything `@Singleton` to silence scope questions.\n- Hiding business construction logic inside giant `@Provides` methods when constructor injection would suffice.\n- Using Hilt modules as a dumping ground for unrelated bindings across modules.\n- Confusing DI graph ownership with app architecture ownership.\n\n## Review Focus\n- Component and scope alignment.\n- Binding style and qualifier clarity.\n- Unsupported-entry-point bridges and test replacement strategy.\n- Module ownership boundaries across features and core code.\n\n## Examples\n### Happy path\n- Scenario: Inject OrbitTasks repositories and dispatchers with clear Hilt scopes.\n- Command: `cd examples\u002Forbittasks-compose && .\u002Fgradlew :app:testDebugUnitTest`\n\n### Edge case\n- Scenario: Swap fake dependencies in the XML fixture for deterministic tests.\n- Command: `cd examples\u002Forbittasks-xml && .\u002Fgradlew :app:testDebugUnitTest`\n\n### Failure recovery\n- Scenario: Catch DI-specific prompts before they drift into architecture-clean or networking.\n- Command: `python3 scripts\u002Feval_triggers.py --skill android-di-hilt`\n\n## Done Checklist\n- Component lifetime matches dependency lifetime.\n- Binding style is explicit and testable.\n- Test overrides or fakes are planned at the right graph boundary.\n- Non-DI work is handed off instead of buried in modules.\n\n## Official References\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-android](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-android)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-testing](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-testing)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-multi-module](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-multi-module)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftopic\u002Flibraries\u002Farchitecture\u002Fviewmodel](https:\u002F\u002Fdeveloper.android.com\u002Ftopic\u002Flibraries\u002Farchitecture\u002Fviewmodel)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fmanual](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fmanual)\n","# Android DI Hilt\n\n## When To Use\n- Use this skill when the request is about: android hilt setup, inject viewmodel repository hilt, scope dependency in android.\n- Primary outcome: Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.\n- 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.\n- Handoff skills when the scope expands:\n- `android-testing-unit`\n- `android-networking-retrofit-okhttp`\n\n## Workflow\n1. Identify the injection boundary first: app-wide singleton, activity-retained, ViewModel, worker, service, or entry point from unsupported framework code.\n2. Decide what should be bound: constructor injection, `@Binds`, `@Provides`, qualifiers, multibindings, or assisted injection.\n3. Match lifetime to scope explicitly so dependencies do not outlive their owner or rebuild too often.\n4. Verify replacement strategy for tests with Hilt test modules, uninstall modules, or fakes at the right component boundary.\n5. Hand off API-specific or architectural questions only after the DI graph ownership is correct.\n\n## Guardrails\n- Prefer constructor injection for app code you own.\n- Use qualifiers and scope annotations deliberately; ambiguous bindings are a graph smell, not a convenience.\n- Keep Hilt modules close to the ownership boundary they configure.\n- Treat test replacement as part of the design, not an afterthought.\n\n## Anti-Patterns\n- Making everything `@Singleton` to silence scope questions.\n- Hiding business construction logic inside giant `@Provides` methods when constructor injection would suffice.\n- Using Hilt modules as a dumping ground for unrelated bindings across modules.\n- Confusing DI graph ownership with app architecture ownership.\n\n## Review Focus\n- Component and scope alignment.\n- Binding style and qualifier clarity.\n- Unsupported-entry-point bridges and test replacement strategy.\n- Module ownership boundaries across features and core code.\n\n## Examples\n### Happy path\n- Scenario: Inject OrbitTasks repositories and dispatchers with clear Hilt scopes.\n- Command: `cd examples\u002Forbittasks-compose && .\u002Fgradlew :app:testDebugUnitTest`\n\n### Edge case\n- Scenario: Swap fake dependencies in the XML fixture for deterministic tests.\n- Command: `cd examples\u002Forbittasks-xml && .\u002Fgradlew :app:testDebugUnitTest`\n\n### Failure recovery\n- Scenario: Catch DI-specific prompts before they drift into architecture-clean or networking.\n- Command: `python3 scripts\u002Feval_triggers.py --skill android-di-hilt`\n\n## Done Checklist\n- Component lifetime matches dependency lifetime.\n- Binding style is explicit and testable.\n- Test overrides or fakes are planned at the right graph boundary.\n- Non-DI work is handed off instead of buried in modules.\n\n## Official References\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-android](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-android)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-testing](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-testing)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-multi-module](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fhilt-multi-module)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftopic\u002Flibraries\u002Farchitecture\u002Fviewmodel](https:\u002F\u002Fdeveloper.android.com\u002Ftopic\u002Flibraries\u002Farchitecture\u002Fviewmodel)\n- [https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fmanual](https:\u002F\u002Fdeveloper.android.com\u002Ftraining\u002Fdependency-injection\u002Fmanual)\n",{"name":5,"metadata":24,"description":7},{"tags":25,"owners":30,"version":32,"category":33,"triggers":34,"test_targets":51},[26,27,28,29],"android","hilt","dependency-injection","testing",[31],"@android-agent-skills\u002Fmaintainers","0.1.0","foundations",{"exclude":35,"include":41},[36,37,38,39,40],"retrofit serialization only","compose typography only","gradle wrapper upgrade","collect flow in compose screen","state matrix before release",[42,43,44,45,46,47,48,49,50],"android hilt setup","inject viewmodel repository hilt","scope dependency in android","replace manual service locator","hilt testing override","android-di-hilt skill","scope dependency in android hilt","hilt component scope mismatch","hilt entry point android",[52,53,54],"examples\u002Forbittasks-compose","examples\u002Forbittasks-xml","benchmarks\u002Ftriggers.jsonl","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_krutikjain_android-agent-skills_android-di-hilt",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill android-di-hilt",{"tool":70,"command":71},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill android-di-hilt",{"tool":73,"command":74},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill android-di-hilt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_krutikjain_android-agent-skills_android-di-hilt\u002FSKILL.md",true,[],[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]