cross-platform-design

cross-platform-design is a skill for Claude Code, Codex from f0d010c/stark. It costs 140 tokens per session (2,029 once invoked), scanned A, original, Apache-2.0.

A design guide for one codebase or product that runs across web, iPhone, Android, Windows, and Mac while adapting the interface to each platform's conventions.

In plain words
What is it for?
Use it to compare cross-platform technologies and define platform-specific navigation, controls, typography, icons, motion, spacing, and accessibility.
Why use it?
It helps teams share product decisions without forcing every platform to use controls, navigation, and layouts that feel out of place.

Skill for Claude CodeCodex

Part of the stark plugin — 9 skills, 14 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/f0d010c/stark/cross-platform-design
Any agent
npx skills add f0d010c/stark --skill cross-platform-design
Clone the repo
git clone --depth 1 https://github.com/f0d010c/stark

Made for: Claude Code, Codex.

Or install stark, the plugin that ships this one along with the rest of its 9 skills, 14 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cross-platform-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/f0d010c/stark/cross-platform-design.svg)](https://agentmods.dev/skills/f0d010c/stark/cross-platform-design)
Your own site
<a href="https://agentmods.dev/skills/f0d010c/stark/cross-platform-design"><img src="https://agentmods.dev/badge/skills/f0d010c/stark/cross-platform-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00140 $0.02029
Opus 5 $0.00070 $0.01014
Sonnet 5 $0.00028 $0.00406
Haiku 4.5 $0.00014 $0.00203

Measured 5d ago against content hash 63e389d9e52a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cross-platform-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cross-platform-design/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 142 lines · 140 tokens per session scan A 63e389d9e52a

Subscribe to this mod's changes

cross-platform-design is a skill published in the GitHub repository f0d010c/stark (25 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 140 tokens to every session and 2,029 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

frontend-design-research

阶段 2 试吃——对 4-5 个该领域设计优秀的真实网站跑六维机械拆解(形 / 色 / 字 / 构 / 质 / 动),综合成本项目 design.md 初稿。六维是上位骨架,DOM 量化工作流 + 动效采访 5 类是落地肌肉。每次一站,保护上下文。不做前轮/后轮深度采访(那是 frontend-interview-dualround)、不做视觉锚定三件套(那是 frontend-visual-reference)、不写最终交付的 design.md(那是 frontend-design-writer)、不做组件库 / 动效资产库选型(那部分由 frontend-design-writer 的 §11 Resources 段 +…

kkunkunya/ai-frontend-design-kit · 201 tokens

frontend-design-writer

阶段 1-7 持续维护的 design.md 主写手——把调研(六维试吃)+ 双轮深度采访 + 视觉锚定三件套 + 动效实现 prompt 集全部压缩为 Agent 可执行的设计契约。kun 版 15 段三轮写作顺序(原 12 段 + 新增 §12 Moodboard Prompt / §13 Page Mockup Prompt / §14 Motion Prompts 三段视觉锚定引用)。同时维护 DESIGN-LANGUAGE.md(低频)+ design.md(高频)+ MOTION-SPEC.md(中频)三份。不用于调研本身(那是 frontend-design-research)、不用于从零搭 knowledge/…

kkunkunya/ai-frontend-design-kit · 205 tokens

frontend-i18n-essentials

前端国际化(i18n)的综合规划与执行指南——做国际性网站、多语言架构、补多语言、翻译质量验证、字体跨语言统一、路由 / SEO / 字符串提取 / 动态切换等 i18n 相关任务时用。本 skill 按"运行时 / 翻译内容 / 视觉"三层正交模型路由:先定位用户的 i18n 痛点在哪一层,再走对应决策流;翻译内容层默认走三段流水线(机翻 → AI 本地人审 → 人工兜底)+ subagent 并行化(locale × persona × domain)。触发:用户说"做国际性网站""加多语言""补英文版""做 i18n""多语言网站的 SEO""路由用子路径还是子域名""本地化翻译""文化陷阱""AI…

kkunkunya/ai-frontend-design-kit · 300 tokens

frontend-iteration-planner

前端项目二开 / 增量改进的入口路由器——已定稿 design.md 的项目要加新页面 / 新 section / 微改 token 时,先读老资产(design.md + visual-anchors/ + motion-prompts/),按三档 tier 判定(T1 新页面 / T2 新 section / T3 微改)输出本轮最小流程路径,阻止模型"假装新项目"把已定风格冲掉。本 skill 只做路由和前置防呆,不自己执行具体阶段——执行仍委给 dualround / visual-reference / design-writer / design-review 等原 skill。触发:用户说"加个新页面""在首页加一个…

kkunkunya/ai-frontend-design-kit · 257 tokens

frontend-visual-reference

阶段 4 视觉锚定三件套的主 skill——在写第一行代码前,用 Moodboard(A) + 完整网页示意图(B) + 动效帧序列(C) 三种图像级锚点把视觉方向钉死。探索前移在 Moodboard 阶段(A)以 2-3 张让用户选的方式执行,B/C 是单线生成。资产生成走双路径:主路径 baoyu-imagine skill 自动出图,兜底路径打开 prompt 文件让用户复制到网页端。产出写入 knowledge/design-docs/visual-anchors/ 目录,并在 design.md §12/§13/§14 回填引用。触发:design.md 初稿完成、后轮采访定稿后、用户说"出几张方向图让我选""做…

kkunkunya/ai-frontend-design-kit · 251 tokens

frontend-design-review

代码已经跑起来后(阶段 7 迭代微调)的设计评审横切——用户看到具体页面涌现审美反馈时使用:三段式追问(定位→对标→量化)把"感觉不对"翻译成可执行改动项,"选择题化"让用户做选择题而不是填空题,参数外显 Tweaks 让不确定的参数暴露成可调旋钮,所有修正反写回 design.md。覆盖 design-review(视觉对标)、design-content(文案与信息层级)、design-harden(边缘状态加固)三种子模式。仅用于代码已生成后——代码前的"感觉"引导走 frontend-interview-dualround 的后轮采访;纯调研走 frontend-design-research;写 design.md 走…

kkunkunya/ai-frontend-design-kit · 193 tokens