muratcakmak/expo-skills/expo-device-audit

Claude Code and agent skill by muratcakmak/expo-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when reviewing Expo / React Native code for device-matrix problems — checking whether screens actually adapt to iPad, Android tablets, Split View, and both iOS 18 and 26, auditing a diff or codebase for scattered Platform checks, stale dimension reads, missing tablet config, or breakpoint parity violations. Also runs when the user asks "will this work on iPad/tablet?" about existing code.

Install

npx vskill@latest install muratcakmak/expo-skills/expo-device-audit

SKILL.md

The same SKILL.md was published earlier as muratcakmak/expo-skills/expo-device-audit.

Device-Matrix Audit

Two passes: a deterministic script for mechanical violations, then judgment review for what greps can't see. Rules and rationale live in the companion expo-device-matrix skill — read it first if unfamiliar. This audit is code-level; for pixel-level proof on real simulators/emulators (screenshots via Argent), follow with expo-device-verify.

Pass 1 — mechanical (run the script)

bash
bash "$(dirname of this plugin)/scripts/audit.sh" [project-dir]

(When installed as a plugin the Stop hook runs this automatically on changed files; manually, run it against the repo.) It flags, per file:line:

CheckWhy it's a violation
Module-scope Dimensions.getEvaluated once — stale after rotate / Split View
Platform.OS / Platform.isPad / isTablet outside the profile moduleScattered branches multiply per-device; iPad-as-tablet is wrong in Split View
useWindowDimensions in a className-styled (Uniwind) component filePure layout should be breakpoint variants — JS re-renders for what Nitro resolves natively
app.json with ios config but no supportsTablet: trueiPad runs letterboxed
Width-threshold literals (width > 700 etc.) outside the breakpoints moduleParity risk with the CSS breakpoint

Script exit 2 = findings (listed on stderr); exit 0 = clean. It no-ops silently in non-Expo projects.

Pass 2 — judgment (read the code)

For each screen in scope, answer:

  1. Adapt or stretch? A regular-width window should get different structure (panes, sidebar, columns) — not the phone layout with wider margins. Phone layout at 1024px = finding.
  2. Does navigation switch idiom? Tabs at compact, sidebar/two-pane at regular. A tab bar on a 13" iPad = finding (severity: medium — shippable but not "made for iPad").
  3. Does the regular↔compact transition preserve state? Trace the Split View collapse: inline selection must promote to a route (see patterns.md §3). Lost selection = finding.
  4. Breakpoint parity: find the CSS breakpoint value and the JS threshold. Different numbers = finding (high — visible mid-drag bug).
  5. iOS 18 vs 26: chrome branches on isLiquidGlassAvailable() (not version parsing), and the iOS 18 path is styled, not just "glass minus glass"?
  6. Input axis: on regular width, do primary pressables have hover states? Are there keyboard shortcuts where the app category warrants them?

Report format

Rank by severity, one line each: severity | file:line | what | fix. Severities: high = user-visible breakage on a canonical device (letterboxing, stale layout, lost state, parity bug); medium = works-but-not-native (tab bar on iPad, no hover); low = polish. End with the canonical 5-config test list from expo-device-matrix, marking which configs the diff was actually reasoned against.

Do not report style opinions, and do not report Platform use inside .ios.tsx/.android.tsx files or the profile module itself — those are the sanctioned locations.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/muratcakmak/expo-skills/expo-device-audit/badge)](https://verified-skill.com/skills/muratcakmak/expo-skills/expo-device-audit)

Something wrong with this skill or its page? Tell us.