dtsong/my-claude-setup · Archived

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering.

First seen Mar 10, 2026

Installation

$ npx skills add dtsong/my-claude-setup --skill vercel-react-best-practices

Summary

  • React and Next.js performance optimization guidelines from Vercel Engineering.
  • This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns.
  • Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dtsong/my-claude-setup · top by installs.

npx skills add dtsong/my-claude-setup

Browse all from dtsong/my-claude-setup

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 5
License LICENSE
Default branch main
Open issues 5
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
LicenseMIT
Declared agents claude-code
More metadata
author
vercel
version
1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,965 B
  • docs README.md 1,000 B
  • docs SUMMARY.md 364 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

React Best Practices (Upstream)

This is a lightweight stub skill that fetches the latest React Best Practices guidance from Vercel's upstream repository at runtime.

It intentionally avoids vendoring the full rule set so updates can be adopted quickly and attribution stays clear.

Upstream Sources

Guidelines Source

Fetch fresh guidance before each review:

https://raw.githubusercontent.com/vercel-labs/agent-skills/main/skills/react-best-practices/AGENTS.md

Process

  1. Fetch the upstream AGENTS.md.
  2. Use it as the authoritative rulebook for React/Next.js performance.
  3. Apply relevant rules to the current code/task.

Output Format

  • Provide actionable recommendations.
  • When possible, cite the upstream rule section heading (and/or a short identifier) so the change can be traced to the upstream guidance.

Quality Checks

  • Do not propose micro-optimizations if there are obvious waterfalls or bundle bloat issues.
  • Prefer changes that are correct-by-construction (avoid flaky memoization patterns).
  • Be explicit about trade-offs and when not to apply a rule.

Offline Snapshot (Optional)

If you want an offline copy of the full rule set, install the upstream repo separately and link it into your Claude Code skills directory.

See skills/vercel-react-best-practices/README.md for an example.