react-best-practices

Review React TSX files for best practices and remediation guidance.

2|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/ByeongminLee/nextjs-claude-code --skill react-best-practices-byeongminlee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/ByeongminLee/nextjs-claude-code/tree/main/template/.claude/skills/react-best-practices
Command: npx skills add https://github.com/ByeongminLee/nextjs-claude-code --skill react-best-practices-byeongminlee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and enforce React TSX best practices to improve code quality.

Core Features & Use Cases

  • Automated TSX code reviewer that flags common anti-patterns in component structure, hooks usage, accessibility, and TypeScript patterns.
  • Generates actionable remediation suggestions and upgrade paths to modern patterns such as shadcn/ui + Tailwind.
  • Applicable after edits to multiple TSX components across codebases to ensure consistency and maintainability.

Quick Start

Run the reviewer against your TSX codebase to identify and fix best-practice violations.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How do I check my React TSX code for best practices and anti-patterns?

To check React TSX code for best practices, run an automated reviewer that flags anti-patterns in component structure, hooks usage, accessibility, performance, and TypeScript patterns. This validates imports and provides actionable remediation guidance to improve code quality.

What are common React TSX anti-patterns I should look for during a code review?

Common React TSX anti-patterns include improper component structure, incorrect hooks usage, poor accessibility, suboptimal performance, and bad TypeScript patterns. An automated reviewer identifies these issues and suggests modern tooling upgrade paths like shadcn/ui and Tailwind.

Can I automatically refactor React components to use shadcn/ui and Tailwind?

You can automatically refactor React components by applying a TSX reviewer that generates upgrade paths to modern patterns such as shadcn/ui and Tailwind. It provides actionable remediation suggestions across your codebase to ensure consistency and maintainability.

How do I enforce TypeScript patterns and consistency across multiple TSX files?

To enforce TypeScript patterns and consistency across multiple TSX files, run an automated reviewer after edits. It validates imports, identifies violations in component structure and hooks usage, and provides actionable remediation guidance across the entire React project.

Does this React code reviewer work on existing TSX codebases?

Yes, this React code reviewer works on existing TSX codebases. It is applicable after edits to multiple TSX components across your project, focusing on identifying and fixing best-practice violations to ensure long-term maintainability and code quality.