xiaohongshu
xiaohongshu
claude-mobile-ios-testing
Use when testing iOS apps on simulator, capturing screenshots for validation gates, automating UI testing with expo-mcp and xc-mcp, or verifying visual correctness - combines expo-mcp autonomous testing (React Native level) with xc-mcp simulator management (iOS level)
Full skill instructions
Autonomous iOS testing combining expo-mcp (React Native component testing) with xc-mcp (simulator management).
Core principle: expo-mcp for UI testing (testID-based). xc-mcp for simulator lifecycle. AI validates visually.
Announce at start: "I'm using the claude-mobile-ios-testing skill for autonomous iOS testing."
| Operation | Tool | Why |
|---|---|---|
| Install packages | expo-mcp | Correct Expo SDK versioning + usage docs |
| Search docs | expo-mcp | Natural language Expo documentation search |
| Screenshot | expo-mcp | automation_take_screenshot (React Native level) |
| Find element | expo-mcp | automation_find_view_by_testid (by testID prop) |
| Tap element | expo-mcp | automation_tap_by_testid (by testID, React Native level) |
| Boot simulator | xc-mcp | simctl-boot (iOS simulator management) |
| Install .app | xc-mcp | simctl-install (after xcodebuild) |
| Launch app | xc-mcp | simctl-launch (iOS app lifecycle) |
| Low-level tap | xc-mcp | idb-ui-tap (when testID not available, use coordinates) |
| Accessibility tree | xc-mcp | idb-ui-describe (iOS accessibility API) |
// Boot iPhone simulator
mcp__xc-mcp__simctl-boot({
deviceId: "iPhone 14",
waitForBoot: true,
openGui: true
});
// Install .app bundle (after xcodebuild or expo run:ios)
mcp__xc-mcp__simctl-install({
udid: "booted",
appPath: "/Users/nick/Desktop/claude-mobile-expo/claude-code-mobile/ios/build/Build/Products/Debug-iphonesimulator/claudecodemobile.app"
});
// Launch app
mcp__xc-mcp__simctl-launch({
udid: "booted",
bundleId: "com.yourcompany.claudecodemobile"
});
Requires: Metro running with EXPO_UNSTABLE_MCP_SERVER=1
Visual Verification:
"Take screenshot of Chat screen empty state"
AI analyzes screenshot:
Element Verification:
"Find view with testID 'message-input' and verify it's accessible"
expo-mcp returns: {found: true, accessible: true, enabled: true}
Interaction Testing:
"Tap button with testID 'send-button'"
expo-mcp: Taps element successfully
Outcome Verification:
"Take screenshot and verify message appeared in chat"
AI analyzes: Message bubble visible ✅, correct styling ✅
// Test workflow for Chat screen
const tests = [
"Take screenshot of Chat screen empty state, verify gradient background",
"Find view with testID 'message-input'",
"Tap view with testID 'message-input'",
"Take screenshot and verify keyboard appeared",
"Find view with testID 'settings-button'",
"Tap button with testID 'settings-button'",
"Take screenshot and verify Settings screen loaded",
];
for (const test of tests) {
// AI executes test via expo-mcp prompt
// AI analyzes result
// AI determines pass/fail
}
ALL interactive elements MUST have testID:
// ✅ CORRECT
<TouchableOpacity testID="send-button" onPress={handleSend}>
<TextInput testID="message-input" />
<Pressable testID="settings-button" onPress={openSettings}>
<FlatList testID="message-list" />
Why: expo-mcp automation_tap_by_testid and automation_find_view_by_testid require testID props
const devices = ["iPhone SE (3rd generation)", "iPhone 14", "iPhone 14 Pro Max"];
for (const device of devices) {
// 1. Boot (xc-mcp)
mcp__xc-mcp__simctl-boot({deviceId: device});
// 2. Install and launch (xc-mcp)
// ... (same as above)
// 3. Test with expo-mcp
"Take screenshot of Chat screen on ${device} and verify layout correct"
// 4. AI verifies responsive layout
// 5. Shutdown
mcp__xc-mcp__simctl-shutdown({deviceId: "booted"});
}
| Mistake | Reality |
|---|---|
| "Use npm install" | WRONG. Use expo-mcp "Add package-name". |
| "Use xc-mcp screenshot" | WRONG for RN testing. Use expo-mcp automation_take_screenshot. |
| "Tap by coordinates always" | WRONG. Use expo-mcp automation_tap_by_testid with testID. |
| "Skip testID props" | WRONG. Required for expo-mcp automation. |
| "Manual visual verification" | WRONG. AI verifies screenshots autonomously. |
All mean: Use expo-mcp for RN testing. Add testIDs. Let AI verify.
@claude-mobile-metro-manager (start Metro with MCP flag)@claude-mobile-validation-gate (complete gate execution)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience