Compose Multiplatform Patterns
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Android 官方示例代码库完整索引。涵盖架构、Compose UI、性能、测试、存储、网络、相机、媒体、安全等所有领域。
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kototoro-app/Kototoro android-official-samples --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.pi/skills/android-official-samples .claude/skills/android-official-samples && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .claude/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samplesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kototoro-app/Kototoro android-official-samples --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.pi/skills/android-official-samples .agents/skills/android-official-samples && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .agents/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kototoro-app/Kototoro android-official-samples --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.pi/skills/android-official-samples .cursor/skills/android-official-samples && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .cursor/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Kototoro-app/Kototoro.git --path .pi/skills/android-official-samples--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kototoro-app/Kototoro android-official-samples --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.pi/skills/android-official-samples .gemini/skills/android-official-samples && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .gemini/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Kototoro-app/Kototoro android-official-samplesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .github/skills && cp -r skills-src/.pi/skills/android-official-samples .github/skills/android-official-samples && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .github/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kototoro-app/Kototoro --skill android-official-samples -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kototoro-app/Kototoro android-official-samples --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kototoro-app/Kototoro.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.pi/skills/android-official-samples .opencode/skills/android-official-samples && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "android-official-samples" agent skill from https://github.com/Kototoro-app/Kototoro/tree/devel/.pi/skills/android-official-samples into .opencode/skills/android-official-samples/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "android-official-samples", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
android-official-samplesAndroid 官方示例代码库完整索引。涵盖架构、Compose UI、性能、测试、存储、网络、相机、媒体、安全等所有领域。
Android Official Samples is an agent skill from Kototoro-app/Kototoro. Android 官方示例代码库完整索引。涵盖架构、Compose UI、性能、测试、存储、网络、相机、媒体、安全等所有领域。 安卓开发第一要义:参考官方文档和案例!遇到任何 Android 开发问题,首先查阅官方示例而非第三方博客。 Triggers: "Android 官方示例", "参考官方代码", "Android sample", "官方架构", "Jetpack sample", "Compose 示例", "Room 示例", "Navigation 示例", "如何实现 XX 功能", "最佳实践"
Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Android development. It works with Android, Jetpack Compose and Kotlin. The repository describes itself as: Manga, Novel, and Video reader for Android. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2bea99d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comdeveloper.android.comm3.material.iocodelabs.developers.google.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Android Official Samples loads about 3.6k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 654 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Kototoro-app/Kototoro at commit 2bea99d, republished under its Apache-2.0 licence (© Kototoro-app). 654 words, ~3,584 tokens.
.claude/skills/android-official-samples/SKILL.md (or your agent's skills folder).安卓开发第一要义:参考官方文档和案例!
Google 在 https://github.com/android 维护了数百个高质量示例项目,涵盖 Android 开发的方方面面。 遇到任何问题,优先查阅这些官方仓库——它们是 Android 团队维护的权威最佳实践来源, 比第三方博客、StackOverflow 回答更可靠、更新更及时。
💡 最全面的参考仓库:nowinandroid 一个仓库覆盖了 Compose、Room、Hilt、Navigation、Coroutines、WorkManager、Paging、DataStore 八大技术栈, 是 Google 官方维护的生产级参考应用。如果你的技术栈和它相似(Kototoro 就是), 优先以 nowinandroid 为单一参考源,保持模式一致性。
| 技术 | 最佳参考仓库 | 补充参考 |
|---|---|---|
| Jetpack Compose | nowinandroid | compose-samples |
| Room Database | nowinandroid (:core:data) | architecture-samples |
| Hilt/DI | nowinandroid (全模块) | google/dagger |
| Navigation | nowinandroid (:feature:*) | nav3-recipes |
| Kotlin Coroutines | nowinandroid | codelab-kotlin-coroutines |
| WorkManager | nowinandroid (:sync:work) | codelab-android-workmanager |
| Paging 3 | nowinandroid (新闻流) | codelab-android-paging |
| DataStore | nowinandroid (:core:datastore) | storage-samples |
| CameraX | camera-samples | — |
| Media3/ExoPlayer | androidx/media ⚠️ | media-samples |
| Testing | testing-samples | nowinandroid (测试示例) |
| Performance | performance-samples | nowinandroid (benchmark 模块) |
这些仓库是学习 Android 应用架构、模块化设计、以及完整应用开发的最佳入口。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| architecture-samples | 45.7k | 架构示例集合:展示不同架构模式(MVI、MVVM、UDF)及其演进。UDF + StateFlow 是当前推荐模式。 |
| nowinandroid | 21.4k | 完整功能应用:纯 Kotlin + Jetpack Compose 构建的新闻应用。展示模块化架构、Gradle 版本目录、CI/CD 等生产级实践。架构参考首选。 |
| architecture-templates | 3.1k | 架构模板:官方 Android 项目脚手架,提供 Activity/Compose 等多套模板,快速启动新项目。 |
| sunflower | 17.8k | 园艺应用:展示从 View 迁移到 Jetpack Compose 的最佳实践。含 Room、WorkManager、Navigation、Paging。 |
| platform-samples | 1.7k | 平台 API 示例集:展示不同 Android 平台 API 的使用方法(Notification、Shortcut、ShareSheet 等)。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| codelab-android-room-with-a-view | 768 | Room 数据库 + ViewModel + LiveData/Flow 架构基础 |
| codelab-android-lifecycles | 624 | Lifecycle 感知组件 |
| codelab-android-databinding | 101 | Data Binding 库 |
| codelab-android-dynamic-features | 128 | Dynamic Feature 模块 |
适用场景:应用架构设计、模块化、依赖注入(Hilt)、状态管理、完整应用参考。
Compose 是现代 Android UI 开发的推荐方式。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| compose-samples | 23.2k | 官方的 Jetpack Compose 示例集:含 JetNews、Jetchat、JetSnack、Crane、Owl、Reply 等完整示例。 |
| user-interface-samples | 4.6k | UI 最佳实践集:涵盖 WindowInsets、手势、动画、自定义布局、可访问性等。 |
| platform-samples | 1.7k | 平台 UI API:通知、快捷方式、分屏、画中画等。 |
| uamp | 13.2k | 音频播放应用,展示 Material Design 和 MediaSession。 |
| topeka | 5.1k | Material Design 问答应用。 |
| androidify | 2.0k | 展示自定义 View 的应用。 |
| large-screen-codelabs | 60 | 大屏和折叠屏适配。 |
| adaptive-apps-samples | 62 | 自适应布局。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| codelab-android-navigation | 633 | Jetpack Navigation (View + Compose) |
| codelab-constraint-layout | 471 | ConstraintLayout |
| codelab-android-accessibility | 129 | 可访问性 |
| nav3-recipes | 1.3k | Navigation3 常见用例实现(类型安全导航)。 |
适用场景:Compose UI 实现、动画、手势、主题、导航、Material3、自适应布局。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| storage-samples | 1.7k | 存储最佳实践集:Scoped Storage、MediaStore、SAF、DataStore 等。 |
| databinding-samples | 1.7k | Data Binding 库示例(与 Room + ViewModel 结合)。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| codelab-android-room-with-a-view | 768 | Room 数据库完整教程 |
| codelab-android-paging | 512 | Jetpack Paging 3 分页加载 |
适用场景:Room 数据库、DataStore、文件存储、分页加载。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| testing-samples | 9.3k | 测试示例集:单元测试、UI 测试(Compose + Espresso)、集成测试、JUnit5、MockK、Hilt 测试。 |
| android-test | 1.2k | Android 测试框架源码。 |
适用场景:JUnit5 单元测试、Compose UI 测试、Hilt 测试、Espresso。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| performance-samples | 1.4k | 性能最佳实践集:Baseline Profile、Startup、JankStats、Macrobenchmark、Memory。 |
| codelab-android-performance | 41 | 性能优化 Codelab。 |
适用场景:启动优化、Jank 诊断、Baseline Profile、内存优化、Macrobenchmark。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| camera-samples | 5.4k | CameraX/Camera2 最佳实践集:预览、拍照、录像、图像分析、ML Kit 集成等。 |
适用场景:CameraX、Camera2、相机权限、图像分析。
通知示例分布在 user-interface-samples 和 platform-samples 中。
| 主题 | 参考位置 |
|---|---|
| Notification Channels | platform-samples |
| Foreground Service 通知 | workmanager codelab |
| MediaStyle 通知 | uamp |
适用场景:下载进度通知、新章节提醒、前台服务。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| security-samples | 1.0k | 加密、KeyStore、Biometric、签名。 |
| privacy-sandbox-samples | 209 | Privacy Sandbox on Android。 |
适用场景:数据加密、生物识别认证、隐私合规。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| connectivity-samples | 1.8k | 连接最佳实践集:蓝牙、NFC、WiFi Direct、NetworkCallback。 |
适用场景:蓝牙通信、NFC、WiFi P2P、网络状态监听。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| location-samples | 2.7k | 位置 API 最佳实践集:Fused Location Provider、Geofence、Activity Recognition。 |
适用场景:位置获取、地理围栏、活动识别。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| androidx/media | 官方 | ExoPlayer/Media3 主仓库(⚠️ 旧 google/ExoPlayer 已归档,所有开发在此)。含 ExoPlayer 核心、PlayerView、MediaSession、OkHttp DataSource。 |
| media-samples | 1.4k | 媒体 API 最佳实践集:Media3/ExoPlayer、MediaSession、音频焦点管理。 |
| uamp | 13.2k | 音频播放完整示例。 |
| midi-samples | 53 | MIDI 最佳实践。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| codelab-exoplayer-intro | 235 | Media Streaming with ExoPlayer |
适用场景:视频/音频播放、Media3/ExoPlayer、MediaSession、音频焦点。
⚠️ ExoPlayer 迁移注意:Google 已将 ExoPlayer 从独立的
google/ExoPlayer仓库迁移至androidx/media。旧仓库已归档,所有新 API 和 bug 修复都在 androidx/media。Kototoro 使用的 Media3/ExoPlayer 应参考此仓库。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| security-samples | 1.0k | 安全最佳实践集:加密、KeyStore、Biometric、App Bundles 签名。 |
适用场景:KeyStore、生物识别、数据加密、安全存储。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| codelab-android-workmanager | 559 | WorkManager 完整教程:周期性任务、约束条件、链式任务。 |
适用场景:WorkManager 后台任务调度。
| 仓库 | ⭐ | 说明 |
|---|---|---|
| wear-os-samples | 1.4k | Wear OS 最佳实践集:表盘、Complications、Tile、Health Services。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| ai-samples | 598 | AI 应用示例:Gemini API、ML Kit、On-device ML。 |
| codelab-mlkit-android | 188 | ML Kit Codelab。 |
| neural-networks-samples | 27 | Android Neural Networks API (NNAPI)。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| kotlin-guides | 1.7k | Kotlin for Android 编码指南。 |
| codelab-kotlin-coroutines | 555 | Kotlin Coroutines 完整教程。 |
| kotlin-multiplatform-samples | 1.3k | Kotlin Multiplatform (KMP) 示例。 |
| snippets | 1.1k | developer.android.com 上展示的代码片段集。 |
| 仓库 | ⭐ | 说明 |
|---|---|---|
| ndk-samples | 10.5k | NDK 示例(含 Android Studio 项目配置)。 |
| xr-samples | 448 | Android XR 示例。 |
1. 先查本索引 → 找到相关官方仓库
2. 在仓库中搜索关键词 → 找到具体代码
3. 阅读 README 和代码注释 → 理解上下文
4. 参照实现 → 适配到当前项目1. 找到对应的 Codelab 仓库(如 codelab-android-xxx)
2. Clone 后运行 → 观察运行效果
3. 对比 starter/ 和 solution/ 目录 → 理解实现过程主参考:architecture-samples + nowinandroid
- 看 UDF 模式如何实现
- 看模块化如何划分
- 看测试如何编写本项目(Kototoro)使用 Compose + Room + Hilt + Navigation + Coil + ExoPlayer + Coroutines。 以下是按优先级排序的参考仓库:
P0 — 必须参考(核心技术栈完全匹配):
| 仓库 | 原因 |
|---|---|
| nowinandroid ⭐21.4k | #1 参考源:同一个技术栈(Compose+Room+Hilt),模块化架构,离线优先模式 |
| architecture-samples ⭐45.7k | 基础 MVVM + Repository 模式、ViewModel 测试 |
| compose-samples ⭐23.2k | 所有 Compose UI 模式:主题、导航、动画、自适应布局 |
P1 — 强烈推荐(特定功能参考):
| 仓库 | 原因 |
|---|---|
| testing-samples ⭐9.3k | Compose 测试、Hilt 测试、Room 测试 |
| codelab-android-workmanager ⭐559 | 下载管理器后台任务模式 |
| codelab-android-paging ⭐512 | 漫画目录无限滚动 |
| storage-samples ⭐1.7k | DataStore 偏好存储、Scoped Storage |
| performance-samples ⭐1.4k | 阅读器性能、启动优化 |
P2 — 按需参考:
| 仓库 | 原因 |
|---|---|
| sunflower ⭐17.8k | Room + WorkManager 综合(但主要基于 View) |
| user-interface-samples ⭐4.6k | 手势、Insets、动画细节 |
| androidx/media | Media3/ExoPlayer ⚠️ 旧 google/ExoPlayer 已归档 |
| architecture-templates ⭐3.1k | 项目结构验证、脚手架参考 |
| codelab-kotlin-coroutines ⭐555 | 协程最佳实践 |
| large-screen-codelabs | 平板/折叠屏阅读器布局 |
Google 正在整合示例仓库:一些原本独立的仓库(如 android-testing、android-architecture 的某些子项目)已被合并到 nowinandroid 或 architecture-samples 中。如发现链接失效,在 GitHub 上搜索最新位置。
ExoPlayer 迁移:旧仓库 google/ExoPlayer 已归档,所有开发移至 androidx/media。
构建系统差异:nowinandroid 使用 Kotlin DSL (.kts),而 Kototoro 的 app/build.gradle 使用 Groovy DSL。学习架构和代码模式,但不要直接复制构建脚本。
版本差异:官方示例可能使用较新的 AndroidX 版本或不同的依赖版本。始终参考 Kototoro 的 libs.versions.toml 确定当前使用的版本。
© Kototoro-app, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .pi/skills/android-official-samples of Kototoro-app/Kototoro.
Open the folder on GitHubat commit 2bea99d
Android Official Samples next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Android Official Samples this skillKototoro-app/Kototoro | 605 | — | ~3.6k | Automated safety check: Pass | Apache-2.0 | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Android Developmentdpconde/claude-android-skill | 337 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Claude Android NinjaDrjacky/claude-android-ninja | 124 | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Jetpack Composedarriousliu/PiPixiv | 263 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Coding Stylesk2andy/candy-browser | 508 | — | ~548 | Automated safety check: Pass | MPL-2.0 |
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
dpconde/claude-android-skill
Create production-quality Android applications following Google's official architecture guidance and NowInAndroid best practices.
Drjacky/claude-android-ninja
Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.
darriousliu/PiPixiv
Jetpack Compose expert skill for Android UI development. An agent skill from darriousliu/PiPixiv.
sk2andy/candy-browser
Apply Candy Browser's project-specific Kotlin, Jetpack Compose, Android/WebView, testing, and generator conventions.
hamen/compose_skill
Helps AI coding assistants write modern Jetpack Compose: correct state, side effects, performance-aware modifiers, Navigation 3, Paging 3 in Compose, coroutines on lifecycle, animations, UI tests…
Kototoro-app/Kototoro
Android 架构、依赖注入、数据层、测试规范官方参考。涵盖 UDF/MVI 模式、Hilt/Dagger、Room、Paging、 DataStore、WorkManager、ViewModel、测试策略等。安卓开发第一要义:参考官方文档和案例!
Kototoro-app/Kototoro
Jetpack Compose 官方示例与最佳实践参考。涵盖 Compose UI 实现、动画、手势、导航、Material3 主题、 性能优化、测试等所有方面。安卓开发第一要义:参考官方文档和案例!
Kototoro-app/Kototoro
诊断 Kototoro 主壳"空闲永不定居"式 Compose 自持重绘循环(idle 帧数不为 0). An agent skill from Kototoro-app/Kototoro.
Kototoro-app/Kototoro
Diagnose and fix Kototoro Browse/Explore page content source scrolling jank when many sources exist.
Kototoro-app/Kototoro
Diagnose and fix Kototoro Android issues where returning from reader or video player to details causes flicker, cover reload, panorama reload, progress reset, status bar jump, Compose subtree…
Kototoro-app/Kototoro
Diagnose and fix Kototoro main screen loading flicker, blank flashes, chrome jumps, transient empty states, and route switching flashes.
Works with
Categories
Android 官方示例代码库完整索引。涵盖架构、Compose UI、性能、测试、存储、网络、相机、媒体、安全等所有领域。. Android Official Samples is an agent skill from Kototoro-app/Kototoro.
Android Official Samples fits situations like: tasks that involve Android development.
Run `npx skills add Kototoro-app/Kototoro --skill android-official-samples -a claude-code`. Or copy the skill folder (.pi/skills/android-official-samples in Kototoro-app/Kototoro) into .claude/skills/android-official-samples in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kototoro-app/Kototoro --skill android-official-samples -a codex`. Or copy the skill folder (.pi/skills/android-official-samples in Kototoro-app/Kototoro) into .agents/skills/android-official-samples in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kototoro-app/Kototoro --skill android-official-samples -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/android-official-samples, .gemini/skills/android-official-samples, .github/skills/android-official-samples and .opencode/skills/android-official-samples in your project.
SKILL.md names no scripts, command-line tools or credentials: Android Official Samples is instructions for the agent only.
SKILL.md names 4 domains. As links in the text: github.com, developer.android.com, m3.material.io and codelabs.developers.google.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Android Official Samples is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Android Official Samples: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Android Development (dpconde/claude-android-skill, 337 stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars) and Jetpack Compose (darriousliu/PiPixiv, 263 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kototoro-app (a GitHub organization) maintains it in Kototoro-app/Kototoro, which has 605 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.
Source: Kototoro-app/Kototoro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.