Skip to main content
subagent CX Codex

react-pro — Claude Code subagent: features and setup

react-pro — a React-focused subagent for building components, refactoring code, and tackling UI problems. It examines existing project patterns and includes testing in its workflow.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/react-pro.md
Open on GitHub

What react-pro does

react-pro organizes interfaces into reusable components and works with functional React components and Hooks. It can help place state, handle server-side data, and investigate performance issues such as repeated renders or long lists. Its testing guidance uses Jest and React Testing Library.

The subagent can look up library documentation with Context7 and use Magic tools to create or refine components. Its configured tools also cover reading and editing files, searching the project, and running commands. It expects changes to pass tests, linting, and type checks, so a project without a test setup will need one before that check can run.

What it helps with

  • Split a UI into reusable React components
  • Refactor a component to match existing project patterns
  • Choose where interface state should live
  • Investigate unnecessary component re-renders
  • Write behavior-focused component tests

Example prompts for the agent

  • Create a React component for this form, following the patterns already used in the project.
  • Refactor this screen into smaller reusable components and add tests.
  • Find why this list keeps rendering again and suggest a suitable fix.

How to install react-pro

Manually: put the files in place

.claude/agents/react-pro.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about react-pro

How do I install react-pro in Claude Code?

Add the subagent file to your project at .claude/agents/react-pro.md.

What does react-pro do?

It assists with building and refactoring React components, managing state, and investigating UI performance. Its testing guidance covers Jest and React Testing Library.

Which tools can react-pro use?

It can consult library documentation through Context7 and use Magic tools to build or refine components. Its configured tools also include file editing, project search, and command execution.

Similar subagents

All subagents for Frontend and UI →

From the same set112

The whole set →
sync-pr-to-task sync-pr-to-task connects GitHub pull requests to Linear issues, mapping review statuses and comments bidirectionally. CX Codex +1 ★ 1,357repo stars nextjs-pro nextjs-pro — a Next.js subagent for architecture, rendering choices, SEO, testing, and performance work across an existing or new application. CX Codex ★ 1,357repo stars retrospective-analyzer retrospective-analyzer pulls sprint numbers from Linear and Git, finds problems that repeat across retros, and drafts action items with owners and dates. CX Codex +1 ★ 1,357repo stars boundary-guardian boundary-guardian monitors reasoning boundaries and detects semantic drift to stop AI hallucinations before invalid statements occur. CX Codex ★ 1,357repo stars Linear Todo Sync Linear Todo Sync pulls your open Linear tasks through the API and writes them as a markdown todo file in the project root. Useful when you want a quick view of assigned work. CX Codex +1 ★ 1,357repo stars reasoning-validator The reasoning-validator subagent for Claude Code checks reasoning chains with WFGY formulas and quantitative metrics, helping identify logical errors in assistant reasoning. CX Codex ★ 1,357repo stars strategic-analyst strategic-analyst simulates business and architecture scenarios, maps project constraints, and logs planned initiatives directly into Linear. CX Codex ★ 1,357repo stars svelte-testing The svelte-testing subagent helps test Svelte and SvelteKit apps, from component behavior to end-to-end flows. Use it when you need coverage for UI interactions or server-side functions. CX Codex ★ 1,357repo stars

Project sponsors

Companies that keep this analytics open