We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/igorzheludkov/metro-logs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# Layout Check Skill
Capture screenshots from running React Native devices to verify layout changes.
## When to Trigger
**Auto-trigger after code changes:** When you modify any style, layout, or UI component code, automatically run this skill to capture a screenshot and verify the change visually — do not wait for the user to ask. This includes fixing padding, margins, safe areas, colors, font sizes, component structure, or any visual property.
Also use this skill when the task involves:
- Verifying layout changes after modifying UI code
- Comparing how the app looks across different device sizes (iPhone, iPad, Android)
- Checking responsive layout behavior
- Visual regression testing after style changes
- Comparing the app against a Figma design
## Instructions
When this skill is invoked, follow these steps:
### 1. Discover Running Devices
First, check what devices are available:
- Use `mcp__rn-debugger-local__list_ios_simulators` to find running iOS simulators
- Use `mcp__rn-debugger-local__list_android_devices` to find connected Android devices/emulators
### 2. Take Screenshots
Based on what's running, capture screenshots:
**For iOS Simulators:**
- Use `mcp__rn-debugger-local__ios_screenshot` with the simulator UDID
- Capture from both iPhone and iPad if both are running (important for responsive layouts)
**For Android Devices:**
- Use `mcp__rn-debugger-local__android_screenshot` with the device serial
### 3. Present Results
- Display all captured screenshots to the user
- If multiple devices are captured, clearly label each (e.g., "iPhone 16 Pro", "iPad Pro 13-inch")
- Point out any visible layout issues or differences between device sizes
### 4. Optional: Compare with Design
If the user provides a Figma URL or design reference:
- Use the Figma MCP tools to fetch the design
- Compare the screenshot against the design
- Highlight any discrepancies
## Arguments
- `$ARGUMENTS` - Optional: specific device type to capture (e.g., "iphone", "ipad", "android", "all")
## Usage Examples
- `/layout-check` - Capture from all running devices
- `/layout-check iphone` - Capture only from iPhone simulators
- `/layout-check ipad` - Capture only from iPad simulators
- `/layout-check android` - Capture only from Android devices
## MCP Tools Used
- `mcp__rn-debugger-local__list_ios_simulators`
- `mcp__rn-debugger-local__list_android_devices`
- `mcp__rn-debugger-local__ios_screenshot`
- `mcp__rn-debugger-local__android_screenshot`
## Notes
- This skill requires the rn-debugger-local MCP server to be running
- Devices must be booted and the app must be running
- For iPad testing, ensure both portrait and landscape are considered if relevant