Look up official Android best practices, guidance, and recommended patterns via the Android Knowledge Base (`android docs search` + `android docs fetch kb://…`). Use this **before** WebSearch when the question is about Android-platform topics (Compose, performance, accessibility, lifecycle, intents, build, security, edge-to-edge, foreground services, etc.). Triggers include "안드로이드 베스트 프랙티스", "Android best practice", "Compose performance", "edge-to-edge", "android docs", "공식 가이드", "권장 패턴". Do NOT use this skill for third-party libraries (Retrofit, OkHttp, Hilt) — use Context7 MCP for those.
npx claudepluginhub kez-lab/android-custom-skillsThis skill uses the workspace's default tool permissions.
The Android Knowledge Base shipped with the Android CLI is curated for agent use: each entry is a `kb://` URL whose contents follow Android's official guidance. Prefer it over WebSearch for any topic owned by the Android team — search results are noisier and frequently outdated.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
The Android Knowledge Base shipped with the Android CLI is curated for agent use: each entry is a kb:// URL whose contents follow Android's official guidance. Prefer it over WebSearch for any topic owned by the Android team — search results are noisier and frequently outdated.
| Topic | Use this skill | Use Context7 / WebSearch | Use Native knowledge |
|---|---|---|---|
| Compose recomposition rules | ✅ | ||
| Foreground service types (Android 14+) | ✅ | ||
| Edge-to-edge / window insets | ✅ | ||
| Background work / WorkManager | ✅ | ||
| App startup / Baseline Profiles | ✅ | ||
| Accessibility / TalkBack | ✅ | ||
| Retrofit / OkHttp / Moshi | ✅ Context7 | ||
| Hilt / Dagger / Koin | ✅ Context7 | ||
| General Kotlin idioms | ✅ | ||
| Gradle / AGP changelogs | ✅ (build topics) |
If unsure, try android docs search first — search is fast and a miss is information itself.
# 1. Search
android docs search 'How do I improve my app performance?'
# → returns kb:// URLs with snippets
# 2. Pick the most relevant URL, fetch full content
android docs fetch kb://android/topic/performance/overview
# 3. Synthesize an answer for the user, citing the kb:// URL
When using KB content in an answer, cite the kb:// URL directly. The user can re-fetch it themselves:
> Per [kb://android/topic/performance/baseline-profiles], the recommended setup is …
This is more durable than copying https://developer.android.com/... links because the KB version is what the CLI actually fetches, and is locked to a known revision.
kb:// URL — IDs change. Always search and pick from real results.kb:// URL in the answer so the user can verify and explore further.android docs search first.| Issue | What to do |
|---|---|
search returns no results | Try a broader / rephrased query. If still nothing, fall back to Context7 (Android Jetpack libs are documented there) or WebSearch — and tell the user. |
fetch <kb-url> returns empty | The URL was malformed or stale. Search again with a different query. |
| Search results all look off-topic | The query may be too narrow or use jargon the KB doesn't index. Re-phrase as a "how do I" question. |
| User asks about a topic that's clearly third-party | Don't force the KB. Hand off to the Context7 path. |