Install
$ agentstack add skill-mblauberg-provenant-react-performance ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
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
- 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.
- 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.
- Fix ownership. Keep request data isolated, authenticate server actions,
minimise serialised props, and distinguish request-local deduplication from persistent or cross-request caching.
- 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.
- 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](references/current-platform.md), then select only
relevant detailed rules through [rule-index.md](references/rule-index.md).
- For Vite, use [vite.md](references/vite.md); for version-specific Vite 8
configuration, load web-stack-conventions rather than duplicating it here.
- When edits are authorised, use
implementand applytddto 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](references/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 [THIRDPARTYNOTICES.md](../../THIRDPARTYNOTICES.md) and the [Vercel React best-practices licence](../../LICENSES/vercel-react-best-practices-MIT.txt). Current primary sources are indexed in [sources.md](references/sources.md).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mblauberg
- Source: mblauberg/provenant
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.