agent-react-devtools

Inspects live React component trees, props, state, hooks, and rendering performance.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/Aradotso/devtools-skills --skill agent-react-devtools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-react-devtools
Source: https://github.com/Aradotso/devtools-skills/tree/main/skills/agent-react-devtools
Command: npx skills add https://github.com/Aradotso/devtools-skills --skill agent-react-devtools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers and AI agents often struggle to understand why a React app is behaving a certain way, especially when component hierarchies, props/state flow, hooks, or performance regressions are hard to observe in the UI alone.

Core Features & Use Cases

  • Component tree inspection: Retrieve the rendered component hierarchy, subtrees, and details (props, state, hooks) with compact, AI-friendly output.
  • Targeted debugging: Find components by name, count components, and inspect error/warning-prone parts of the UI.
  • Rendering performance profiling: Record profiling sessions and identify slow components, frequent re-renders, and commit timelines to pinpoint bottlenecks.

Quick Start

Start the daemon, connect your app, then inspect what’s rendering by running the command: agent-react-devtools get tree --depth 3.

Frequently Asked Questions about agent-react-devtools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inspect the React component tree to debug incorrect renders?

React component tree inspection retrieves the rendered hierarchy, subtrees, and details including props, state, and hooks. Start the daemon, connect your app, and run a tree query command like `get tree --depth 3` to observe the live component structure.

Can I profile rendering performance for slow or frequently updating React components?

Yes, you can profile rendering performance for slow or frequently updating React components by recording profiling sessions. This identifies slow components, frequent re-renders, and commit timelines to pinpoint bottlenecks, with profiling commands supporting export and diff capabilities.

Does this React debugging approach work with Vite, Next.js, Create React App, and React Native?

This React debugging approach works with Vite, Next.js, Create React App, and React Native applications. It supports app connection via an init/connect import or Vite plugin, and requires a started daemon to diagnose UI behavior across these platforms.

What is the best way to trace re-render causes in a running React app?

The best way to trace re-render causes in a running React app is to inspect component-level props, state, and hooks while profiling rendering performance. Recording sessions and analyzing commit timelines pinpoint what triggers frequent re-renders.

Do I need a started daemon to inspect React component state and hooks?

Yes, you need a started daemon to inspect React component state and hooks. The daemon enables live component tree inspection, targeted debugging by component name, error checks, and performance profiling commands with export and diff capabilities.

How do I find specific components by name and check for errors in my React UI?

To find specific components by name and check for errors in your React UI, use targeted debugging commands to search components, count them, and inspect error-prone or warning-prone parts of the UI. This requires a connected app and started daemon.