ios-visual
Installation
SKILL.md
iOS Visual
Capture simulator screenshots and use Claude's vision to detect visual errors and compare against references.
Load Strategy
Always read references/visual-qa.md.
Execution Contract
-
Detect mode before acting:
- Regression check: compare current captures vs
screenshots/baseline/ - Design comparison: compare captures vs a provided design image
- Quick visual check: capture the running simulator without a full rebuild
- Regression check: compare current captures vs
-
Capture strategy:
- Full deterministic capture (App Store quality, preview data) → use
screenshots-iostool - Quick check of running simulator → use
xcrun simctl io booted screenshot - Never assume the simulator is booted — check first
- If
screenshots-iosis unavailable, fall back toxcrun simctl io booted screenshotimmediately. Do not ask the user to install anything before attempting the fallback.
- Full deterministic capture (App Store quality, preview data) → use
-
Analysis: Read each captured PNG with the
Readtool. Claude analyzes visually:- Layout shifts, misaligned elements, unexpected spacing
- Missing or extra UI elements
- Text truncation or clipping
- Wrong colors or typography vs design tokens
- Empty/loading/error state correctness
-
Report per screen: Pass | Expected change | Regression — with specific observations.
-
Approve workflow: if all screens pass regression, copy
current/tobaseline/and note files to commit.
Sister Skills
- ios-architect — app/feature scaffolding, preview data wiring
- ios-design-system — design tokens, component correctness
- ios-testing — unit/integration tests, Swift Testing
Related skills