Skip to content

Getting Started

RequirementNotes
Node.js >= 22 (LTS)For the CDP bridge MCP server
Claude Code CLInpm install -g @anthropic-ai/claude-code
iOS Simulator or Android EmulatorAt least one platform
Metro dev server runningnpx expo start or npx react-native start

maestro-runner and agent-device are auto-installed on first plugin load.

From inside Claude Code:

Terminal window
# 1. Add the marketplace
/plugin marketplace add Lykhoyda/rn-dev-agent
# 2. Install the plugin
/plugin install rn-dev-agent@Lykhoyda-rn-dev-agent
# 3. Reload plugins to activate
/reload-plugins

Or use the interactive UI:

Terminal window
/plugin

Enable auto-update in the plugin manager (Marketplaces tab). With auto-update enabled, Claude Code checks for new versions at startup.

Manual update:

Terminal window
/plugin update rn-dev-agent@Lykhoyda-rn-dev-agent
/reload-plugins

The plugin connects to your running app via Metro’s CDP endpoint and reads the React fiber tree directly.

// App.tsx or app/_layout.tsx
if (__DEV__) {
global.__ZUSTAND_STORES__ = {
auth: useAuthStore,
cart: useCartStore,
};
}

Zero production cost — stripped in release builds.

Auto-detected. No setup needed.

Add testID to interactive elements for reliable component queries:

<Pressable testID="checkout-button" onPress={handleCheckout}>
<Text testID="cart-badge">{itemCount}</Text>
</Pressable>

Copy this into your project’s CLAUDE.md to ensure Claude uses CDP tools:

## React Native Development (rn-dev-agent)
### Tool Usage Rules
- ALWAYS use CDP MCP tools instead of raw bash commands
- ALWAYS call cdp_status first before any app interaction
- NEVER use xcrun simctl openurl for navigation
- For UI interaction, use device_find/device_press — not simctl or adb input
### Key Commands
- /rn-dev-agent:rn-feature-dev <description> — Full 8-phase pipeline
- /rn-dev-agent:check-env — Verify environment
- /rn-dev-agent:debug-screen — Diagnose current screen

Navigate to your React Native project and start building:

Terminal window
cd /path/to/your-rn-app
claude

On startup the plugin auto-detects your project and installs dependencies. Then:

/rn-dev-agent:rn-feature-dev add task priority levels with color coding and sort

Claude handles the rest — 8 phases from understanding to verified code with proof screenshots.

Terminal window
git clone https://github.com/Lykhoyda/rn-dev-agent.git
cd rn-dev-agent/scripts/cdp-bridge && npm install && npm run build && cd ../..
cd /path/to/your-rn-app
claude --plugin-dir /path/to/rn-dev-agent