skills/ios-app-tester/SKILL.md
Test iOS apps using AXe CLI for accessibility auditing, UI automation, and simulator control. Use when testing iOS Simulator apps, automating UI interactions, recording test videos, or auditing accessibility labels and VoiceOver support.
npx skillsauth add ckorhonen/claude-skills ios-app-testerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Test and automate iOS Simulator applications using AXe, a command-line tool that leverages Apple's Accessibility APIs for programmatic simulator control. AXe runs as a single binary with no server setup required.
brew tap cameroncooke/axe
brew install axe
Verify installation:
axe --help
axe list-simulators
axe tap -x 200 -y 400 --udid <SIMULATOR_UDID>
axe describe-ui --udid <SIMULATOR_UDID>
# List all available simulators with UDIDs
axe list-simulators
# Tap at coordinates
axe tap -x 100 -y 200 --udid <UDID>
# Swipe gesture
axe swipe --start-x 100 --start-y 500 --end-x 100 --end-y 200 --udid <UDID>
# Low-level touch events
axe touch-down -x 100 -y 200 --udid <UDID>
axe touch-up -x 100 -y 200 --udid <UDID>
# Scrolling
axe gesture scroll-up --udid <UDID>
axe gesture scroll-down --udid <UDID>
axe gesture scroll-left --udid <UDID>
axe gesture scroll-right --udid <UDID>
# Edge swipes (for navigation)
axe gesture swipe-from-left-edge --udid <UDID>
axe gesture swipe-from-right-edge --udid <UDID>
axe gesture swipe-from-top-edge --udid <UDID>
axe gesture swipe-from-bottom-edge --udid <UDID>
# Type text directly
axe type 'Hello World!' --udid <UDID>
# Type from stdin (useful for passwords/sensitive data)
echo "secret" | axe type --stdin --udid <UDID>
# Type from file
axe type --file input.txt --udid <UDID>
# Home button
axe button home --udid <UDID>
# Lock/power button
axe button lock --udid <UDID>
# Long press (e.g., for Siri)
axe button lock --duration 2.0 --udid <UDID>
# Side button
axe button side --udid <UDID>
# Apple Pay
axe button apple-pay --udid <UDID>
# Describe all UI elements (full screen)
axe describe-ui --udid <UDID>
# Describe element at specific point
axe describe-ui --point 100,200 --udid <UDID>
# Record to MP4 file
axe record-video --udid <UDID> --fps 15 --output test-recording.mp4
# Stream video (for ffmpeg piping)
axe stream-video --udid <UDID> --fps 30 --format ffmpeg | ffmpeg -i - output.mp4
# Stream as MJPEG
axe stream-video --udid <UDID> --fps 10 --format mjpeg > stream.mjpeg
All commands support delays for sequencing:
# Wait before action
axe tap -x 100 -y 200 --pre-delay 1.0 --udid <UDID>
# Wait after action
axe tap -x 100 -y 200 --post-delay 0.5 --udid <UDID>
# Combined delays
axe type 'text' --pre-delay 0.5 --post-delay 1.0 --udid <UDID>
# Get all accessibility elements
axe describe-ui --udid <UDID> > accessibility-audit.txt
Review output for:
accessibilityLabel valuesaccessibilityHint for complex actionsaccessibilityTraits# Check specific element
axe describe-ui --point 200,400 --udid <UDID>
#!/bin/bash
UDID="YOUR_SIMULATOR_UDID"
# Navigate through app elements
axe gesture swipe-from-left-edge --udid $UDID --post-delay 1.0
axe describe-ui --udid $UDID
axe tap -x 200 -y 400 --udid $UDID --post-delay 0.5
axe describe-ui --udid $UDID
#!/bin/bash
UDID="YOUR_SIMULATOR_UDID"
# Login flow automation
echo "Starting login test..."
# Tap email field
axe tap -x 200 -y 300 --udid $UDID --post-delay 0.3
# Type email
axe type '[email protected]' --udid $UDID --post-delay 0.3
# Tap password field
axe tap -x 200 -y 380 --udid $UDID --post-delay 0.3
# Type password (from stdin for security)
echo "password123" | axe type --stdin --udid $UDID --post-delay 0.3
# Tap login button
axe tap -x 200 -y 480 --udid $UDID --post-delay 2.0
# Verify result - check for expected element
axe describe-ui --udid $UDID | grep -q "Welcome" && echo "Login successful"
# GitHub Actions example
- name: Run iOS UI Tests
run: |
# Boot simulator
xcrun simctl boot "iPhone 15"
UDID=$(xcrun simctl list devices | grep "iPhone 15" | grep -oE '[A-F0-9-]{36}')
# Install app
xcrun simctl install $UDID ./build/MyApp.app
xcrun simctl launch $UDID com.example.myapp
# Run AXe tests
axe describe-ui --udid $UDID > accessibility-report.txt
# Record test
axe record-video --udid $UDID --fps 10 --output test.mp4 &
VIDEO_PID=$!
# Run automation script
./test-scripts/login-flow.sh $UDID
kill $VIDEO_PID
# Ensure simulator is booted
xcrun simctl boot "iPhone 15"
# Get correct UDID
axe list-simulators
# Grant accessibility permissions in System Preferences
# Security & Privacy > Privacy > Accessibility
# Ensure app is in foreground
xcrun simctl launch <UDID> <BUNDLE_ID>
# Add delays between commands
axe tap -x 100 -y 200 --post-delay 1.0 --udid <UDID>
--post-delay between commands for reliabilitydescribe-ui before and after actions to verify statedocumentation
Create or expand an Idea.md / IDEA.md file from a rough description, existing repo, conversation history, notes, or other early-stage product inputs. Use when the user asks to "write an Idea.md", "turn this into an idea file", "capture this product idea", "expand this concept", or wants a repo-grounded concept brief before validation, PRD, or implementation work.
development
Write structured implementation plans from specs or requirements before touching code. Use when given a spec, requirements doc, or feature description, when user says "plan this out", "write a plan for", "how should we implement", or before starting any multi-step coding task.
testing
Expert guidance for video editing with ffmpeg, encoding best practices, and quality optimization. Use when working with video files, transcoding, remuxing, encoding settings, color spaces, or troubleshooting video quality issues.
development
Opinionated constraints for building better interfaces with agents. Use when building UI components, implementing animations, designing layouts, reviewing frontend accessibility, or working with Tailwind CSS, motion/react, or accessible primitives like Radix/Base UI.