[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79DHMJS0Y28ZXCE0QZYNSGN":3,"skill-same:01M79DHMJS0Y28ZXCE0QZYNSGN":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M79DHMJS0Y28ZXCE0QZYNSGN","inspire-code-android",null,"Android stack conventions: layering, tests, forbidden patterns, quality gates, build commands and seed conventions. Use when writing or testing code in a Android package.","Genomcore\u002Finspire","Genomcore","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F67845649?v=4","01M79DGNHB5DVE1Q8TC7F3K4FY","01M79DGNM14QF64G5NWT5X00SY",0,"MIT","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fbase\u002Fskills\u002Finspire-code-android\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: inspire-code-android\ndescription: \"Android stack conventions: layering, tests, forbidden patterns, quality gates, build commands and seed conventions. Use when writing or testing code in a Android package.\"\nstack: android\nlayer: frontend\n---\n\n## Layering\nNot yet formulated for this stack — deliberately deferred to an Android iteration\nthat exercises real module boundaries, rather than transcribed untested from another\nstack's rules. The contract in [_references\u002Fstack-skills.md](..\u002F_references\u002Fstack-skills.md) still applies; this line is the deferral,\nnot the answer. The test-level table below implies the working shape (ViewModel \u002F\nUseCase \u002F Repository \u002F DataSource), but the boundary rules are unwritten.\n\n## Test conventions\n- **JUnit 5** with one mock framework per project — MockK or Mockito, chosen once,\n  never mixed in a suite.\n- GIVEN\u002FWHEN\u002FTHEN structure, backtick test names describing behavior:\n\n  ```kotlin\n  @Test\n  fun `should return user when found by id`() {\n      \u002F\u002F GIVEN\n      val userId = \"user-123\"\n      val expectedUser = UserMother.random(id = userId)\n      coEvery { repository.findById(userId) } returns expectedUser\n\n      \u002F\u002F WHEN\n      val result = runTest { viewModel.loadUser(userId) }\n\n      \u002F\u002F THEN\n      assertEquals(expectedUser, result)\n      coVerify(exactly = 1) { repository.findById(userId) }\n  }\n  ```\n\n- Test-data builders (`UserMother.random(...)`) — specify only the significant\n  fields.\n- Verify collaborator calls with exact counts (`coVerify(exactly = 1)` \u002F\n  `verify(repository, times(1))`), not just the returned value.\n- **Levels:**\n\n  | Layer | Framework | Mock strategy |\n  |---|---|---|\n  | ViewModel \u002F state machine | JUnit 5 + mock framework | mock repository, use `TestDispatcher` |\n  | Use case | JUnit 5 + mock framework | mock repository |\n  | Repository | JUnit 5 + mock framework | mock DataSource\u002FAPI |\n  | Compose UI | Compose Testing | `createComposeRule()` |\n  | Fragments\u002FActivities | Espresso | `launchFragmentInContainer` |\n\n- **Coroutines:** `runTest` + `TestDispatcher`; assert emitted states in order\n  (`uiState.take(n).toList()`), not just the final value.\n\n## Forbidden patterns\nNot yet formulated for this stack — same deferral as Layering.\n\n## Review focus\nNot yet formulated for this stack — same deferral as Layering.\n\n## Quality gates\nNot yet formulated for this stack — the backend profile's gates were measured on a\nreal codebase and this stack has had no equivalent iteration\n([`quality-gates.md`](..\u002F_references\u002Fquality-gates.md) Rule 2 forbids transcribing\nuntested). The rules themselves still bind: a project on this stack derives its own\ngates (detekt\u002Fktlint rule set, a coverage floor via the jacoco report) from an\niteration that exercises each rule before writing it down. This section is the\ndeferral, not the answer.\n\n## Build & verify\nunit: `.\u002Fgradlew test` (debug only: `.\u002Fgradlew testDebugUnitTest`) ·\ninstrumented: `.\u002Fgradlew connectedAndroidTest` · coverage: `.\u002Fgradlew jacocoTestReport`\n","## Layering\nNot yet formulated for this stack — deliberately deferred to an Android iteration\nthat exercises real module boundaries, rather than transcribed untested from another\nstack's rules. The contract in [_references\u002Fstack-skills.md](..\u002F_references\u002Fstack-skills.md) still applies; this line is the deferral,\nnot the answer. The test-level table below implies the working shape (ViewModel \u002F\nUseCase \u002F Repository \u002F DataSource), but the boundary rules are unwritten.\n\n## Test conventions\n- **JUnit 5** with one mock framework per project — MockK or Mockito, chosen once,\n  never mixed in a suite.\n- GIVEN\u002FWHEN\u002FTHEN structure, backtick test names describing behavior:\n\n  ```kotlin\n  @Test\n  fun `should return user when found by id`() {\n      \u002F\u002F GIVEN\n      val userId = \"user-123\"\n      val expectedUser = UserMother.random(id = userId)\n      coEvery { repository.findById(userId) } returns expectedUser\n\n      \u002F\u002F WHEN\n      val result = runTest { viewModel.loadUser(userId) }\n\n      \u002F\u002F THEN\n      assertEquals(expectedUser, result)\n      coVerify(exactly = 1) { repository.findById(userId) }\n  }\n  ```\n\n- Test-data builders (`UserMother.random(...)`) — specify only the significant\n  fields.\n- Verify collaborator calls with exact counts (`coVerify(exactly = 1)` \u002F\n  `verify(repository, times(1))`), not just the returned value.\n- **Levels:**\n\n  | Layer | Framework | Mock strategy |\n  |---|---|---|\n  | ViewModel \u002F state machine | JUnit 5 + mock framework | mock repository, use `TestDispatcher` |\n  | Use case | JUnit 5 + mock framework | mock repository |\n  | Repository | JUnit 5 + mock framework | mock DataSource\u002FAPI |\n  | Compose UI | Compose Testing | `createComposeRule()` |\n  | Fragments\u002FActivities | Espresso | `launchFragmentInContainer` |\n\n- **Coroutines:** `runTest` + `TestDispatcher`; assert emitted states in order\n  (`uiState.take(n).toList()`), not just the final value.\n\n## Forbidden patterns\nNot yet formulated for this stack — same deferral as Layering.\n\n## Review focus\nNot yet formulated for this stack — same deferral as Layering.\n\n## Quality gates\nNot yet formulated for this stack — the backend profile's gates were measured on a\nreal codebase and this stack has had no equivalent iteration\n([`quality-gates.md`](..\u002F_references\u002Fquality-gates.md) Rule 2 forbids transcribing\nuntested). The rules themselves still bind: a project on this stack derives its own\ngates (detekt\u002Fktlint rule set, a coverage floor via the jacoco report) from an\niteration that exercises each rule before writing it down. This section is the\ndeferral, not the answer.\n\n## Build & verify\nunit: `.\u002Fgradlew test` (debug only: `.\u002Fgradlew testDebugUnitTest`) ·\ninstrumented: `.\u002Fgradlew connectedAndroidTest` · coverage: `.\u002Fgradlew jacocoTestReport`\n",{"name":5,"layer":23,"stack":24,"description":7},"frontend","android","main","bf5124558fc1203b1fe5aea2d2ae38cfba34939b","plugin\u002Fbase\u002Fskills\u002Finspire-code-android",1,"https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire","https:\u002F\u002Finspire.openbims.dev","https:\u002F\u002Fgithub.com\u002FGenomcore","https:\u002F\u002Fgenomcore.com","2026-11-13 22:27:32",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Genomcore\u002Finspire --skill inspire-code-android",{"tool":40,"command":41},"bunx","bunx skills add Genomcore\u002Finspire --skill inspire-code-android",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Genomcore\u002Finspire --skill inspire-code-android","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fbase\u002Fskills\u002Finspire-code-android\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M79DMDSD4Z004V0CB01EYKT4","update","Update this project's INSPIRE runtime to the installed plugin's version: report drift, re-materialize unchanged files, and refuse to clobber local edits. Use after \u002Fplugin update inspire reports a newer base.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fupdate\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M79DMAENSXPJJPWTRA9CMBV0","migrate","Move this project's knowledge base from the layered layout (01_adr, 02_modules, 03_features, 04_domain, 05_screens and the surface roster) to the concept layout under inspire_kb\u002F01_spec\u002F, where every artifact has a typed extension, and convert its [[wikilinks]] to relative Markdown links. Run once, on purpose, after \u002Finspire:update reports the layered layout or counts wikilinks. Rebuilds nothing that is already built.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M79DM6HZ7YN9M3WGXVN64AW1","init","Install the INSPIRE runtime into this repository: materialize the skills, validators, hooks and knowledge-base skeleton, register the hooks, and freeze the runtime version. Run once per project. Use when setting up INSPIRE in a new or existing repo.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Finit\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M79DM28JSC3GWEJ82346VGW6","inspire-workspace","Workspace-level validation: the global pre-PR review (orchestrating module + cross-module checks) and vault-structure validation. Use for the required pre-merge gate and top-level structure checks. ADR lifecycle lives in \u002Finspire-adr; the task tracker in \u002Finspire-task.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fbase\u002Fskills\u002Finspire-workspace\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M79DKYPKA8TKJCW1GF0W2WAN","inspire-task","Task tracker: create \u002F update \u002F close \u002F list \u002F show tickets in inspire_kb\u002F99_tracker\u002F. A plain-file kanban (one Markdown file per ticket, no external tool) for tracking work, drift, and skill-feedback. Use to open, advance, close, or query tickets.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fbase\u002Fskills\u002Finspire-task\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M79DKTXQWFBW2P6VMQW3DYWX","inspire-spike","Vertical spikes: register and harvest external functional-prototype repos. A spike is a narrow, deep, throwaway build in its OWN repo that answers 'can we build it as we think?'. Use to register such a repo (name\u002Freference it, set up its learnings hygiene) and to capture its learnings into the vault as a gap analysis against the current project.","https:\u002F\u002Fgithub.com\u002FGenomcore\u002Finspire\u002Fblob\u002Fmain\u002Fplugin\u002Fbase\u002Fskills\u002Finspire-spike\u002FSKILL.md",[],[]]