Skip to content
Back to skills

Ls Vercel React Performance

ASecurity

Guide React and Next.js best practices. Use for component boundaries,

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsjavascriptjavareactnextjsgitapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add CruxExperts/LocalSetup --skill ls-vercel-react-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ls Vercel React Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ls Vercel React Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cruxexperts-ls-vercel-react-performance/badge)](https://www.skillsdirectory.com/skills/cruxexperts-ls-vercel-react-performance)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ls-vercel-react-performance
description: Guide React and Next.js best practices. Use for component boundaries,
  data fetching, rendering performance, server/client split, and Vercel-oriented React
  work.
metadata:
  version: '1.0'
extensions:
  external_skill:
    source_kind: native-reference
    source_url: https://github.com/vercel-labs/agent-skills
    source_path: skills/react-best-practices/SKILL.md
    source_commit: f8a72b9603728bb92a217a879b7e62e43ad76c81
    source_ref: main
    source_sha256: 71ed7794962fa6e803ee83030517b5b93a9f70fbfeb431ec4535c5480a8d8355
    license: NO_REPO_LICENSE_FOUND
    import_date: '2026-07-03'
    vetting_status: provenance-recorded-no-bundled-tooling-executed
---

# React Best Practices

Use this skill when working on React best practices tasks.

## Workflow

- Inspect framework version, router, rendering mode, server/client boundaries, and data-fetching path before refactors.
- Prefer server components and framework-native caching where the project supports them; avoid unnecessary client state.
- Validate with typecheck, lint, tests, and build or route-level smoke checks after behavior changes.
- Check whether the project uses the App Router, Pages Router, or another React framework before applying routing, data-fetching, or caching advice.
- Keep server/client boundaries explicit: move browser-only state, effects, and event handlers into client components while keeping data access and secret handling server-side.
- Look for avoidable data waterfalls, unstable cache semantics, duplicate fetches, and stale invalidation behavior before changing component structure.
- Keep rerender boundaries small with stable props, local state ownership, and memoization only where measurement or code shape justifies it.
- Watch bundle pressure from client-only imports, icon packs, charting libraries, rich editors, and utilities that cross the server/client boundary.
- Check hydration and rendering issues when markup differs between server and client, when browser APIs run during render, or when suspense/loading states shift layout.
- Profile JavaScript hot paths before optimizing; prioritize user-visible render, input, navigation, and streaming bottlenecks over cosmetic rewrites.

## Boundaries

- Inspect the target repository before making changes.
- Prefer existing project patterns, declared package managers, and documented validation commands.
- Do not expose secrets, credentials, private user data, or production account identifiers in source, examples, or logs.
- When external APIs or current vendor behavior matter, verify against official docs before implementation.
- Verify current framework behavior against primary docs when version or routing details matter:
  - https://react.dev/reference/react
  - https://nextjs.org/docs/app/getting-started/server-and-client-components
  - https://nextjs.org/docs/app/guides/caching
  - https://vercel.com/docs/agent-resources/vercel-plugin


## License Boundary

The upstream repository snapshot did not expose a top-level license file during this run. This skill is LocalSetup-native guidance and does not copy upstream body text or bundled assets.

## Provenance

- Source: `https://github.com/vercel-labs/agent-skills`
- Ref: `main` at `f8a72b9603728bb92a217a879b7e62e43ad76c81`
- Source path: `skills/react-best-practices/SKILL.md`
- License classification: `NO_REPO_LICENSE_FOUND`
- Source SHA-256: `71ed7794962fa6e803ee83030517b5b93a9f70fbfeb431ec4535c5480a8d8355`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.