/dev-flow:rn-stylingfrom dev-flow
Guards React Native + Expo styling decisions: NativeWind v4 vs StyleSheet, Flexbox differences, safe-area insets, dark mode, responsive design, optimized images/lists, and when to use @expo/ui native components.
Ships in dev-flow. 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.
StyleSheet only for performance-critical paths (per-frame animations etc.).tailwind.config.js (which mirrors the project's DESIGN.md tokens).SafeAreaView from react-native-safe-area-context (NOT the one from react-native).useColorScheme + Tailwind dark: variant. Never Appearance.getColorScheme() at module top-level.expo-image instead of Image; @shopify/flash-list for any list > 20 items.references/decision-tree.mdreferences/nativewind-setup.mdreferences/concepts.mdreferences/patterns.mdreferences/examples/references/expo-ui.md (@expo/ui) — real SwiftUI/Jetpack Compose components, not RN primitives.@expo/ui — two different toolsView, Text, …) with utility classes. It changes how things look.@expo/ui (see references/expo-ui.md; import paths verified against @expo/[email protected]) renders actual native components — SwiftUI on iOS, Jetpack Compose on Android — not styled primitives. Reach for it when a screen needs to genuinely behave like a native settings/picker/sheet screen, not when it just needs the right colors and spacing.@expo/ui tree can sit inside a NativeWind-styled screen. Don't use @expo/ui as a general-purpose styling system, and don't expect NativeWind classes to apply inside its native components.style={{ padding: 16 }} with a magic number — pull from token.<View> without SafeAreaView from react-native-safe-area-context.import "tailwindcss" directly in code — only NativeWind imports.Appearance.getColorScheme() at module level — use useColorScheme() hook.Image from react-native for remote URIs — use expo-image.flex: 1 on root + scroll without contentContainerStyle on ScrollView — content gets clipped.docs.expo.dev/develop/user-interface/styling/ page this line used to cite 404s (checked 2026-08-26, re-checked 2026-11-05, still 404; color-themes/, safe-areas/ and fonts/ all answer 200); Expo's user-interface section now covers color-themes/, safe-areas/, fonts/ and animation/ rather than a single styling page@expo/ui) — the page badges it Included in Expo Go and recommends ~58.0.20, matching [email protected]'s pin (checked 2026-10-17; at SDK 57 they disagreed by a patch — take the SDK's pin). Import paths and the 19 root exports verified at 58.0.20; SDK 58 changed iOS <Host> alignment and stack default spacing — see references/expo-ui.mdreferences/concepts.md (opens in a new tab)references/decision-tree.md (opens in a new tab)references/examples/dark-mode-toggle.tsx (opens in a new tab)references/examples/responsive-card.tsx (opens in a new tab)references/examples/safe-area-layout.tsx (opens in a new tab)references/expo-ui.md (opens in a new tab)references/nativewind-setup.md (opens in a new tab)references/patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lukedj78/dev-flow --plugin dev-flow57 skills in this plugin
/animated-iconsAdd a Motion-animated icon to a Next.js app from a shadcn registry instead of hand-animating an SVG. Two registries, picked from the project's icon set: **heroicons-animated** (316 icons, `shadcn add @heroicons-animated/<name>`) and **hugeicons-animated** (165 icons, `shadcn add @hugeicons-animated/<name>`, which also installs a shared `lib/use-icon-animation.ts`). Both MIT, both on the `motion` runtime, both copied into your repo as source. This skill owns the install plus the two things the raw components lack: a `prefers-reduced-motion` guard and timing aligned to the project motion tokens (`lib/motion/`). Use when the user says "animated icon", "animate this icon", "make the bell/heart/menu icon animate on hover", "aggiungi un'icona animata", or wants an icon micro-interaction. Refuses outside Next.js web — for React Native use `rn-animations-gestures`. Not for: static icons, a whole motion system (`transitions`), or installing the runtime itself (`module-add motion`)./app-securityCheck whether an app's own code can be attacked before it ships — vulnerable dependencies, secrets in the code and in git history, Next.js authorization gaps (Server Actions and route handlers without a session check, queries by id with no owner filter — IDOR), data over-exposure, secrets in public env vars, raw SQL — then read the flagged code against an OWASP checklist, with an opt-in dynamic level (Strix) that proves exploits against the app running locally. The fifth pre-deploy gate, beside compliance-audit, vercel-doctor, shadscan and launch-audit; reports and routes, never blocks. Triggers: "security review", "è sicura l'app?", "controllo di sicurezza prima del deploy", "IDOR", "secrets in the repo", "pentest". Not for: GDPR and legal (compliance-audit), UI quality (shadscan), cost (vercel-doctor), launch readiness (launch-audit), a review of one branch diff (Claude Code's /security-review), third-party registry code (registry-intake).