Skip to content
claude-mobile-validation-gate logo

Validation Gate Automation with expo-mcp

claude-mobile-validation-gate

Use when executing validation gates 3A, 4A, or 6A-E, verifying phase completion with expo-mcp visual testing, or encountering test failures - automates gate execution with expo-mcp autonomous verification and HARD STOP enforcement

SKILL.md

Full skill instructions

Validation Gate Automation with expo-mcp

Overview

Execute validation gates with expo-mcp autonomous testing (visual verification) and HARD STOP enforcement on failures.

Core principle: ALL tests must pass. Use expo-mcp for visual verification. STOP immediately if any fail.

Announce at start: "I'm using the claude-mobile-validation-gate skill to execute Validation Gate [X]."

When to Use

  • Executing Gate 3A (backend functional testing)
  • Executing Gate 4A (frontend visual testing with expo-mcp)
  • Executing Gates 6A-E (integration testing with expo-mcp)
  • Verifying phase completion
  • Re-testing after fixes

Gate Overview

GateTypePrimary ToolPass Criteria
3ABackend functionalwscat + filesystemAll 14 tests pass
4AFrontend visualexpo-mcp autonomousAI verifies all screens
6AConnectionexpo-mcp visualGreen dot shows "Connected"
6BMessage flowexpo-mcp visualMessage appears, streams, completes
6CTool executionexpo-mcp visualTool card appears, file created
6DFile browserexpo-mcp visualNavigation works, file opens
6ESessionsexpo-mcp visualCreate, switch, delete work

Gate 4A: Frontend Visual Testing (expo-mcp)

Prerequisites: Metro with EXPO_UNSTABLE_MCP_SERVER=1, app built and running

Autonomous Testing Workflow:

Step 1: "Take screenshot of Chat screen empty state"
AI analyzes: Purple gradient ✅, Input field ✅, Send button ✅

Step 2: "Find view with testID 'message-input'"
expo-mcp: {found: true, accessible: true, enabled: true} ✅

Step 3: "Tap button with testID 'send-button'"
expo-mcp: Tapped successfully ✅

Step 4: "Take screenshot showing all 5 screens"
AI verifies: All screens render correctly ✅

Step 5: "Test navigation between screens"
expo-mcp: Navigation works ✅

Step 6: AI determines: PASS or FAIL

Execute Gate 4A

// Manual expo-mcp testing workflow (not bash script)
// Use natural language prompts:

"Take screenshot of Chat screen and verify purple gradient background"
"Find view with testID 'settings-button' and verify it exists"
"Tap button with testID 'settings-button'"
"Take screenshot and verify Settings screen loaded"
"Navigate through all 5 screens and verify each renders correctly"

// AI analyzes each screenshot visually
// AI determines overall PASS/​FAIL

Gate 3A: Backend Functional Testing

Execute:

mcp__serena__execute_shell_command({
  command: "./​scripts/​validate-gate-3a.sh",
  cwd: "/​Users/​nick/​Desktop/​claude-mobile-expo"
});

Pass Criteria: Exit code 0, all 14 tests pass

Gates 6A-E: Integration Testing (expo-mcp)

All integration gates use expo-mcp for visual verification:

Gate 6A Example:

"Take screenshot of Chat screen connection status"
AI verifies: Green dot visible ✅, "Connected" text ✅

Gate 6B Example:

"Type 'Hello Claude' in message input"
"Tap send button with testID 'send-button'"
"Take screenshot and verify user message appears"
"Take screenshot and verify assistant response streams in"

HARD STOP Enforcement

If ANY test fails:

// 1. STOP immediately
// 2. Read error logs
mcp__serena__read_file({relative_path: "logs/​combined.log"});
mcp__serena__read_file({relative_path: "logs/​error.log"});

// 3. Invoke debugging
// Use @systematic-debugging

// 4. Fix issues

// 5. Re-run gate

// 6. Do NOT proceed to next phase until PASS

Save Results (MANDATORY)

mcp__serena__write_memory({
  memory_name: "validation-gate-[X]-results-YYYY-MM-DD",
  content: `
# Gate [X] Results
Status: PASSED ✅

[All test results]
[Screenshots if applicable]
[expo-mcp verification details]

Ready for next phase.
`
});

Common Mistakes

MistakeReality
"Skip some tests"WRONG. ALL tests required.
"One failure is OK"WRONG. ANY failure = HARD STOP.
"Manual testing is better"WRONG for Gate 4A. expo-mcp autonomous required.
"Proceed anyway"WRONG. Fix and re-test.

Red Flags

  • "This test is obvious" → WRONG. Run it anyway.
  • "One failure won't matter" → WRONG. HARD STOP on ANY failure.
  • "I'll fix in integration" → WRONG. Fix now, re-validate.

Integration

  • Uses: @claude-mobile-ios-testing for Gate 4A
  • Uses: @websocket-integration-testing for Gate 3A
  • Triggers: @systematic-debugging if failures occur

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View