Erne debug visual

From JubaKitiashvili/everything-react-native-expo · View interactive version

Erne debug visual is an AI agent skill from the GitHub repository JubaKitiashvili/everything-react-native-expo. ERNE — Screenshot-based visual debugging using the visual-debugger agent

How to use this skill

Skill file

/erne-debug-visual — Visual Debugging

You are executing the /erne-debug-visual command. Use the visual-debugger agent for screenshot-based UI analysis and fixing.

Arguments

/debug-visual                          — auto-capture screenshot from running simulator/emulator via agent-device
/debug-visual <file>                   — analyze a specific screenshot file
/debug-visual --compare <figma-file>   — compare app screenshot with Figma export
/debug-visual --screen <ScreenName>    — navigate to and capture a specific screen

Process

Step 1: Capture Screenshot

Step 2: Analyze

  1. Apply multimodal vision to the screenshot(s)
  2. Read the relevant component source files
  3. Identify all visual issues
  4. Present a numbered list — each item includes category and severity:

| Category | Examples |

|----------|---------|

| Layout | overflow, misalignment, wrong spacing |

| Typography | wrong font, size, weight, truncation |

| Color | wrong token, contrast failure, dark mode |

| Spacing | padding/margin off-spec |

| Responsive | breaks on small/large screen |

| Figma Delta | deviation from design (--compare only) |

Severity: critical · major · minor

Step 3: Interactive Fix

  1. User picks issue numbers to fix
  2. Locate the responsible component in source
  3. Apply the fix (minimal change, match project style)
  4. Hot reload — allow ~2s for changes to reflect
  5. Re-capture screenshot
  6. Show before/after comparison
  7. Ask: "Does this look correct? Any remaining issues?"

Step 4: Summary

Output

## Visual Debug Report

### Screenshot
[File path or auto-captured timestamp]

### Issues Found
1. [Category · Severity] Description
2. [Category · Severity] Description
...

### Fixes Applied
**Issue 1** — [ComponentName.tsx]
Before: [brief description]
After:  [brief description]

### Remaining Issues
[None | list of deferred items]
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.