npx skills add https://github.com/pproenca/dot-skills --skill react-optimiseReact 应用程序的应用级性能优化指南。包含 8 个类别共 43 条规则,按影响程度从关键(React 编译器、打包优化)到渐进式(内存管理)进行优先级排序。
| 类别 | 影响程度 | 规则数量 | 关键主题 |
|---|---|---|---|
| React 编译器精通 | 关键 | 6 | 编译器友好代码、跳出检测、渐进式采用 |
| 打包与加载 | 关键 | 6 | 路由分割、桶文件消除、动态导入、预取 |
| 渲染优化 | 高 | 6 | 虚拟化、子组件模式、防抖、CSS 包含块 |
| 数据获取性能 | 高 | 5 | 瀑布式加载消除、路由预加载、SWR、去重 |
| 核心 Web 指标 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 中-高 |
| 5 |
| INP 让步、LCP 优先级、CLS 预防、图片优化 |
| 状态与订阅性能 | 中-高 | 5 | 上下文拆分、选择器、原子状态、派生状态 |
| 性能分析与测量 | 中 | 5 | DevTools 性能分析、火焰图、CI 预算、生产构建 |
| 内存管理 | 低-中 | 5 | Effect 清理、异步取消、闭包泄漏、堆分析 |
关键模式 — 首先确保这些正确:
常见错误 — 避免这些反模式:
react 技能nextjs-16-app-router 技能react-hook-form 技能每周安装量
80
代码仓库
GitHub 星标数
89
首次出现
Feb 12, 2026
安全审计
安装于
github-copilot74
codex74
opencode74
gemini-cli73
kimi-cli71
cursor71
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).
| 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 |
Critical patterns — get these right first:
Common mistakes — avoid these anti-patterns:
react skillnextjs-16-app-router skillreact-hook-form skillWeekly Installs
80
Repository
GitHub Stars
89
First Seen
Feb 12, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot74
codex74
opencode74
gemini-cli73
kimi-cli71
cursor71
GSAP React 动画库使用指南:useGSAP Hook 与最佳实践
3,400 周安装