Skip to content

/cross-platform-design

Use when the user wants one codebase or one product design across web, iOS, Android, Windows, and Mac, asks for the same app on all platforms, asks to translate/port a UI between platforms, or names Compose Multiplatform, Tauri 2, Electron, React Native, Flutter, .NET MAUI,

From plugin
stark
378 skills14 commands

Claude Code

$ npx -y skills add f0d010c/stark --skill cross-platform-design --agent claude-code

SKILL.md

cross-platform-design.SKILL.md
name: cross-platform-design
description: Use when the user wants one codebase or one product design across web, iOS, Android, Windows, and Mac, asks for the same app on all platforms, asks to translate/port a UI between platforms, or names Compose Multiplatform, Tauri 2, Electron, React Native, Flutter, .NET MAUI, Avalonia, or Uno Platform. Builds cross-platform UI by preserving UX decisions, originality seed, desktop archetype, state coverage, tokens, and product job while translating each surface into the host platform's native idiom rather than pixel-cloning. SKIP when only one platform is targeted and no translation/cross-platform tradeoff is involved.

cross-platform-design — translate idiom, not pixels

Goal: ship one codebase that respects each platform's HIG/Material/Fluent — not a Flutter app that looks like Flutter on every OS.

What This Skill Can Do

  • Choose cross-platform stacks and explain tradeoffs across Tauri, Electron, React Native, Flutter, Compose Multiplatform, Avalonia, Uno, and MAUI.
  • Translate Apple, Android, Windows, and web patterns by idiom instead of copying pixels.
  • Preserve UX briefs, state coverage, action hierarchy, tokens, desktop archetype, originality seed, layout sketch, and product metaphor across platforms.
  • Define per-platform navigation, controls, typography, icons, motion, density, and accessibility adaptations.
  • Warn when one shared UI will harm platform fit or when a single-platform implementation is the better choice.

Step 0 — Preserve UX and UI decisions

If Stark produced a UX decision brief or UI decision brief, keep both as the source of truth. Translate them per platform instead of pixel-cloning.

Read:

  • `../../references/ui-patterns/surface-taxonomy.md`
  • `../../references/ui-patterns/ui-decision-brief.md`
  • `../../references/ui-patterns/desktop-app-archetypes.md`
  • `../../references/ui-patterns/native-desktop-app-quality-contract.md`
  • `../../references/ui-patterns/originality-engine.md`
  • `../../references/ui-patterns/design-recipes.md`
  • `../../references/ui-patterns/anti-default-contrasts.md`
  • `../../references/ui-patterns/visual-hierarchy.md`
  • `../../references/ui-patterns/motion-budget.md`

The shared product should preserve job, state coverage, action hierarchy, visual hierarchy, desktop archetype, native desktop quality decisions, originality seed, and layout sketch. Navigation, controls, typography, icons, and motion must become platform-specific, but the chosen shape should remain legible: command center stays a command center, library stays a library, workbench stays a workbench, and monitoring cockpit stays a monitoring cockpit. Desktop targets still need per-platform window model, command model, native controls, resize behavior, keyboard/focus paths, and platform evidence. A product-specific metaphor can translate across platforms; exact pixels and custom controls should not.

Step 1 — Pick the right framework for the design intent

| User priority | Recommended stack | |---|---| | Native feel + Kotlin codebase + iOS support | **Compose Multiplatform 1.8+** (iOS stable since May 2025) | | Tiny binary, web team, desktop-first | **Tauri 2** (Rust + native webviews; ~3MB) | | Native Android views + iOS, large ecosystem | **React Native** (New Arch + Fabric + Hermes) | | Single Skia raster across platforms (custom design system) | **Flutter** — only if pixel control matters more than native feel | | .NET shop, XAML cross-platform | **Uno Platform 5+** (reuses WinUI XAML) | | .NET shop, mobile-first | **.NET MAUI** (warn: weaker desktop, weaker iOS feel) | | Cross-platform desktop + custom theming | **Avalonia 11** with Fluent/Mac themes |

Step 2 — Native-feel ranking by platform

When the user picks a stack, **state the fidelity tradeoff per platform** in one line each.

