Skip to content
Back to skills

Mobile Check

ASecurity

Run the iPhone-landscape emulation checks for Pixel Princess Platformer (audio unlock, touch controls, landscape fit, install hint) and review the screenshots. Use when asked to test the mobile or iOS experience.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
developmentpython

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add VTvito/pixel-princess-platformer --skill mobile-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mobile Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mobile Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vtvito-mobile-check/badge)](https://www.skillsdirectory.com/skills/vtvito-mobile-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mobile-check
description: Run the iPhone-landscape emulation checks for Pixel Princess Platformer (audio unlock, touch controls, landscape fit, install hint) and review the screenshots. Use when asked to test the mobile or iOS experience.
---

# Mobile / iOS check

Emulates a recent iPhone in landscape (installed Edge via `playwright-core`) and asserts the
mobile fixes.

## Run
1. Start the server (skill `/serve-game`): `python tools/serve.py 8137` (background).
2. `npm run test:mobile`
3. Review the screenshots: `tools/test/mobile-menu.png`, `tools/test/mobile-game.png`.

## What it asserts
- touch controls **hidden on the menu**, visible only in gameplay (`body.playing`)
- audio context reaches `"running"` after a real tap (`src/audioUnlock.js`)
- iOS install hint shows on an iOS UA; landscape fit + control layout fully on-screen

## Honest limit
Edge/Chromium does **not** emulate WebKit audio quirks or the `env(safe-area)` notch insets.
Confirm the **real** audio + safe-area on a physical iPhone: open the live site, tap once →
sound starts; rotate to landscape → nothing clipped by the top bar or under the notch/home bar.

## Optional: interactive browser via MCP
To drive the browser live (navigate / click / screenshot / device-emulate) instead of the
script, activate the **Playwright MCP**: rename `.mcp.json.example` → `.mcp.json`, restart the
session, approve the server. Still Chromium, not iOS WebKit.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…