This is a comprehensive React 19 reference with 49 rules across 9 categories, from concurrent rendering and Server Components down to codebase-level hygiene (dead code, duplication, boundary drift). It ships with a category-major review algorithm designed for whole-repo audits, not just single-file questions. Each rule opens with "shapes to recognize" because real violations hide behind syntactic disguises that grep misses. The high-value rules include concrete before/after pairs for pattern detection. Use it when migrating from React 18, auditing a codebase for anti-patterns, or writing new components with modern idioms like ref-as-prop, useActionState, and inline document metadata. Category 9 is where you'll find the remove/dedup/consolidate findings that single-file linters can't see.

skills.sh installs
496
GitHub stars
222
last updated
Aug 21, 2026

Install

$ npx -y skills add pproenca/dot-skills --skill react --agent claude-code

Installs into .claude/skills of the current project.

Files

React 19 Best Practices

Comprehensive React 19/19.2 best-practices guide for AI agents. Contains 49 rules across 9 categories, prioritized by impact from critical (concurrent rendering, server components) through to cross-cutting codebase hygiene (dedup, dead code, boundary coherence). Reflects React 19 headline changes: ref as a regular prop (forwardRef deprecated), native document metadata, resource preload APIs, useActionState, useOptimistic, use() hook, and <Context> as provider.

Rule files describe pattern shapes (not API names) and open with a "Shapes to recognize" section listing 2–4 syntactic disguises the same break can wear. Selected high-value rules (those whose disguises are most common in real codebases — form actions, ref-as-prop, derived state, context, the use() hook, useCallback/memo pairing) include an extra concrete "In disguise" incorrect/correct example pair to teach pattern detection beyond the grep-friendly cases.

When to Apply

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend Development, Backend & APIs, Git & Pull Requests, Documentation, Code Review & Quality
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
1aj-geddes avatarfrontend-state-managementaj-geddes/useful-ai-promptsManage application state using Redux, MobX, Zustand, and Context API. Use when centralizing state for complex applications with multiple components.485skills.sh installs
2josiahsiegel avatartailwindcss-responsive-darkmodejosiahsiegel/claude-plugin-marketplaceTailwind CSS responsive design and dark mode patterns (2025-2026). PROACTIVELY activate for: (1) dark mode setup (class-based vs media-query, dark: variant), (2478skills.sh installs
3manutej avatarreact-patternsmanutej/luxor-claude-marketplaceModern React development with hooks, component patterns, state management, and performance optimization for building scalable applications473skills.sh installs
4pedronauck avatarreactpedronauck/skillsReact 19 development under the React Compiler. Use when writing React components or hooks, deciding whether a useMemo/useCallback/memo belongs in the code, diag473skills.sh installs
5dauquangthanh avatarfrontend-design-reviewdauquangthanh/hanoi-rainbowConducts comprehensive frontend design reviews covering UI/UX design quality, design system validation, accessibility compliance, responsive design patterns, co463skills.sh installs
6jwynia avatarshadcn-layoutsjwynia/agent-skillsGenerate correct shadcn/Tailwind layouts by applying CSS mental models. This skill should be used when the user asks to 'create a shadcn layout', 'fix layout is460skills.sh installs