React Best Practices
**Version 1.0.0**
Vercel Engineering
January 2026
> **Note:**
> This document is mainly for agents and LLMs to follow when maintaining,
> generating, or refactoring React and Next.js codebases
Steady5 mentions in 2 weeks
3 projects use a version of this
188k12d agoReviewMountCreate a free account to mount
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.
Documentation Guidelines
## Where a Document Goes
- **Published pages** live in `docs/home/`, `docs/platform/` and `docs/integrations/`. GitBook publishes them at agpt.co/docs, and a page appears on the site once that folder
Steady5 mentions in 2 weeks
No other project uses it yet
188k12d agoReviewMountCreate a free account to mount
only if it affects real use: a published checkpoint, a default config, or a documented workflow. For example, an exception when `n_groups > 1` in a model whose published checkpoints
No other project uses it yet
169k9mo agoReviewMountCreate a free account to mount
Use only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do not use for implementation-only requests, diagnosis without review intent, frontend code, or backend code outside `api/`.
4 projects use a version of this
162k6d agoReviewMountCreate a free account to mount
Use when writing, changing, or reviewing Cucumber and Playwright tests under `e2e/`, including feature files, step definitions, support code, scenario tags, locators, and assertions. Do not use for Vitest, React Testing Library, backend tests, or generic browser automation outside the E2E suite.
No other project uses it yet
162k6d agoReviewMountCreate a free account to mount
testing) when adding or moving unit tests.
## Architecture And Boundaries
Read all backend architecture documentation before modifying backend code:
- [Backend architecture][architecture]
- [Repositories][repositories]
- [SQLAlchemy][sqlalchemy]
- [Database schema][db-schema
No other project uses it yet
162k6d agoReviewMountCreate a free account to mount
commands`) own state. A plugin's `build()` closes over its own cache or loaded document; nothing outside a plugin reaches into another plugin's internals. Outside a plugin folder, import
No other project uses it yet
162k6d agoReviewMountCreate a free account to mount
package's `uv` environment and Pydantic v2 APIs. Inspect current dependency source or official documentation before integrating, implementing, or mocking an API whose runtime contract is not established locally.
## Tests
162k6d agoReviewMountCreate a free account to mount
when designing, styling, building, reviewing, or refactoring user interfaces in this workspace.
For Antigravity documentation on skills, rules, and customization, see:
- [Antigravity Documentation](https://antigravity.google)
- [Agent Skills & Rules Specification
Steady8 mentions in 2 weeks
No other project uses it yet
156k12d agoReviewMountCreate a free account to mount
UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 80 searchable styles (51 active), 194 product palettes and reasoning profiles, 74 font pairings, 141 UX guidelines, 105 icons, 20 GSAP presets, 25 chart types, and 23 stacks.
designing, styling, building, reviewing, or refactoring user interfaces in this workspace.
For GitHub Copilot documentation on agent skills and customization, see:
- [About agent skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)
- [Creating agent skills
Steady8 mentions in 2 weeks
No other project uses it yet
156k12d agoReviewMountCreate a free account to mount
Add a community extension to the Spec Kit catalog from a GitHub issue submission. USE FOR: processing extension submission issues, validating catalog entries, updating catalog.community.json and docs/community/extensions.md, creating PRs. DO NOT USE FOR: creating new extensions from scratch, or first-party extension work.
Coolinginterest down 25% this month
No other project uses it yet
153k7d agoReviewMountCreate a free account to mount
Global development guidelines for the LangChain monorepo
This document provides context to understand the LangChain Python project and assist with development.
## Corridor security analysis
When Corridor's `analyzePlan` tool
No other project uses it yet
150k2mo agoReviewMountCreate a free account to mount
crates for Next.js SWC bindings
├── test/ # All test suites
├── examples/ # Example Next.js applications
├── docs/ # Documentation
└── scripts/ # Build and maintenance scripts
```
### Core Package: `packages/next`
The main Next.js framework lives in `packages/next
No other project uses it yet
144k7mo agoReviewMountCreate a free account to mount
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new `errors/<slug>.mdx` page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification against canonical docs, and Vercel technical writing style.
144k7mo agoReviewMountCreate a free account to mount
Maintain @next/rspack-core and @next/rspack-binding packages. Use when editing rspack/package.json, rspack/crates/binding/Cargo.toml, rspack/rust-toolchain.toml, or packages/next-rspack/package.json. Covers upgrading @rspack/core npm version, rspack_* crate versions, Rust toolchain version, building and linking for local testing, and NEXT_RSPACK environment variable usage. Does NOT apply to root rust-toolchain.toml (that's for Turbopack).
144k7mo agoReviewMountCreate a free account to mount
Plain text files in a repository that tell a coding agent how the project works: commands to run, conventions to follow and things to avoid. CLAUDE.md, AGENTS.md, cursor rules and skills are the common kinds.
CLAUDE.md or AGENTS.md?
CLAUDE.md is read by Claude Code. AGENTS.md is an open format that Codex, Cursor and other agents read. Many projects keep one and point the other at it.
What is a skill?
A folder with a SKILL.md that describes one capability, such as filling PDFs or reviewing code. The agent loads it only when the task calls for it.
Can I search my own team's files too?
Your agents already can, over MCP, limited to the files you're allowed to read. Searching them from this page is coming.