Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile UI — screens, flows, onboarding, paywalls, tab bars, sheets, settings, empty states — or when polishing motion, gestures, navigation, typography, dark mode, or perceived performance. Enforces Apple HIG fidelity, semantic colors, native controls, anti-slop discipline, navigation semantics (push vs replace, modal vs sheet vs overlay, the one-way doors where back must not exist), a strict motion bar (frequency gate, exact springs/curves/durations, UI-thread discipline, haptics), a full-motion simulator-verified iteration loop, and a study-real-apps-first workflow (pairs with the Appllama MCP). Trigger on "build a screen", "make this screen better", "design the onboarding", "wire up this flow", "add a bottom sheet", "polish the UI", "make it feel native", "review the animations", or any mobile design/implementation task.
npx skills add https://github.com/Appllama/appllama-skills --skill appllama-app-design-skill
You are building screens that will sit on a phone next to the best-designed apps
in the world. The user will compare your output to those apps within seconds of
launching it. This skill defines the bar and the method for clearing it.
Never design a screen from imagination when you can study how top apps solved
the same screen. Real, shipping, revenue-ranked apps encode thousands of hours
of design iteration and A/B testing. Your first move on any screen is research:
screen type you are building (see the appllama-usage skill for the exact
research playbooks). Study 20–30 screens before writing a line of UI code.
hierarchy, control choices, spacing rhythm, where the primary CTA sits, what
gets an illustration vs. plain text, how progress is communicated.
Note: every Appllama image and video carries a small Appllama watermark in
the top-left corner. It is provenance, not design — ignore it when reading
a screen (it may sit over the status bar or a back button) and never
reproduce it in anything you build.
Copying a competitor's screen 1:1 is both lazy and legally risky; shipping a
screen that ignores every convention users already know is worse.
Default stack assumptions (override only if the project already differs):
formSheet routes, NativeTabs),React Native, TypeScript.
react-native-reanimated 4 + react-native-worklets for motion,react-native-gesture-handler for gestures, expo-haptics,
react-native-keyboard-controller for anything that tracks the keyboard,
@shopify/flash-list (v2) for any list that can grow.
expo-image for images (and SF Symbols via source="sf:name" on iOS),expo-video / expo-audio (never the deprecated expo-av).
react-native-safe-area-context for insets. Never hard-code notch numbers.process.env.EXPO_OS over Platform.OS for compile-time platform checks.npx expo install <pkg> so versions match the SDK; neverhand-roll a component a listed package already solves
(references/native-controls.md has the picks).
These are the details that separate "web page in a wrapper" from "native app".
Violating any of them is a finding, not a style preference.
(e.g. Color from expo-router on iOS: Color.ios.label,
Color.ios.secondarySystemBackground; Material dynamic colors on Android).
Every screen must render correctly in light AND dark before it is "done".
Never pass semantic color objects into Reanimated animated styles — resolve
to strings first.
context menus, date pickers: use the native control or a faithful wrapper.
A rebuilt toggle that animates 50 ms differently than iOS's reads as fake
instantly.
(expo-image with sf: sources, or expo-symbols); they inherit weight,
optical size, and Dynamic Type behavior. Do not mix three icon families on
one screen.
/ Headline / Body / Footnote on iOS). One display size per screen. Tabular
numerals (fontVariant: ['tabular-nums']) for anything that counts, times,
or prices. Text selectable on data users may want to copy.
borderCurve: 'continuous' on every roundedrectangle. Squircles are the single cheapest "feels iOS" win that exists.
boxShadow, not legacy shadow*/elevation props.Shadows are for elevation logic, not decoration — one elevation system per
app.
flexbox gap over margin stacking. ScrollView padding goes in
contentContainerStyle, never on the ScrollView itself.
be verified with content scrolled under the island / status bar (does the
blur/fade treatment hold?), with the home indicator (does the bottom CTA
clear it?), and in landscape if supported.
(and large-title collapse behavior on iOS) rather than a hand-rolled header
whenever possible.
10. Haptics are punctuation. selectionAsync when a value ticks past a
step, light impact when something snaps home or a drag commits,
notification success/error for outcomes. Same frame as the visual, one
per user action, never the only feedback — and never on scroll, never
per frame, never on an entrance the user didn't cause.
11. Format numbers like a product, not a database: 1.4M, 38k, $4.99. Trim
trailing zeros. Localize dates.
12. Root scroll behavior: screens that can ever overflow wrap content in a
ScrollView (first component in the route) with
contentInsetAdjustmentBehavior="automatic". Use useWindowDimensions,
never Dimensions.get().
Navigation is the part of a screen you can't screenshot, and users feel it
within ten seconds. Every transition answers three questions: *what is the
destination to here* (deeper → push; a self-contained task → modal; a short
interruption → form sheet; must see through → overlay; a replacement of
where I am → replace), *must the user be able to come back*, and *what does
back do afterwards* — chevron, edge swipe, Android hardware back, active-tab
re-tap. The full method, verb by verb and case by case, is
references/navigation.md. The laws:
router.push when the user willwant to return here; router.replace / <Redirect> when coming back
would land in a state the world has moved past. Don't rely on
navigate to unwind — dismissTo(href) says "finish and land on X".
modal with its own stack and its own Cancel/Done; a short interruption
is a formSheet with detents; immersive content is a fullScreenModal
with an explicit Close; something that must sit on top of a visible
screen is a transparentModal overlay; destructive confirms are action
sheets; item actions are context menus; tasks the OS already owns —
share, open a web page, pick a photo, compose mail, rate the app — are
system controllers, never routes. A sheet that grows a second step was a
modal all along. If a link could open it, it is a route.
a wall app, onboarding completion (Skip included), a purchase, a
finished session, an expired target: Stack.Protected guards and
replace so back can never re-enter the old state — Android back from
home exits the app, never shows Login; a paid paywall never re-opens.
But keep the user's *place*: sign-in demanded by one action (save,
follow, buy) is a modal over the screen that closes and completes the
action there — never a replace('/(tabs)') — and a paywall opened from a
feature dismisses back onto the feature, unlocked, not to a tab root.
flight (seconds, with visible progress) and unsaved work in a modal
(ask first) — both through usePreventRemove, never to keep someone in
a funnel. One more case *consumes* back without blocking it: transient
in-screen state — selection/edit mode, an expanded search field, an
open in-screen sheet — clears on the first back and the next back
leaves the screen (BackHandler in useFocusEffect, returning true
only while that state is up; usePreventRemove when iOS should hold
too). A BackHandler that returns true to keep someone on a screen
is a defect. Everywhere else the iOS edge swipe and Android hardware
back work, always.
app may cross-fade; swipe-paged top tabs inside a screen are a pager,
not this), each tab keeps its stack, re-tapping the active tab pops to
root (and, at the root, scrolls to top); full-attention screens
(composer, player, checkout) live in the root stack *above* the tabs so
the tab bar gets out of the way.
initialRouteName,withAnchor) so back has somewhere to go; cold start lands by state; a
link or notification tapped while signed out is stashed and replayed
after sign-in; tapped while warm, the target lands on top and back
returns to where the user was.
on Appllama, note what each step *is* — push, modal, sheet — and copy
that consistency.
AI-built apps share a look, and users file it under "template" within seconds.
Each of these is a *default ban* — there is always an override when the brand
explicitly asks for the thing AND you can articulate why it fits this product.
glassmorphism on every card, mesh-gradient heroes, confetti for minor
events, sparkles in headings — that is the model's house style, not
design. Your palette, materials, and layout come from the reference
screens you studied, never from the priors you'd reach for unprompted.
every screen — no blue CTA on one screen and teal on the next, no new hue
appearing in screen seven. Neutrals carry the app; the accent is spent
where the money is (primary action, active state, progress).
pills, cards 16, inputs 8") and never violated. Mixed radii without a
stated rule read as assembled-from-parts.
(fidelity law 3). Emoji appear only when the product's voice is genuinely
chat-native or playful — sparingly, in content, never in chrome.
same intent — pick one phrasing and use it everywhere it appears.
of the same typeface; injecting a serif word into a sans headline (or vice
versa) for visual interest is amateur.
only is the default failure mode: skeletons must match the final layout's
shape, empty states are composed (and say how to fill them), errors are
inline and specific.
simulator pass, count: distinct accent hues (must be 1), distinct corner
radii (all from the stated scale), emoji in UI chrome (0), gradients
without a brand reason (0), duplicate labels for one intent (0). A failed
count is a fix, not a judgment call.
Motion is the highest-leverage polish surface and the easiest to overdo.
Decisions are made in order — the method, the exact values and the
implementation are in references/motion.md; the
physics of *feel* in references/fluid-interfaces.md.
switch, keyboard, scroll, back) gets nothing beyond the platform default;
tens a day gets near-imperceptible (<150 ms); occasional (sheets, modals,
toasts) gets standard motion; the delight budget is spent only on rare,
first-time moments. **The tab bar never slides (swipe-paged top tabs are
a pager the finger drives — a different thing). Screen transitions stay
at the platform default** (a native-stack animation value like fade
for an overlay *is* the platform; a JS-rebuilt transition or a changed
duration is not). Passing this gate with zero lines of code is a success.
indication, preventing a jarring change, explanation, delight — or don't
build it. Data the user is reading never moves for style.
changes, layout animations for mount/unmount/reflow, shared values +
gestures only for what a finger touches or scroll drives, the native stack
for screens, formSheet for sheets, NativeTabs for tabs, native menus
for menus. transform and opacity only (an absolute, childless element
may animate width); never scale(0).
release velocity handed in, interruptible at any instant, rubber-banded at
boundaries, committed by momentum (a flick is enough). One spring
vocabulary per app: SETTLE { duration: 400, dampingRatio: 1 },
SNAP { 400, 0.8 }, SHEET { 300, 0.8 }; bounce only after momentum.
Easing.bezier(0.23, 1, 0.32, 1) to enter/exit, (0.77, 0, 0.175, 1) to
move on screen; never ease-in on an entrance or an on-screen change (a
Material-styled app's exits may use M3's accelerate curve — motion.md §5).
Press feedback 100–150 ms, on press-*in*, matched to the element class —
scale 0.97 for buttons/cards/tiles, a background highlight (never scale)
for list rows and cells, opacity for bar buttons and plain-text actions.
Exits faster than entrances, along the same path.
setState in a gesture or scroll handler, noscheduleOnRN/runOnJS per frame, no shared-value reads in render, no
PanResponder, no entering on recycled list rows, no animated height
to collapse a header, no JS-rebuilt screen transition.
alone.
spatial motion collapses to cross-fades, native transitions (stack, tabs,
sheets) stay the system's — never forced to fade — feedback survives;
and no animation targets a height measured at default text size.
a release build on the slowest device you support, not vibed in Expo Go
(references/performance.md). Ready-to-build
recipes live in references/motion-recipes.md;
reviewing and auditing motion — and deciding what *not* to animate — in
references/motion-review.md.
Screens that feel great are screens whose state is boring:
retries, optimistic updates. Never useEffect+fetch.
contexts cause the re-render cascades that make UIs feel heavy.
component.
background, roll back loudly on failure.
TextInputs for high-frequency typing surfaces; controlledinputs are a top-3 cause of typing jank.
reveal. Never a full-screen spinner for a partial update.
router.prefetch / <Link prefetch>plus its data), not on navigation-complete.
expo-image with recyclingKey in lists,thumbhash/blurhash placeholders.
references/performance.md — apply the
measure → optimize → re-measure loop, never blind memoization.
When a screen calls for illustration, empty-state art, hero imagery, or icons
beyond the symbol set:
imagegen tool or the Higgsfield MCP/CLI if connected) at the **highest
quality settings**, then downscale to @1x/@2x/@3x. Never upscale.
3D-clay, hand-drawn, mascot style) and generate ALL assets in that same style, same
palette, same lighting. A mixed-style asset set reads as template slop.
color; composite artifacts (white halos, wrong-color mattes) are an
automatic redo.
references/image-assets.md.
A screen does not exist until you have seen it running. The loop:
rhythm, truncation with long content, dark mode, Dynamic Type at XL.
nothing about motion.
the checklist in references/simulator-loop.md
once more.
Do not declare a screen finished from code review alone. Do not stop at "looks
fine" — stop at "cannot find a flaw at 100% zoom".
Every flow is evaluated as **moving pictures in the simulator, never as
stills**. Screen-record the entire flow end to end
(xcrun simctl io booted recordVideo flow.mov), exercising ALL of it:
re-tap — and, after each one-way door (sign-in, onboarding done,
purchase, finished session), an attempt to go back that must fail to
re-enter the old state
focused input visible?) and dismiss (does anything jump-cut?)
gestures, rapid taps, scroll flings at the extremes
Watch the recording twice: once at full speed for feel, once scrubbing
frame by frame. You are hunting:
every transition, measured, not vibed
transition, color pops where a surface briefly renders the wrong token
content, elements that reflow after appearing
The whole recording must play like one native piece — smooth end to end,
zero UX glitches. One glitchy frame means the flow is not done.
Directive's bar; 10+ only when the Appllama MCP is unavailable or the
library is thin for the category — say so) and can name the pattern
you adopted
overlay / replace), what back does from it on iOS and Android, and —
if it sits behind a one-way door — that back cannot re-enter the old
state; modals carry Cancel/Done; deep links land with a stack
animation; nothing slides between bottom tabs; screen transitions native),
uses the app's one spring/easing vocabulary, runs off the JS thread,
and every gesture hands its velocity to a spring
presses, transitions, modals, keyboard — native feel, zero glitch or
wrong-color frames; Reduce Motion respected; 60 fps measured on a
release build on the slowest supported device
(profiled, not guessed)
| File | Load when |
|---|---|
| references/navigation.md | Wiring any screen into a flow: push vs replace vs dismissTo, modal vs form sheet vs overlay, tabs, deep links, and the one-way doors where back must not exist — plus the back-stack audit |
| references/native-controls.md | Choosing/wiring iOS+Android native controls, menus, pickers, sheets, forms; the library picks |
| references/motion.md | Any motion: the decision sequence (frequency gate → purpose → tool → properties → spring/curve → thread), exact values, haptics, reduced motion, the never-ship list |
| references/motion-recipes.md | Building a press, a drag-to-dismiss sheet, swipe-to-delete, a collapsing header, list entrances, keyboard-synced UI, a tab indicator, a toast, a threshold haptic |
| references/fluid-interfaces.md | Anything a finger drags, anything translucent, anything that gives feedback: response, interruptibility, velocity hand-off, projection, rubber-banding, materials & depth, the design principles |
| references/motion-review.md | Reviewing a diff's motion, auditing an app's motion into plans, or hunting for (and rejecting) places that could animate |
| references/motion-vocabulary.md | Decoding a loose brief ("make it bouncy") or writing a motion spec with exact terms |
| references/variant-lab.md | An open brief or a hero screen where direction matters: build 3 divergent variants behind a dev-only switcher and let the user pick |
| references/performance.md | Jank, slow TTI, big bundles, memory leaks, profiling method |
| references/image-assets.md | Generating illustrations/icons/hero art with image models |
| references/simulator-loop.md | Final verification checklist (layout, theming, motion, interaction, navigation & back stack, state) + device matrix |
Take appllama/appllama-app-design-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npx.
Without those the skill loads but fails at the first command.