react

Diagnose React architecture, state management, and rendering performance issues.

26|8|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/arbazkhan971/godmode --skill react-arbazkhan971
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react
Source: https://github.com/arbazkhan971/godmode/tree/main/skills/react
Command: npx skills add https://github.com/arbazkhan971/godmode --skill react-arbazkhan971

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers and teams identify and remediate React architecture, state management, and rendering performance problems so applications become faster, more maintainable, and easier to test.

Core Features & Use Cases

  • Component Architecture: Guidance on composition, feature folders, custom hooks, and prop boundaries to reduce prop drilling and improve reuse.
  • State Management: Recommendations for choosing the right state approach (local, URL, server, shared) with suggested solutions such as React Query, Zustand, Jotai, and Redux Toolkit.
  • Performance: Profiling targets and practical fixes including memoization rules, code splitting, virtualization, Suspense, and render diagnostics using React DevTools Profiler.
  • Server Components & Concurrency: Best practices for using Server Components, useTransition, and deferred rendering to minimize client JS and improve UX.
  • Testing & Audit: Testing pyramid guidance with Playwright, React Testing Library, MSW, accessibility-first queries, and an audit checklist for hooks, bundle size, and type safety.
  • Use Case Example: Perform an audit on a Next.js app to reduce unnecessary re-renders, split large route bundles, and add tests for critical interactions.

Quick Start

Ask the agent: /godmode:react audit my React app for performance, state, and testing issues and return prioritized fixes.

Frequently Asked Questions about react

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

FAQPage Schema
How do I diagnose and fix excessive re-renders in a React application?

Diagnose excessive re-renders using React DevTools Profiler targets to identify bottlenecks, then apply memoization rules and component decomposition to optimize React application rendering performance.

What is the best way to choose a state management solution for React?

Choosing state management involves evaluating local, URL, server, and shared state needs to select the right approach, utilizing solutions like Zustand, Jotai, Redux Toolkit, or React Query for optimal React architecture.

How do I implement React Server Components to reduce client bundle size?

Implement React Server Components by applying best practices for server-side rendering, useTransition, and deferred rendering to minimize client JS and improve application UX and loading performance.

Does this React optimization guidance work with Vite and Remix projects?

Yes, the React optimization guidance applies directly to Next.js, Remix, Vite, and Create React App projects to diagnose rendering issues, reduce bundle size, and improve test coverage.

How do I audit my React app for performance and testing issues?

Audit your React app by profiling rendering performance, checking state boundaries, splitting large route bundles, and adding tests using Playwright, React Testing Library, and MSW to ensure coverage.

What TypeScript and testing guardrails should I use for React development?

Implement TypeScript and testing guardrails using an audit checklist for hooks, bundle size, and type safety, alongside a testing pyramid with Playwright, React Testing Library, and MSW for robust coverage.