Vercel React Best Practices
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
Vercel React Best Practices workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2 --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .claude/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .claude/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2 --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .agents/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .agents/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2 --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .cursor/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .cursor/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/diegosouzapw/awesome-omni-skills.git --path skills_omni/react-best-practices-v2--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2 --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .gemini/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .gemini/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .github/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .github/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills react-best-practices-v2 --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills_omni/react-best-practices-v2 .opencode/skills/react-best-practices-v2 && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "react-best-practices-v2" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/react-best-practices-v2 into .opencode/skills/react-best-practices-v2/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices-v2", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
react-best-practices-v2Vercel React Best Practices workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
React Best Practices V2 is an agent skill from diegosouzapw/awesome-omni-skills. Vercel React Best Practices workflow skill. Use this skill when the user needs a practical performance optimization workflow for React and Next.js applications, especially when reviewing rendering strategy, caching behavior, bundle pressure, asset loading, or production measurement, and the operator should preserve provenance and use the packaged runbook, guardrails, and inspection script before merging or handing off.
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 72 other files, including scripts, reference files and assets (for example `AGENTS.md`, `ATTRIBUTION.md` and `OMNI_ENHANCED.json`).
It sits in Frontend & Design, covering React components, Runbooks and postmortems and Caching. It works with Next.js, React and Vercel. The repository describes itself as: Public repository of AI coding skills, curated improved best-practice skills, and runtime surfaces for CLI, API, MCP, and A2A. The licence is MIT.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c3af004. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
React Best Practices V2 loads about 3.5k tokens when it runs, and up to ~5.9k if it reads all its reference files. Until then it costs about 112 tokens; SKILL.md has 1,624 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from diegosouzapw/awesome-omni-skills at commit c3af004, republished under its MIT licence (© diegosouzapw). 1,624 words, ~3,503 tokens.
.claude/skills/react-best-practices-v2/SKILL.md (or your agent's skills folder). This skill also uses 68 other files; get the full folder from GitHub.This skill curates the upstream react-best-practices workflow into an operator-ready execution path for React and Next.js performance work.
Keep the original intent: improve performance without cargo-cult optimizations, preserve provenance, and stay aligned with modern React and Next.js guidance. The upgraded workflow adds sharper activation boundaries, App Router vs Pages Router decision points, measurable validation, and compact local support files that help operators inspect a repository and document safe remediation.
Use this skill for performance-sensitive work in React or Next.js when the task involves one or more of these concerns:
Ask one clarifying question before changing code if any of these are unclear:
Activate this skill when the request is primarily about React or Next.js performance behavior, rendering strategy, loading behavior, or cache-aware delivery.
use client boundaries or deciding what should stay server-sideIf the request drifts into testing strategy, accessibility, security hardening, or deployment platform design, hand off to a more specific skill after capturing any performance findings already confirmed.
| Situation | Start here | Why it matters |
|---|---|---|
| You do not know the routing model | Inspect for app/ vs pages/, then open references/nextjs-performance-guardrails.md | App Router and Pages Router have different rendering and caching defaults |
| Existing repo needs a quick read-only scan | Run bash scripts/inspect-nextjs-performance.sh <repo-root> | Surfaces likely hotspots before deep manual review |
| User reports slow first load or high JS cost | Check use client spread, top-level imports, images, fonts, and scripts | Large client boundaries and heavy top-level imports are common regressions |
| User reports stale production data | Review cache expectation, revalidation path, and route rendering mode | Many fixes fail because freshness intent was never stated clearly |
| User reports hydration mismatch | Check browser-only APIs, non-deterministic values, and client/server markup divergence | Hydration bugs often appear after server-first refactors |
| You need a concrete review flow | Use examples/performance-review-runbook.md | Gives scenario-based steps and expected observations |
| You need a quick decision matrix | Use references/nextjs-performance-guardrails.md | Maps symptoms to safe checks and likely primitives |
Confirm the target symptom and success metric.
/products/[id], lower client JS on the home route, reduced CLS from font swaps, correct freshness for dashboard data.Identify execution context.
Capture the intended rendering and freshness model before editing.
Run the read-only inspection first.
bash scripts/inspect-nextjs-performance.sh .Review architecture before micro-optimizing.
use client only where interactivity, browser APIs, or client-only hooks are required.Check first-party optimization primitives.
next/image, correct sizing, and careful priority usage.next/font; reduce unnecessary variants.Only then consider React-specific render tuning.
memo or useMemo only when measurement or code structure shows a real payoff.Validate safely.
Document deploy and rollback notes.
Likely causes:
app/layout.*, route entry files, or shared providersChecks:
use client usage in layouts, templates, and top-level pagesnext/image with correct sizingnext/fontSafe remediations:
<img> with next/image where appropriateLikely causes:
Checks:
Safe remediations:
Likely causes:
Checks:
window, document, storage APIs, or time-based rendering in shared componentsSafe remediations:
Likely causes:
Checks:
Safe remediations:
Likely causes:
use clientChecks:
Safe remediations:
Likely causes:
Checks:
Safe remediations:
next/font and reduce variantsUse examples/performance-review-runbook.md, scenario 1.
Expected pattern:
app/products/[id]/page.* or shared layout became client-heavyUse examples/performance-review-runbook.md, scenario 2.
Expected pattern:
references/nextjs-performance-guardrails.md — compact operator matrix for routing mode, cache intent, optimization primitives, and Core Web Vitals interpretation.Hand off when the primary task becomes:
This skill preserves the identity and intent of the upstream community skill while improving its execution quality for operators. Keep provenance explicit in review notes when using imported upstream material or adapting rule guidance into repository-specific remediation.
© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 68 other files (scripts, references, assets) in skills_omni/react-best-practices-v2 of diegosouzapw/awesome-omni-skills.
Open the folder on GitHubat commit c3af004
React Best Practices V2 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| React Best Practices V2 this skilldiegosouzapw/awesome-omni-skills | 159 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Vercel React Best Practicessanity-io/sanity | 6.4k | 130 repos | ~1.6k | Automated safety check: Pass | MIT | |
| React Best Practicesryokun6/ryos | 1.3k | — | ~2k | Automated safety check: Pass | MIT | |
| Vercel React Best Practicesgambitph/Stackable | 350 | — | ~2k | Automated safety check: Pass | MIT | |
| React Best Practicesmajiayu000/spellbook | 286 | — | ~1.1k | Automated safety check: Pass | MIT | |
| React Best Practicesbenchflow-ai/skillsbench | 1.8k | — | ~1.3k | Automated safety check: Pass | MIT |
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
ryokun6/ryos
React performance optimization guidelines from Vercel Engineering (vercel-labs/agent-skills).
gambitph/Stackable
React performance optimization guidelines from Vercel Engineering.
majiayu000/spellbook
React and Next.js performance playbook distilled from Vercel Engineering guidance.
benchflow-ai/skillsbench
IMPORTANT: Any change to React or Next.js code must read through this skill first.
sundial-org/awesome-openclaw-skills
Expert UI/UX and React performance auditor (PinakBot persona).
diegosouzapw/awesome-omni-skills
Content Creator workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Helm Chart Scaffolding workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
📝 Prompt Library workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Protocol Reverse Engineering workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
Categories
Vercel React Best Practices workflow skill. An agent skill from diegosouzapw/awesome-omni-skills. React Best Practices V2 is an agent skill from diegosouzapw/awesome-omni-skills. Vercel React Best Practices workflow skill.
React Best Practices V2 fits situations like: the user needs a practical performance optimization workflow for React and Next.js applications; especially when reviewing rendering strategy; caching behavior; bundle pressure.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a claude-code`. Or copy the skill folder (skills_omni/react-best-practices-v2 in diegosouzapw/awesome-omni-skills) into .claude/skills/react-best-practices-v2 in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a codex`. Or copy the skill folder (skills_omni/react-best-practices-v2 in diegosouzapw/awesome-omni-skills) into .agents/skills/react-best-practices-v2 in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diegosouzapw/awesome-omni-skills --skill react-best-practices-v2 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-best-practices-v2, .gemini/skills/react-best-practices-v2, .github/skills/react-best-practices-v2 and .opencode/skills/react-best-practices-v2 in your project.
Going by SKILL.md and its folder, React Best Practices V2 needs the command-line tools its instructions call (bash).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
React Best Practices V2 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with React Best Practices V2: Vercel React Best Practices (sanity-io/sanity, 6.4k stars), React Best Practices (ryokun6/ryos, 1.3k stars), Vercel React Best Practices (gambitph/Stackable, 350 stars) and React Best Practices (majiayu000/spellbook, 286 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diegosouzapw (a GitHub user) maintains it in diegosouzapw/awesome-omni-skills, which has 159 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on July 8, 2026.
Source: diegosouzapw/awesome-omni-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.