mobile-ui-scaling
100 / 100 · Low risk
Fine to try.
How to correctly make UI scale on mobile in this project. The app scales every UI screen with the external ScalableContainer (@vibegameengine/ui-scaler): content is authored in a fixed logical `targetWidth` and shrunk by `transform: scale(min(1, innerWidth/targetWidth))`. On a phone a desktop-width target collapses the UI to ~30% (tiny, unreadable). The ONE correct fix is a DYNAMIC targetWidth per device via the shared `useResponsiveTargetWidth` hook — never remove the scaler, never patch it wi…
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'mobile-ui-scaling' ] || [ -L ~/.agents/skills/'mobile-ui-scaling' ]; then echo 'A skill folder named mobile-ui-scaling already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/vibegameengine/web-starter-kit' "$d" && git -C "$d" checkout --quiet '846b119f62f55ff8557651f180b624f053ad4c85' -- 'agents/skills/mobile-ui-scaling' && mkdir -p ~/.agents/skills && cp -R "$d"/'agents/skills/mobile-ui-scaling' ~/.agents/skills/'mobile-ui-scaling' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'mobile-ui-scaling' ~/.claude/skills/'mobile-ui-scaling' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/vibegameengine/web-starter-kit/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 846b119 | 100 |