Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Optimize React and Next.js performance v1.0.0

Use this resource to review and optimize React or Next.js code against performance rules

New

  • 452 downloads
  • 236 likes
  • 244 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install react-nextjs-performance-rules-5

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent reviews components, pages and data calls, then flags request waterfalls, imports that bloat the bundle and unnecessary re-renders, citing the rule applied. You get a list of fixes ranked by impact.

Mostly picked by

Updated November 2, 2026

Card for the “Optimize React and Next.js performance” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: compiled rules ranked by priority
  • rules/async-parallel.md and rules/async-suspense-boundaries.md: parallel requests and Suspense boundaries
  • rules/bundle-barrel-imports.md: imports and bundle size

Good fit for

  • A Next.js page loads slowly because of waterfall requests
  • You want to reduce the JavaScript sent to the browser

Not for

    Tags

    • react
    • next.js
    • performance
    • bundle

    About

    You say

    “Review this Next.js page: find waterfall requests and imports that inflate the bundle.”

    Card for the “Optimize React and Next.js performance” skill

    Skill published by vercel-labs under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to review and optimize React or Next.js code against performance rules
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md82.7 KB
    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/advanced-event-handler-refs.md1.5 KB
    • rules/advanced-init-once.md1 KB
    • rules/advanced-use-latest.md1.1 KB
    • rules/async-api-routes.md1.1 KB
    • rules/async-defer-await.md2.1 KB
    • rules/async-dependencies.md1.3 KB
    • rules/async-parallel.md0.7 KB
    • rules/async-suspense-boundaries.md2.5 KB
    • rules/bundle-barrel-imports.md2.4 KB
    • rules/bundle-conditional.md1 KB
    • rules/bundle-defer-third-party.md0.9 KB
    • rules/bundle-dynamic-imports.md0.8 KB
    • rules/bundle-preload.md1.2 KB
    • rules/client-event-listeners.md2 KB
    • rules/client-localstorage-schema.md2 KB
    • rules/client-passive-event-listeners.md1.7 KB
    • rules/client-swr-dedup.md1.2 KB
    • rules/js-batch-dom-css.md3.3 KB
    • rules/js-cache-function-results.md2 KB
    • rules/js-cache-property-access.md0.5 KB
    • rules/js-cache-storage.md1.7 KB
    • rules/js-combine-iterations.md0.8 KB
    • rules/js-early-exit.md1.2 KB
    • rules/js-hoist-regexp.md1 KB
    • rules/js-index-maps.md0.9 KB
    • rules/js-length-check-first.md1.8 KB
    • rules/js-min-max-loop.md2.3 KB
    • rules/js-set-map-lookups.md0.5 KB
    • rules/js-tosorted-immutable.md1.8 KB
    • rules/rendering-activity.md0.6 KB
    • rules/rendering-animate-svg-wrapper.md1.2 KB
    • rules/rendering-conditional-render.md1 KB
    • rules/rendering-content-visibility.md0.8 KB
    • rules/rendering-hoist-jsx.md1.1 KB
    • rules/rendering-hydration-no-flicker.md2.3 KB
    • rules/rendering-hydration-suppress-warning.md0.9 KB
    • rules/rendering-svg-precision.md0.6 KB
    • rules/rendering-usetransition-loading.md2.1 KB
    • rules/rerender-defer-reads.md1 KB
    • rules/rerender-dependencies.md0.8 KB
    • rules/rerender-derived-state-no-effect.md1.2 KB
    • rules/rerender-derived-state.md0.7 KB
    • rules/rerender-functional-setstate.md3 KB
    • rules/rerender-lazy-state-init.md2 KB
    • rules/rerender-memo-with-default-value.md1.2 KB
    • rules/rerender-memo.md1.2 KB
    • rules/rerender-move-effect-to-event.md1.3 KB
    • rules/rerender-simple-expression-in-memo.md1 KB
    • rules/rerender-transitions.md1.1 KB
    • rules/rerender-use-ref-transient-values.md1.8 KB
    • rules/server-after-nonblocking.md2 KB
    • rules/server-auth-actions.md2.7 KB
    • rules/server-cache-lru.md1.4 KB
    • rules/server-cache-react.md2.3 KB
    • rules/server-dedup-props.md2.1 KB
    • rules/server-parallel-fetching.md1.6 KB
    • rules/server-serialization.md1 KB
    • SKILL.md6.2 KB

    Origin and licence

    Listed unmodified

    Author
    vercel-labs
    Source
    github.com/vercel-labs/agent-eval/tree/d901a988b2da633d063203b688956083c4d84159/packages/playground/.agents/skills/vercel-react-best-practices
    Licence
    MIT

    Notice

    « vercel-react-best-practices » (vercel-labs, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.