Compose Multiplatform 1.8+

  • Android: native (excellent)
  • iOS: stable but Material widgets won't feel HIG — you must implement Cupertino-styled Compose components, or accept a Material aesthetic on iOS
  • Desktop: good for Compose-driven design, not native Fluent
  • Web (Wasm): experimental

Tauri 2

  • Windows: WebView2 chrome — Mica works via window-backdrop API but font rendering and focus rings will look subtly off vs WinUI 3
  • macOS: WKWebView — looks like a web app, not an AppKit/SwiftUI app
  • Linux: WebKitGTK
  • Mobile (iOS/Android): preview, not production-ready

React Native (New Architecture)

  • iOS: real UIKit views, decent. Liquid Glass requires `expo-glass-effect` or native modules; partial adoption.
  • Android: real Android views, M3 themable but won't get spring physics or shape morphing without manual work.
  • Desktop: react-native-windows / react-native-macos exist, fidelity weaker

Flutter

  • All platforms: Skia custom-painted. Never feels native to anyone.
  • Material 3 widgets exist but lag platform updates (no spring physics parity, no shape morphing primitives, no real dynamic color).
  • **Avoid** for any project where "native feel" is a stated requirement.

Uno Platform

  • Windows: native WinUI (excellent)
  • iOS / Android / Mac / Web: reuses XAML rendering — distinctive fidelity but not 1:1 with each platform's idiom
  • Best XAML cross-platform path

.NET MAUI

  • Windows: weak WinUI integration
  • macOS: Catalyst (deprecated direction)
  • iOS: looks like Android in costume
  • **Generally avoid for design-first work**

Step 3 — Translation rules: same product, different idiom

**Settings screen example:**

  • iOS → grouped `Form` with `Section { ... }` headers, Liquid Glass toolbar, switch toggles
  • Android → `LargeTopAppBar` + `LazyColumn` with `ListItem` rows, switches with M3 thumbs
  • Windows → `NavigationView` + scrollable `SettingsCard` stack with Mica backdrop
  • Web → asymmetric grid with sidebar nav and editorial section headers

**Tab bar example:**

  • iOS → bottom `TabView` (5 tabs max, Liquid Glass)
  • Android → `NavigationBar` (3–5) or `NavigationRail` adaptive
  • Windows → `NavigationView` T
Read more
@f0d010c
Ships withstark

Design direction for AI coding agents—grounded in product behavior, platform idiom, and rendered evidence. Stark routes UI work across web, Windows, Apple, Android, cross-platform, UX, and design tokens.

Stars on GitHub

Momentum

stars in total
37
Star history of f0d010c/stark on GitHub, a chart by star-history.com

Other skills on stark.

android-design
Auto-invoked

android-design

Use when the user asks for an Android app, Compose UI, Material 3, Material You, Material 3 Expressive, Pixel-style app,…

@f0d010c@f0d010cInstall Skill
apple-design
Auto-invoked

apple-design

Use when the user asks for SwiftUI, UIKit, AppKit, iOS, iPadOS, macOS, watchOS, visionOS, Liquid Glass, HIG, SF Symbols, App…

@f0d010c@f0d010cInstall Skill
design-router
Auto-invoked

design-router

Use when the user asks to build, design, mock up, scaffold, audit, translate, or improve any interface, flow, screen, page,…

@f0d010c@f0d010cInstall Skill
design-tokens
Auto-invoked

design-tokens

Use when the user asks for design tokens, DTCG tokens, theme systems, color/typography/spacing/radius/elevation/motion tokens,…

@f0d010c@f0d010cInstall Skill
ux-design
Auto-invoked

ux-design

Use when the user asks for UX, product flow, user journey, wireframes, usability, conversion, onboarding, checkout, signup,…

@f0d010c@f0d010cInstall Skill
web-design
Auto-invoked

web-design

Use for web interfaces, landing pages, product sites, dashboards, React, Next.js, Astro, Tailwind, frontend audits, responsive…

@f0d010c@f0d010cInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about cross-platform-design.

Which coding agents can use cross-platform-design?
cross-platform-design installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.