agentsclimarketplace

React performance

Skill mblauberg/provenant/skills/react-performance

Portable equal-primary Claude and Codex agent harness for a governed agentic SDLC

Install
npx -y skills add mblauberg/provenant --skill react-performance

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 29 days oldThe repository was created 29 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use for measuring or improving React rendering, hydration, bundles, waterfalls, Server Components, or Core Web Vitals. Not for general UI design, TanStack cache semantics, or Vite config; use the matching specialist.

SKILL.md

3.1 KB, 635 tokens by cl100k_base, as published. Nobody here has run it

React performance

Improve measured user or server outcomes without trading away correctness, security, accessibility or maintainability. It covers shared React behaviour, Next.js server/rendering boundaries and Vite build/runtime performance. Confirm installed versions, router, runtime and React Compiler status before using version-sensitive APIs.

Priority order

  1. Measure the real path. Reproduce in a production build. Use field Core Web Vitals where available, then browser traces, React DevTools Profiler, bundle analysis and server timings. Do not optimise from render counts alone.
  2. Remove waits and bytes. Start independent work together, move fetches to route/server boundaries, stream deliberate Suspense regions, shrink client boundaries, and lazy-load code that is not needed for the initial path.
  3. Fix ownership. Keep request data isolated, authenticate server actions, minimise serialised props, and distinguish request-local deduplication from persistent or cross-request caching.
  4. Reduce rendering work. Remove state derived through Effects, narrow subscriptions, keep transient values out of state, and profile expensive subtrees. With React Compiler enabled, prefer its automatic memoisation; retain or add manual memo, useMemo and useCallback only with evidence.
  5. Tune hot code last. Only retain a micro-optimisation when a trace or benchmark proves that exact path is material.

Workflow

  • Record baseline, device/network profile, route or interaction, and target metric. Identify whether the bottleneck is network, server, JavaScript, render, layout/paint, memory or development-only tooling.
  • Read current-platform.md, then select only relevant detailed rules through rule-index.md.
  • For Vite, use vite.md; for version-specific Vite 8 configuration, load web-stack-conventions rather than duplicating it here.
  • When edits are authorised, use implement and apply tdd to behaviour changes. Use tanstack-query for React Query server state, web-stack-conventions for Lighthouse/WCAG version deltas, and ui-ux-design when measured performance work affects UX/accessibility.
  • Re-measure under the same conditions. Reject improvements that merely move work, weaken freshness/authentication, or improve synthetic data while field behaviour regresses.
  • Review with review-checklist.md. Report the before/after evidence, trade-offs and any unmeasured residual risk.

The detailed rules are adapted material; provenance and licence terms are in the repository THIRD_PARTY_NOTICES.md and the Vercel React best-practices licence. Current primary sources are indexed in sources.md.

What ships with it: 53 files

83.4 KB alongside SKILL.md

evals/

13 more files not listed here. See all 53 in the repository.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.