/android-design:android-design-explorefrom android-design
Explores Android app UI ideas as live Compose proposals before implementation. Brainstorms phone, foldable, tablet, desktop, or Wear OS screens and iterates on visual directions without changing app code.
Ships in android-design. 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.
Read when SKILL.md points to them; scripts run unread.
Follow android-design for every design decision: design questions, emphasis budget, role pairs, reveal, not stretch, components, theming, layout, and visual criteria. This skill owns the exploration loop and chat workflow.
Run android-design-preview from the shell (android-design-preview <command> --help documents flags, exit codes, and JSON output). When it is not on PATH, run sh <skill-dir>/scripts/android-design-preview, where <skill-dir> is the folder containing this SKILL.md.
start, check, tree, render, open) run device-free in layoutlib without a device, adb, or emulator. Pass open --live [--serial <id>] [--avd <name>] only for opt-in live motion and touch on a visible device or emulator.android-design-preview exits 3, stop, point the user to references/setup.md, and wait. Never edit user sandbox config unasked.When an app exists, read its relevant screens, theme, assets, and any DESIGN.md and design/*.explore.kt first. Answer android-design's seven design questions before writing code (include them in your reply when running the full exploration in one turn):
#6750A4.design/assets/, never as a substitute for a Compose board.direction("...") blocks inside one .explore.kt file so they compare side by side, each a distinct composition rather than a recoloring.Done when all seven design questions, seed color, and hero tactics (if any) are decided.
Work in the app's repository root or the folder the user names; write outside this skill's own repository.
designBoard(seed = ..., variant = ..., brandFont = ...) (or wearBoard(seed = ...)). Read any existing DESIGN.md as a constraint without editing it until the user approves a direction (step 6).design/<slug>.explore.kt (design/<slug>-wear.explore.kt for Wear OS using wearBoard(...)).Modifier.testTag("ad:primary"); keep role pairs strict; use SymbolIcon(...) and designPainter("assets/..."); author one adaptive screen (listDetail, supportingPane, or BoxWithConstraints) instead of duplicating per-breakpoint screens (aim for ~150 to 300 lines per direction).Done when design/<slug>.explore.kt is written with all requested direction(...) blocks and kit rules applied.
Every check compiles the board, writes PNGs on disk, and returns their paths in images, plus boardUrl, layout summaries, and findings (each with a fix hint and reference anchor in android-design/references/). Read a reference section when a finding points to it instead of pre-reading every reference file.
android-design-preview check <file> (unscoped) to check every direction, screen, overlay, and view (compact in light and dark plus medium, expanded, and large in light on phone; watch and watch-large on Wear).android-design-preview check <file> --direction <d> --view <v> [--brightness light|dark] (add --screen <s> when a direction has multiple screens) for the single direction and view you changed. Keep each shell call to a single bare command (never pipe, chain, or loop across views during iteration). Scoped checks always return a 1x PNG path whether findings pass or fail. Call android-design-preview tree <file> --direction <d> --view <v> [--brightness light|dark] only when a finding needs exact bounds or file:line.android-design-preview check <file> once more, verify adaptation in layout summaries (expanded/large reveal what your adaptation answer promised), check colors for one strong fill, and open the returned compact and large (watch and watch-large on Wear) PNGs.Run android-design-preview open <file> on interactive runs (or share boardUrl from check). In your reply:
.explore.kt path and clickable boardUrl, and state "visual quality checked from layout metrics and native-resolution renders".Stop here for this turn: wait for the user's reply before revising, writing DESIGN.md, or editing app code.
"this", "here", or a clicked element, check selection first (from the latest check response or android-design-preview selection <file>). If no selection exists, ask the person to click the part they mean on the browser board rather than guessing from source. If selection.stale is true, confirm the match using callName and callChain.design/<slug>.explore.kt file (the server watches saves and pushes focus-first SSE updates). Iterate with scoped check, open the returned PNG after visual changes, and run the final unscoped check gate before presenting.DESIGN.md at the repo root (create it when missing; update only those shared defaults).DESIGN.md, approval ends the task; leave app source code untouched.design/<slug>.explore.kt (or -wear.explore.kt) when asked; keep DESIGN.md unless asked to remove it too.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub charliesbot/android-design --plugin android-design2 skills in this plugin
Other plugins' skills for the same job