Install
$ agentstack add skill-sunnat629-android-media-pack-media3-adaptive-compose-ui ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Trigger
Use for responsive player UI across mobile, tablet, foldable, landscape, split-screen, and large-screen layouts.
Rules
- Start with
media3-compose-ui-material3for player surface and controls. - Pin Media3 to
1.10.1through the version catalog. - Keep video surface dimensions stable across state changes; controls must not resize content unexpectedly.
- Read the size class from
currentWindowAdaptiveInfo().windowSizeClass(material3-adaptive) and branch withisWidthAtLeastBreakpointchecks against theWindowSizeClassbound constants, not fixed phone breakpoints. - The
WindowWidthSizeClass/WindowHeightSizeClassbucket enums are deprecated in androidx.window 1.4; DO NOT add new code that switches on them. - Reserve safe space for status bars, navigation bars, cutouts, hinges, and IME.
- On tablets/foldables, consider two-pane media-detail layouts, playlist rails, or persistent queue panels.
- Keep accessibility labels, touch targets, focus order, and keyboard/D-pad traversal valid across sizes.
Example
val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass
when {
windowSizeClass.isWidthAtLeastBreakpoint(
WindowSizeClass.WIDTH_DP_EXPANDED_LOWER_BOUND
) -> ExpandedPlayerScaffold()
windowSizeClass.isWidthAtLeastBreakpoint(
WindowSizeClass.WIDTH_DP_MEDIUM_LOWER_BOUND
) -> MediumPlayerScaffold()
else -> CompactPlayerScaffold()
}
Do Not
- Do not scale text with viewport width.
- Do not let controls overlap system bars or video subtitles.
- Do not use the phone layout unchanged on tablets or foldables.
Related
media3-compose-ui-material3media3-video-playbackmigrate-xml-ui-to-compose
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: sunnat629
- Source: sunnat629/android-media-pack
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.