Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

react-optimise

БесплатноБез исполняемых скриптовНе проверен

Application-level React performance optimization covering React Compiler mastery, bundle optimization, rendering performance, data fetching, Core Web Vitals…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

React Optimise Best Practices

Application-level performance optimization guide for React applications. Contains 43 rules across 8 categories, prioritized by impact from critical (React Compiler, bundle optimization) to incremental (memory management).

When to Apply

  • Optimizing React application performance or bundle size
  • Adopting or troubleshooting React Compiler v1.0
  • Splitting bundles and configuring code splitting
  • Improving Core Web Vitals (INP, LCP, CLS)
  • Profiling render performance and identifying bottlenecks
  • Fixing memory leaks in long-lived single-page applications
  • Optimizing data fetching patterns and eliminating waterfalls

Rule Categories

Category Impact Rules Key Topics
React Compiler Mastery CRITICAL 6 Compiler-friendly code, bailout detection, incremental adoption
Bundle & Loading CRITICAL 6 Route splitting, barrel elimination, dynamic imports, prefetching
Rendering Optimization HIGH 6 Virtualization, children pattern, debouncing, CSS containment
Data Fetching Performance HIGH 5 Waterfall elimination, route preloading, SWR, deduplication
Core Web Vitals MEDIUM-HIGH 5 INP yielding, LCP priority, CLS prevention, image optimization
State & Subscription Performance MEDIUM-HIGH 5 Context splitting, selectors, atomic state, derived state
Profiling & Measurement MEDIUM 5 DevTools profiling, flame charts, CI budgets, production builds
Memory Management LOW-MEDIUM 5 Effect cleanup, async cancellation, closure leaks, heap analysis

Quick Reference

Critical patterns — get these right first:

  • Write compiler-friendly components to unlock automatic 2-10x optimization
  • Split code at route boundaries to reduce initial bundle by 40-70%
  • Eliminate barrel files to enable tree shaking
  • Detect and fix silent compiler bailouts

Common mistakes — avoid these anti-patterns:

  • Reading refs during render (breaks compiler optimization)
  • Importing entire libraries when only using one function
  • Not profiling before optimizing (targeting the wrong bottleneck)
  • Missing effect cleanup (subscription memory leaks)

Table of Contents

  1. React Compiler Mastery — CRITICAL
  2. Bundle & Loading — CRITICAL
  3. Rendering Optimization — HIGH
Полный SKILL.md на GitHub

Установить react-optimise в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdREADME.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/bundle-analyze-budgets.mdreferences/bundle-barrel-elimination.mdreferences/bundle-dynamic-imports.mdreferences/bundle-prefetch-routes.mdreferences/bundle-route-splitting.mdreferences/bundle-tree-shake-deps.mdreferences/compiler-friendly-code.mdreferences/compiler-incremental-adoption.mdreferences/compiler-ref-access-patterns.mdreferences/compiler-remove-manual-memo.mdreferences/compiler-side-effect-rules.mdreferences/compiler-silent-bailouts.mdreferences/cwv-cls-prevention.mdreferences/cwv-image-optimization.mdreferences/cwv-inp-optimization.mdreferences/cwv-instrumentation.mdreferences/cwv-lcp-optimization.mdreferences/fetch-abort-stale.mdreferences/fetch-eliminate-waterfalls.mdreferences/fetch-request-deduplication.mdreferences/fetch-route-preloading.mdreferences/fetch-stale-while-revalidate.mdreferences/mem-async-cancellation.mdreferences/mem-closure-leaks.mdreferences/mem-effect-cleanup.mdreferences/mem-heap-snapshots.mdreferences/mem-heavy-resources.mdreferences/profile-before-optimize.mdreferences/profile-flame-charts.mdreferences/profile-performance-budgets.mdreferences/profile-production-builds.mdreferences/profile-react-devtools.mdreferences/render-avoid-inline-objects.mdreferences/render-children-pattern.mdreferences/render-css-containment.md

FAQ

Что делает скилл react-optimise?

Application-level React performance optimization covering React Compiler mastery, bundle optimization, rendering performance, data fetching, Core Web Vitals, state subscriptions, profiling, and memory management. Use when optimizing React app performance, analyzing bundle size, improving Core Web Vitals, or profiling render bottlenecks. Complements the react skill (API-level patterns) with holistic performance strategies. Does NOT cover React 19 API usage (see react skill) or Next.js-specific features (see nextjs-16-app-router skill).

Как установить скилл react-optimise?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл react-optimise запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить react-optimise с