mcpField
R
react

react

github.com/pymodelDevelopment40569 installsUpdated 5w ago
Repository

About react

A React 19 best-practices skill for developers optimizing application performance. Its 44 prioritized rules cover concurrent rendering, Server Components, forms, data fetching, state, effects, and component patterns, with guidance linked to reference material.

Key features

  1. 0144 rules across eight categories
  2. 02Prioritize guidance by impact
  3. 03Cover rendering, server components, and forms
  4. 04Address data fetching and state
  5. 05Provide code examples in rule references

Use cases

  1. 01Review React 19 performance patterns
  2. 02Improve rendering and data-fetching flows
  3. 03Choose approaches for forms and state

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pymodel/react-frontend-skills --skill react

After installing, type/reactin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
_sections.md
conc-automatic-batching.md
conc-concurrent-safe.md
conc-suspense-fallback.md
conc-use-deferred-value.md
conc-use-transition.md
conc-view-transitions.md
data-cache-deduplication.md
data-error-boundaries.md
data-parallel-fetching.md
data-suspense-data-fetching.md
data-use-hook.md
effect-avoid-unnecessary.md
effect-cleanup.md
effect-object-dependencies.md
effect-use-browser-only.md
effect-use-effect-event.md
effect-use-sync-external-store.md
form-actions.md
form-use-action-state.md
form-use-form-status.md
form-use-optimistic.md
form-validation.md
memo-avoid-premature.md
memo-compiler.md
memo-react-memo.md
memo-use-callback.md
memo-use-memo.md
rcomp-composition.md
rcomp-controlled-components.md

Details

From the project README

React 19 Best Practices

Comprehensive performance optimization guide for React 19 applications. Contains 44 rules across 8 categories, prioritized by impact from critical (concurrent rendering, server components) to incremental (component patterns). Covers the React 19.3 stabilizations: <ViewTransition>, Fragment refs, and direct Context providers in Server Components.

Table of Contents

  1. Concurrent Rendering — CRITICAL
  2. Server Components — CRITICAL
  3. Actions & Forms — HIGH
  4. Data Fetching — HIGH
  5. State Management — MEDIUM-HIGH
  6. Memoization & Performance — MEDIUM
  7. Effects & Events — MEDIUM
  8. Component Patterns — LOW-MEDIUM

How to Use

Run in the project root first:

npx -y @pymodel/react-frontend-skills detect  # installed vs. targeted versions

Read references/<rule-id>.md for each rule above that matches the task: why it matters, then incorrect vs. correct code.

References

  1. https://react.dev
  2. https://react.dev/blog/2024/12/05/react-19
  3. https://react.dev/blog/2025/10/01/react-19-2
  4. https://react.dev/learn/you-might-not-need-an-effect
  5. https://github.com/facebook/react

Related Skills

  • For Next.js 16 App Router, see nextjs skill
  • For client-side form handling, see react-hook-form skill
  • For data caching with TanStack Query, see tanstack-query skill

Comments

Markdown supported