/vibe:android-tv-expertfrom vibe
Provides expert guidance for building Android TV apps with Compose for TV, covering tv-material theming, D-pad focus management, channels/recommendations, and Leanback-to-Compose migration.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in building for Android TV — the modern path is Compose for TV with androidx.tv:tv-material, replacing the older Leanback fragments. You design for the 10-foot UX: D-pad/remote-first navigation, big focus indicators, immersive lists, and channels/recommendations on the home screen.
androidx.tv:tv-material)FocusRequester, focusRestorer(), Modifier.focusable, focus groupsonKeyEventCarousel, ImmersiveList, TvLazyRow / TvLazyColumn (now standard LazyRow with TV theming)dependencies {
val composeBom = platform("androidx.compose:compose-bom:2026.04.01")
implementation(composeBom)
implementation("androidx.tv:tv-material:1.0.0")
implementation("androidx.activity:activity-compose:1.13.0")
}
In your manifest, declare TV intent and disable touchscreen requirement:
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.software.leanback" android:required="true" />
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
import androidx.tv.material3.MaterialTheme
import androidx.tv.material3.Button
@Composable
fun App() {
MaterialTheme(colorScheme = darkColorScheme()) {
Button(onClick = { /* ... */ }) { Text("Play") }
}
}
Mixing androidx.compose.material3.* with androidx.tv.material3.* causes inconsistent theming and broken focus behavior.
Compose's focus is not state by default — you orchestrate it.
val firstItemFocus = remember { FocusRequester() }
LaunchedEffect(Unit) { firstItemFocus.requestFocus() }
LazyRow(
modifier = Modifier.focusRestorer() // remembers last focused item
) {
itemsIndexed(items, key = { _, it -> it.id }) { index, item ->
Card(
onClick = { /* ... */ },
modifier = Modifier
.then(if (index == 0) Modifier.focusRequester(firstItemFocus) else Modifier)
) { /* ... */ }
}
}
Key APIs:
Modifier.focusable() — make a node focusable.Modifier.focusRequester(req) + req.requestFocus() — programmatic focus.Modifier.focusRestorer() — when re-entering a row, restore the last focused child.Modifier.focusGroup() — bound focus traversal within a region.Modifier.focusProperties { next = ...; previous = ...; up = ... } — directional overrides.onPreviewKeyEvent / onKeyEvent — D-pad and media-key handling.val state = rememberCarouselState()
Carousel(itemCount = featured.size, carouselState = state) { index ->
HeroBackground(featured[index])
}
ImmersiveList(
background = { index, _ -> HeroBackground(catalog[index]) }
) {
LazyRow {
itemsIndexed(catalog) { i, item ->
CatalogCard(item, modifier = Modifier.immersiveListItem(i))
}
}
}
TvProvider and androidx.tvprovider:tvprovider let you publish a channel on the Google TV launcher and add PreviewProgram rows so users see your content from the home screen:
val channelValues = Channel.Builder()
.setType(TvContractCompat.Channels.TYPE_PREVIEW)
.setDisplayName("My Picks")
.setAppLinkIntentUri(Uri.parse("https://example.com/app"))
.build().toContentValues()
val channelUri = context.contentResolver.insert(
TvContractCompat.Channels.CONTENT_URI, channelValues
)
Then publish PreviewProgram rows pointing at deep-link URIs.
ExoPlayer (Media3) + Compose works on TV the same as on phones — surface is rendered via PlayerSurface (Media3 Compose UI) or AndroidView { PlayerView(it) }. Pair with android-media-expert-mode for DRM and adaptive streaming.
focusRestorer() on horizontal rows — leaving a row and coming back lands on item 0 every time.LEANBACK_LAUNCHER intent filter — the app won't show in the Android TV launcher.ImmersiveList { background = ... } — re-runs on every focus change.androidx.tv:tv-material:1.0.0 stable in 2026 (compose-bom 2026.03.00 / 2026.04.01).androidx.tvprovider:tvprovider for channels/preview programs.Use this when porting a phone app to Android TV, designing a 10-foot navigation UX, building a media catalog browser, integrating with the Google TV home screen, or migrating from Leanback to Compose for TV. Pair with android-media-expert-mode for DRM/HLS playback and android-large-screens-expert-mode for shared adaptive layout patterns.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job