mobile-uiux-spec-skill

mobile-uiux-spec-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 68 tokens per session (1,522 once invoked), scanned A, original, Apache-2.0.

A guide for designing and reviewing mobile interfaces for iOS, Android, mini-programs, mobile web, and HarmonyOS.

In plain words
What is it for?
It helps define mobile page variants, choose measurement units, plan responsive layouts, check interaction states, and prepare handoff notes for developers.
Why use it?
It prevents layouts from breaking across phones and platforms by covering platform-specific units, touch targets, safe areas, keyboards, and foldable screens.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps define mobile page variants, choose measurement units, plan responsive layouts, check interaction states, and prepare handoff notes for developers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/mobile-uiux-spec-skill
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.

Any agent
npx skills add jiushiwon/wg-skills --skill mobile-uiux-spec-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

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 mobile-uiux-spec-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-uiux-spec-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00068 $0.01522
Opus 5.5 $0.00027 $0.00609
Sonnet 5.5 $0.00014 $0.00304
Haiku 4.5 $0.00007 $0.00152

Measured 25d ago against content hash 2e6a1425f11c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile-uiux-spec-skill 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 25d 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.

frontend/mobile-uiux-spec-skill/SKILL.md · 74 lines

How it starts

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

移动端 UI/UX 设计与交付规范

为移动端页面建立可交付的设计基线:先定运行端与页面 Variant,再定单位、布局、触控、排版和验收。目标不是把所有端强行画成一套固定像素,而是让同一设计意图在不同端都可实现、可验证。

触发词:移动端设计规范、UIUX 规范、iOS 尺寸、Android dp、小程序 rpx、H5 安全区、鸿蒙 UIUX、vp/fp、移动端交付、折叠屏适配。

何时使用

  • 设计或复刻 iOS、Android、小程序、移动 H5、鸿蒙页面;
  • 设计稿要交给 Vue、uni-app、React Native、ArkUI 或原生开发实现;
  • 出现“同一页面在不同手机边距、底栏、字号不一样”的问题;
  • 需要检查安全区、键盘、折叠态、点击区和交付标注。

不用于:

  • 已有项目的安全区/键盘问题取证与修复,使用 mobile-safe-area-audit-skill;
  • 跨页面 Token、组件、图标的一致性扫描,使用 frontend-style-harmonizer-skill;
  • 主题变量或基础组件实现,分别使用对应 Vue / uni-app 主题与组件 Skill。

工作流程

  1. 识别端与形态:iOS、Android、小程序、H5、鸿蒙;直板/折叠/平板、原生/自绘导航、是否有固定底栏和输入框。
  2. 读取项目真源:主题 Token、基础容器、导航与底栏组件;不得重建平行组件体系。
  3. 选择单位与设计稿基线:详见 references/cross-platform-baseline.md。基线只用于设计与标注,不用于硬编码设备状态栏高度。
  4. 建立页面责任表:页面外侧 gutter、内容区、固定区、底部安全区、键盘位移各由谁负责。
  5. 生成或审查设计交付:使用 references/delivery-checklist.md,明确默认态、加载、空态、错误态、禁用态和真机验收项。
  6. 鸿蒙 Variant:阅读 references/harmonyos-uiux.md,对窗口尺寸、折叠态、安全区与 vp/fp 单列约束,不把 Android dp 直接照搬。

跨端硬规则

  1. 单位不混用:iOS 用 pt,Android 布局用 dp、文字用 sp,小程序用 rpx,H5 按场景使用 CSS px/rem/em/vw/dvh 与 calc()/clamp(),鸿蒙界面优先用 vp/fp。跨端交付需说明“设计值”如何映射,不能直接声称 1:1。
  2. 最小点击区:iOS 不小于 44 × 44pt;Android 建议不小于 48 × 48dp;小程序交互区不小于 88 × 88rpx;H5 以 44 × 44 CSS px 为底线。视觉图标可以更小,但命中区域不能更小。
  3. 页面空间有责任方:页面容器负责外侧 gutter;卡片负责内部 padding;固定栏负责自身安全区;滚动内容负责为固定栏预留高度。
  4. 状态栏不能写死:iOS/Android 状态栏、微信胶囊、折叠屏窗口和鸿蒙避让区都可能变化,必须通过端侧运行时信息获得。
  5. 小程序胶囊独占一行:自绘导航中,胶囊带只放返回等必要操作;标题、菜单和其他右侧按钮必须另起行并预留胶囊宽度。状态栏用 statusBarHeight,胶囊用 uni.getMenuButtonBoundingClientRect(),导航高度统一由项目容器计算。
  6. 键盘只由一层处理:页面容器或输入组件二选一;静态设计稿必须给“键盘弹起后提交/发送按钮仍可达”的状态图。
  7. 设计系统优先:颜色、字号、间距、圆角、组件外壳只引用项目已有 Token 与公共组件;本 Skill 不新造第二套主题。
  8. 真机验收不可省略:最小屏、常规屏、刘海/手势屏、Android 常规机至少覆盖;有鸿蒙或折叠屏目标时额外验证展开/折叠及窗口变更。

交付输出

输出以下内容,而非只交一张效果图:

## 移动端 UI/UX 交付说明

- 目标端:微信小程序 + H5;鸿蒙为后续 Variant。
- 设计基线:小程序 750rpx;H5 375 CSS px;不把状态栏高度写死。
- 页面空间:PageContainer 负责 32rpx gutter;BaseCard 负责 24rpx padding。
- 固定区:Footer 负责 safe-area padding;滚动内容预留 Footer 高度 + 安全区。
- 键盘:页面容器统一处理,输入组件关闭二次自动位移。
- 验收:最小屏、刘海屏、Android、键盘弹起/收起、最后一项可达。

Read the full file on GitHub · 74 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 25d ago First seen · 74 lines · 68 tokens per session scan A 2e6a1425f11c

Subscribe to this mod's changes

mobile-uiux-spec-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,522 once invoked, about $0.0003 per session on Opus 5.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-11-06.

Related

mobile-uiux-spec-skill compared with skills from other repositories

mobile-uiux-spec-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobile-uiux-spec-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A68Claude Code, Codex
hig-foundationssickn33/agentic-awesome-skillsSkill51kyesterdayMITA12Claude Code
hig-inputssickn33/agentic-awesome-skillsSkill51kyesterdayMITA32Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill11k8d agoApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
expo-design-systemexpo/skillsSkill4.3ktodayMITA90Claude Code, Codex
omh-apple-designrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code