Everything-react-native-expo debug

Systematic diagnosis of bugs using the performance-profiler agent

install
source · Clone the upstream repo
git clone https://github.com/JubaKitiashvili/everything-react-native-expo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JubaKitiashvili/everything-react-native-expo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/debug" ~/.claude/skills/jubakitiashvili-everything-react-native-expo-debug && rm -rf "$T"
manifest: .claude/skills/debug/SKILL.md
source content

/debug — Systematic Diagnosis

You are executing the

/debug
command. Use the performance-profiler agent for systematic bug diagnosis.

Process

Step 1: Reproduce

Define exact reproduction steps:

  1. Starting state
  2. Actions taken
  3. Expected behavior
  4. Actual behavior
  5. Environment (device, OS, Expo SDK version)

Step 2: Classify the Bug

CategoryIndicatorsFirst Check
CrashApp terminatesCheck Metro logs, Hermes stack trace
RenderVisual glitch, wrong layoutCheck component tree, re-render count
StateWrong data displayedCheck Zustand store, TanStack Query cache
NavigationWrong screen, broken backCheck Expo Router history, params
PerformanceJank, slow responseCheck FPS, bundle size, memory
NetworkFailed API callsCheck request/response, auth tokens
NativePlatform-specific issueCheck native logs (Xcode/Logcat)

Step 3: Investigate

JavaScript layer:

# Check Metro bundler logs
# Search for errors/warnings in console output
# Add strategic console.log at suspected points

React layer:

  • Component re-render tracking (React DevTools)
  • Props/state inspection
  • Effect dependency analysis

Native layer (if agent-device available):

  • Screenshot current state
  • Navigate through repro steps visually
  • Capture native crash logs

Step 4: Fix & Verify

  1. Identify root cause
  2. Implement minimal fix
  3. Verify fix resolves the issue
  4. Check for regression (run related tests)
  5. Document what caused it and why

Output

## Bug Report

### Summary
[One-line description]

### Root Cause
[Technical explanation]

### Fix Applied
[Files changed with explanation]

### Verification
[Steps taken to verify fix]
[Test results]