react-best-practices

Audit React components for best practices in design, state, and accessibility.

1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/yonderlab/kota.agent.skills --skill react-best-practices-yonderlab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/yonderlab/kota.agent.skills/tree/main/skills/react-best-practices
Command: npx skills add https://github.com/yonderlab/kota.agent.skills --skill react-best-practices-yonderlab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The guidance helps developers apply React best practices when writing or reviewing React code to improve quality and consistency.

Core Features & Use Cases

  • Audit component design, state management, data fetching, accessibility, and performance.
  • Provide actionable patterns and examples for refactoring, debugging, and building maintainable components.
  • Use during PR reviews to enforce consistency and best practices.

Quick Start

Start by applying the provided checklist to a current React component and refactor it to align with recommended patterns.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How to review a React component for best practices during a PR?

To review a React component, audit its design, state management, and accessibility against established best practices. Use the provided checklist to identify areas for refactoring and enforce consistency during PR reviews.

What is the best way to refactor React components for maintainability?

Yes, you can use React best practices to fix accessibility and performance issues by applying explicit prop typings, proper keys, and accessibility considerations. These patterns deliver actionable improvements for debugging and refactoring.

Can I use React best practices to fix accessibility and performance issues?

Yes, you can use React best practices to fix accessibility and performance issues by applying explicit prop typings, proper keys, and accessibility considerations. These patterns deliver actionable improvements for debugging and refactoring.

Do I need specific dependencies to apply these React refactoring patterns?

No, you do not need specific dependencies to apply these React refactoring patterns. The guidelines operate independently to audit component design, data fetching, and testing across typical React workflows.