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.
npx skills add jiushiwon/wg-skills --skill mobile-uiux-spec-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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.
[](https://agentmods.dev/skills/jiushiwon/wg-skills/mobile-uiux-spec-skill)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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。
工作流程
- 识别端与形态:iOS、Android、小程序、H5、鸿蒙;直板/折叠/平板、原生/自绘导航、是否有固定底栏和输入框。
- 读取项目真源:主题 Token、基础容器、导航与底栏组件;不得重建平行组件体系。
- 选择单位与设计稿基线:详见
references/cross-platform-baseline.md。基线只用于设计与标注,不用于硬编码设备状态栏高度。 - 建立页面责任表:页面外侧 gutter、内容区、固定区、底部安全区、键盘位移各由谁负责。
- 生成或审查设计交付:使用
references/delivery-checklist.md,明确默认态、加载、空态、错误态、禁用态和真机验收项。 - 鸿蒙 Variant:阅读
references/harmonyos-uiux.md,对窗口尺寸、折叠态、安全区与vp/fp单列约束,不把 Androiddp直接照搬。
跨端硬规则
- 单位不混用:iOS 用
pt,Android 布局用dp、文字用sp,小程序用rpx,H5 按场景使用 CSSpx/rem/em/vw/dvh与calc()/clamp(),鸿蒙界面优先用vp/fp。跨端交付需说明“设计值”如何映射,不能直接声称 1:1。 - 最小点击区:iOS 不小于
44 × 44pt;Android 建议不小于48 × 48dp;小程序交互区不小于88 × 88rpx;H5 以44 × 44 CSS px为底线。视觉图标可以更小,但命中区域不能更小。 - 页面空间有责任方:页面容器负责外侧 gutter;卡片负责内部 padding;固定栏负责自身安全区;滚动内容负责为固定栏预留高度。
- 状态栏不能写死:iOS/Android 状态栏、微信胶囊、折叠屏窗口和鸿蒙避让区都可能变化,必须通过端侧运行时信息获得。
- 小程序胶囊独占一行:自绘导航中,胶囊带只放返回等必要操作;标题、菜单和其他右侧按钮必须另起行并预留胶囊宽度。状态栏用
statusBarHeight,胶囊用uni.getMenuButtonBoundingClientRect(),导航高度统一由项目容器计算。 - 键盘只由一层处理:页面容器或输入组件二选一;静态设计稿必须给“键盘弹起后提交/发送按钮仍可达”的状态图。
- 设计系统优先:颜色、字号、间距、圆角、组件外壳只引用项目已有 Token 与公共组件;本 Skill 不新造第二套主题。
- 真机验收不可省略:最小屏、常规屏、刘海/手势屏、Android 常规机至少覆盖;有鸿蒙或折叠屏目标时额外验证展开/折叠及窗口变更。
交付输出
输出以下内容,而非只交一张效果图:
## 移动端 UI/UX 交付说明
- 目标端:微信小程序 + H5;鸿蒙为后续 Variant。
- 设计基线:小程序 750rpx;H5 375 CSS px;不把状态栏高度写死。
- 页面空间:PageContainer 负责 32rpx gutter;BaseCard 负责 24rpx padding。
- 固定区:Footer 负责 safe-area padding;滚动内容预留 Footer 高度 + 安全区。
- 键盘:页面容器统一处理,输入组件关闭二次自动位移。
- 验收:最小屏、刘海屏、Android、键盘弹起/收起、最后一项可达。
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.
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.
- 25d ago First seen · 74 lines · 68 tokens per session scan A 2e6a1425f11c
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.
mobile-uiux-spec-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mobile-uiux-spec-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| hig-foundationssickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 12 | Claude Code |
| hig-inputssickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 32 | Claude Code |
| display-glasses-with-jetpack-compose-glimmerandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 112 | Claude Code |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 56 | Claude Code |
| expo-design-systemexpo/skills | Skill | 4.3k | today | MIT | A | 90 | Claude Code, Codex |
| omh-apple-designrlaope/oh-my-hermes | Skill | 6.2k | today | MIT | A | 21 | Claude Code |