/design:mobile-design [screen or app to design / review, optionally a device target]from design
Mobile-native design for React Native/Expo and iOS/Android — the mobile layer the web /design skill lacks. Use when designing, building, reviewing, fixing, or evaluating any mobile app UI, screen, component, or flow; when a screen "looks bad on my phone"; when a glass/blur effect "renders flat on Android"; or to verify a build on a real device. Covers thumb-zone ergonomics, dynamic safe-area insets, iOS HIG vs Material 3 divergence, the iOS-only-effect-flat-on-Android trap, React Native craft (lineHeight/letterSpacing/shadow/elevation), and a device-driven adb loop that screenshots and drives the running app to confirm it matches the vision. Keywords - mobile design, app design, React Native, Expo, iOS, Android, tab bar, bottom sheet, safe area, notch, touch target, dark mode, native feel, not a web port, screenshot the app on device.
Ships in 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.
Mobile design has two failure attractors, not one. The first is AI-slop — the web design skill (/design) already fights this (indigo-500, Inter, uniform rounded-2xl, shadow-lg everywhere). The second is unique to mobile: the web port — a desktop layout shrunk to a phone, with top-anchored buttons the thumb cannot reach, content jammed under the notch, hover affordances that do not exist on touch, centered modals where a bottom sheet belongs, and a glass effect that looks designed on iOS and dead on Android. A screen can fully escape slop and still be an uncanny web port. This skill fights the second attractor while reusing /design for the first.
Reuse, do not duplicate. Everything /design teaches about OKLCH palettes, tiered radius/shadow as a principle, ease-out-quart, Nielsen heuristics, microcopy, and the separate-evaluator discipline still applies. Invoke the /design skill (or read its SKILL.md from your skills directory) for that shared foundation. This skill is the mobile delta layered on top — and it changes the implementation of nearly every craft rule, because React Native is not CSS.
No emojis. Not in the UI (emoji as functional icons render inconsistently, are announced awkwardly by VoiceOver/TalkBack, and signal a casual project — use a real icon set), and not in code, comments, or output produced under this skill.
Five phases, each with a gate. Same spine as /design, mobile-ized, with a device-verification phase inserted before evaluation — because on mobile, "looks right in my head" and "looks right on the device" diverge constantly.
Phase 1: THINK commit to aesthetic AND platform stance
Phase 2: ARCHITECT ergonomics + platform conventions before visuals
Phase 3: EXECUTE translate craft into React Native reality
Phase 4: BUILD & VERIFY screenshot and drive the real device; match build to vision
Phase 5: EVALUATE separate subagent scores against the mobile rubric
Do everything Phase 1 of /design asks (purpose, tone, one memorable element, constraints). Then add the two mobile-only commitments:
Gate: You can state the aesthetic direction in one sentence, name one memorable element, AND name the platform stance and the device(s) you will verify on.
Do Phase 2 of /design (Nielsen tiers, focal element, states). Then make the mobile architecture decisions that visuals cannot fix later:
hitSlop). 8pt+ gap between adjacent targets' hit areas.Gate: Before any visuals, name the primary task, where its action sits (bottom), the navigation pattern, the modal pattern, the touch-target minimum, and the fact that you will design light AND dark.
For the full iOS-HIG-vs-Material-3 divergence table and the platform decision frameworks, load references/platform-craft.md — read the "Platform Divergence" section when resolving a specific nav/modal/component/picker decision. Don't load it for an obvious choice.
Apply /design Phase 3 craft (typography numbers, color approach, spacing scale, motion easing, depth). But the implementation is not CSS — React Native breaks several rules silently. The five that cause the most regressions:
/design says | React Native reality | What you must do |
|---|---|---|
line-height: 1.5 (multiplier) | lineHeight is an absolute dp value. lineHeight: 1.5 renders 1.5dp and text overlaps. | Compute lineHeight: Math.round(fontSize * ratio) in the theme. |
letter-spacing: -0.03em (scales) | letterSpacing is absolute px, does not scale with size. | Compute letterSpacing: fontSize * -0.03 per type style. |
multi-layer box-shadow, colored | iOS uses shadow* props; Android ignores them entirely and honors only elevation. | Platform.select({ ios: {shadowColor/Offset/Opacity/Radius}, android: {elevation} }). Never ship iOS shadow alone. |
oklch(...) | RN accepts only hex/rgb/hsl; no OKLCH; chroma >~0.20 clips to sRGB. | Author in OKLCH, convert to hex into a theme token at design time; keep chroma <= 0.20. |
env(safe-area-inset-*), font-display: swap | No CSS env(); no font-display. | useSafeAreaInsets() for insets; hold the splash via expo-font useFonts until fonts load. |
Plus the mobile craft musts: build a theme token object (colors light+dark via useColorScheme, spacing on the 8pt grid, radii tiered, pre-computed type styles, a Platform.select elevation scale); use FlatList/FlashList for any list over ~20 items (never ScrollView); animate only transform/opacity with Reanimated (UI-thread, 60/120fps) not the JS-thread Animated; expo-image with contentFit and a blurhash placeholder for images; respect allowFontScaling (never disable it on body/labels). Watch the Android trap: elevation + overflow:'hidden' + borderRadius drops the shadow — choose two.
The iOS-only-effect trap (read this — it is the most common mobile design catastrophe). Any native effect that exists only on iOS — expo-blur/glass/liquid-glass, expo-symbols SF Symbols, vibrancy — falls back to a flat opaque fill on most Android devices with no warning. A design built around glass renders dead on Android. Design the Android surface first (a solid, hue-correct fill at the blur's target opacity), then add blur as a Platform.OS === 'ios' enhancement — never as the load-bearing structure. Verify on a real Android device in Phase 4.
Gate: Can you articulate how every visual layer renders on Android specifically — the shadow, the blur, the font weight, the elevation under a rounded clip? If you cannot picture the Android rendering of each layer, you have not finished Phase 3; you have an iOS design that will surprise you on the other platform. (Concretely this means: a theme token object with light+dark colors, pre-computed lineHeight/letterSpacing, a Platform.select shadow scale, virtualized lists, UI-thread motion, and no native effect without a cross-platform fallback.)
When the screen animates (press feedback, sheets, swipe rows, list entrances, screen transitions, haptics), load references/motion.md before writing the motion: it decides whether to animate at all, the cheapest tool, spring or timing, and keeps the animation on the UI thread.
For the complete RN/Expo craft translation (font loading, gesture-handler/Reanimated setup, version-gated boxShadow/gap, P3, DPR images, token architecture), load references/platform-craft.md — read the "RN/Expo Craft" section when you need a specific number or API. For the full failure catalog, load references/anti-patterns.md before shipping any cross-platform (iOS + Android) screen. Don't load for early planning, a single-platform-only app where the cross-platform traps do not apply, or when the five rules above already cover your case.
This phase has no web equivalent and is the skill's core. After building, you do not guess whether it looks right — you see and drive the real running app and check it against the Phase 1-3 vision. Skip this only if no device/emulator is reachable (then say so explicitly and fall back to code inspection).
Read references/device-verification.md before running any device command. It has the exact adb/iOS-sim recipes, the multi-display screenshot gotcha, and the verification checklist. The scripts below are the fast path; the reference is the ground truth and the fallback.
The loop:
scripts/device-info.sh confirms a device is connected and prints resolution/density/dp width and the foreground app. (Android: adb. iOS: simulator via xcrun simctl.)scripts/shot.sh ./screenshots captures both (it toggles dark mode, waits, and uses the device-file-then-pull method — adb exec-out screencap corrupts the PNG on multi-display phones). Capture the populated state, and separately the empty/loading/error states.scripts/ui-dump.sh lists every clickable element with its center coords and size in dp, flagging anything under 48dp. Use these coordinates to drive — never eyeball pixels from a screenshot.scripts/drive.sh (tap / swipe / type / key / back / reload) to reach states a static screenshot misses — open the sheet, scroll the list, focus an input to check keyboard avoidance, navigate a tab.scripts/toggle.sh font 1.3 (large Dynamic Type) and re-shoot to catch truncation/overflow; scripts/toggle.sh reduce-motion on to confirm motion degrades gracefully.Gate: You have looked at an actual rendered screenshot (light and dark) of the screen, confirmed safe areas / thumb reach / touch targets / dark mode against the checklist, and fixed every divergence from the Phase 1-3 intent — or you have explicitly stated no device was reachable and you verified by code inspection instead.
Same discipline as /design Phase 5: a separate, skepticism-tuned subagent scores the design, because self-praise is the default and the generator cannot grade itself. The mobile evaluator differs in two ways — it scores a 9-dimension mobile rubric (adds Platform-Nativeness, Ergonomics/Touch-Targets, Safe-Area to the web six), and it receives the device screenshots from Phase 4 so it can verdict the vision match (does the rendered build look like the intent), not just the design in the abstract.
This phase is mandatory for any screen the user will actually ship. Skip it only for a throwaway prototype or a quick one-off iteration where the user explicitly said "just something rough" — say that you skipped it and why.
Don't load references/evaluation-rubric.md yourself — it belongs to the evaluator subagent. Loading it contaminates the generator/evaluator separation. You read only evaluator-prompt.md to understand what the subagent does.
To run it:
evaluator-prompt.md and copy it verbatim — then substitute the <SKILL_DIR> placeholder with this skill's real absolute directory path (the folder containing this SKILL.md) so the subagent can actually find references/evaluation-rubric.md. Skipping this substitution makes the subagent read nothing and return an unanchored score — it breaks the generator/evaluator separation silently.subagent_type: "general-purpose", model: "sonnet", mode: "bypassPermissions". Task = the full (substituted) evaluator prompt, then a delimiter, then the design intent (your Phase 1-3 commitments) and the absolute screenshot paths with an instruction to Read each PNG as an image.If the subagent is unavailable, fall back to a self-evaluation against the rubric, label it explicitly as a lower-fidelity self-eval (the generator/evaluator separation is broken), and tell the user.
Reinforces, does not replace, the /design NEVER list. These are the mobile-specific landmines a trained eye catches instantly.
paddingTop: 44, bottom: 0). Use useSafeAreaInsets() — every device differs.shadowColor/Offset/Opacity/Radius) without an Android elevation. The card looks flat on Android, silently.lineHeight as a multiplier or letterSpacing as em in React Native. Both are absolute; text overlaps or mis-tracks.ScrollView for a long or dynamic list. It mounts every row; use FlatList/FlashList.KeyboardAvoidingView on a form — the submit button hides under the keyboard (invisible in the iOS simulator).windowSoftInputMode="adjustPan" — it slides the whole screen (and the tab bar) up with the keyboard. Set adjustResize so the layout reflows instead.accessibilityLabel + accessibilityRole — VoiceOver/TalkBack users get nothing.allowFontScaling={false} on body or label text — it overrides the user's accessibility setting (WCAG 1.4.4).Apply the /design closing directive against pattern collapse — then add the mobile test. Before you call a screen done, ask: if I handed this phone to someone and they used it one-handed on the train, in dark mode, with large text, on Android — does it still work? If you have not actually checked that on a device in Phase 4, you have not finished. The web port hides in exactly the conditions the mockup never runs in.
evaluator-prompt.md (opens in a new tab)references/anti-patterns.md (opens in a new tab)references/device-verification.md (opens in a new tab)references/evaluation-rubric.md (opens in a new tab)references/motion.md (opens in a new tab)references/platform-craft.md (opens in a new tab)scripts/device-info.sh (opens in a new tab)scripts/drive.sh (opens in a new tab)scripts/shot.sh (opens in a new tab)scripts/toggle.sh (opens in a new tab)scripts/ui-dump.py (opens in a new tab)scripts/ui-dump.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tomaspalsson/flow --plugin design12 skills in this plugin
/designDesign process: UX and usability first, then fit to the client's real content, then a project-specific look with none of the AI-made tells (indigo, Inter, centred hero + 3 cards, cream + serif, mono eyebrow labels, "Build the future of X"). Ships the feel layer: every control answers hover, press and focus, changes are explained by small tiered transitions, one authored interaction, no scroll fade-ups or idle loops; verified by driving the page in a browser (scripts/probe.mjs). Use when generating, building, improving, polishing, critiquing or evaluating any UI or frontend, or when asked for microinteractions, transitions or polish. Phases: understand → UX (Nielsen) → direction → execute with interaction layer → graphics → polish and tell sweep → feel pass → external evaluator. Keywords: UI, UX, landing page, dashboard, not AI slop, microinteractions, design review. For a brand-new page that should differ between runs, prefer `vary`; use `design` for critique, audits, polish, or by name./diagramDraws clear, good-looking diagrams as one self-contained HTML file with inline SVG (export to SVG or PNG on request): architecture, AWS architecture with the official AWS icons (VPC, subnets, regions, Lambda, API Gateway, DynamoDB, S3 and 800 more), architecture delta, deployment, flowchart, sequence, state machine, ER/data model, database schema, UML class, timeline, Gantt, swimlane, process, data flow, service blueprint, user journey, story map, kanban, quadrant, radar, polar, loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, pyramid/funnel, treemap/marimekko, heatmap, bar/dumbbell, waterfall, line/slopegraph/ridgeline/streamgraph/bump, scatter/bubble/beeswarm, Sankey, fishbone, Wardley map, dependency graph, high-level, medallion, DP integration, DP security matrix, IT current-state; also redraws .drawio, Mermaid and .excalidraw files. Use when the user says "draw a diagram", "diagram this", "architecture diagram", "AWS diagram", "draw our infra", "flowchart of", "sequence diagram", "make this Mermaid look good", or when design, graphics or explainer need a diagram. Not for illustrations, icon sets or brand art (use design:graphics) and not for live data dashboards.Other plugins' skills for the same job