Provides React SPA performance optimization guidelines covering async waterfall elimination, bundle size reduction, re-render optimization, rendering efficiency, and JS micro-optimizations. Use when writing, reviewing, or refactoring React SPA code.
Ships in wl-web-configs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Performance optimization guide for React Single Page Applications (SPA), tailored for Workleap's SPA-first architecture.
Reference these guidelines when:
| Priority | Category | Impact | Reference |
|---|---|---|---|
| 1 | Eliminating Waterfalls | CRITICAL | async-rules.md |
| 2 | Bundle Size Optimization | CRITICAL | bundle-rules.md |
| 3 | Re-render Optimization | MEDIUM | rerender-rules.md |
| 4 | Rendering Performance | MEDIUM | rendering-rules.md |
| 5 | JavaScript Performance | LOW-MEDIUM | js-rules.md |
| 6 | Advanced Patterns | LOW | advanced-rules.md |
Waterfalls are the #1 performance killer. Each sequential await adds full network latency.
Read references/async-rules.md for detailed rules and code examples.
Reducing initial bundle size improves Time to Interactive and Largest Contentful Paint.
Read references/bundle-rules.md for detailed rules and code examples.
Reducing unnecessary re-renders minimizes wasted computation and improves UI responsiveness.
Read references/rerender-rules.md for detailed rules and code examples.
Optimizing the rendering process reduces the work the browser needs to do.
Read references/rendering-rules.md for detailed rules and code examples.
Micro-optimizations for hot paths that can add up to meaningful improvements.
Read references/js-rules.md for detailed rules and code examples.
Advanced patterns for specific cases that require careful implementation.
Read references/advanced-rules.md for detailed rules and code examples.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
10 skills in this plugin
/workleap-browserslist-configWorkleap's shared Browserslist config (`@workleap/browserslist-config`). Use when adding or customizing a `.browserslistrc` in a project that uses `@workleap/browserslist-config`, adding custom browser targets, listing the supported browser versions, or deciding whether a project (application vs library) should include Browserslist at all.
/workleap-chromatic-best-practicesWorkleap's Chromatic best practices for snapshot cost control and CI optimization. Use when auditing, setting up, or fixing Chromatic configurations — including TurboSnap-disabling patterns, CI workflows, chromatic.config.json, and monorepo setups. Also activate when reviewing PRs that touch Storybook or Chromatic-related files.
/workleap-rsbuild-configsWorkleap's shared Rsbuild configs for web applications (`@workleap/rsbuild-configs`): `defineDevConfig`, `defineBuildConfig`, `defineStorybookConfig`, and `RsbuildConfigTransformer`. Use when setting up, customizing, or troubleshooting the dev server, production build, or Storybook of a web application that uses `@workleap/rsbuild-configs`, adding SVG / CSS Modules type declarations, configuring Turborepo tasks, upgrading to Rsbuild 2, or migrating an application from `@workleap/webpack-configs`.
/workleap-rslib-configsWorkleap's shared Rslib configs for libraries (`@workleap/rslib-configs`): `defineBuildConfig`, `defineDevConfig`, `defineStorybookConfig`, and `RslibConfigTransformer`. Use when setting up, customizing, or troubleshooting the build, watch mode, or Storybook of a library that uses `@workleap/rslib-configs`, choosing bundleless vs bundle output, configuring `tsconfig.build.json` or type declarations, upgrading to Rslib 2, or migrating a library from `@workleap/tsup-configs`.
/workleap-skill-optimizerOptimize agent skills to reduce context bloat while preserving answer coverage. Use when a skill's body exceeds ~250 lines, duplicates its references, has a verbose description, or triggers false positives. Also activate proactively when reviewing any skill with both a body and reference files.
/workleap-skill-safety-reviewEvaluate third-party agent skills for security risks before adoption or update. Use when installing, updating, or auditing skills from any source (skills.sh, ClawHub, public registries, PRs). Also activate when building allowlists, investigating suspicious behavior, or answering "is this skill safe?"
/wl-web-configs:workleap-react-best-practicesfrom wl-web-configs
npx claudepluginhub workleap/wl-web-configs --plugin wl-web-configs