Next Best Practices
vercel-labs/openreview
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Build full-stack React applications using React Router's framework mode.
$ npx skills add curvenote/curvenote --skill react-router-framework-mode -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install curvenote/curvenote react-router-framework-mode --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/curvenote/curvenote.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .claude/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .claude/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-modeType 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 curvenote/curvenote --skill react-router-framework-mode -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install curvenote/curvenote react-router-framework-mode --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curvenote/curvenote.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .agents/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .agents/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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 curvenote/curvenote --skill react-router-framework-mode -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install curvenote/curvenote react-router-framework-mode --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curvenote/curvenote.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .cursor/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .cursor/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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/curvenote/curvenote.git --path .agents/skills/react-router-framework-mode--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 curvenote/curvenote --skill react-router-framework-mode -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install curvenote/curvenote react-router-framework-mode --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curvenote/curvenote.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .gemini/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .gemini/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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 curvenote/curvenote react-router-framework-modeInstalls 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 curvenote/curvenote --skill react-router-framework-mode -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/curvenote/curvenote.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .github/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .github/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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 curvenote/curvenote --skill react-router-framework-mode -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install curvenote/curvenote react-router-framework-mode --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/curvenote/curvenote.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/react-router-framework-mode .opencode/skills/react-router-framework-mode && 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-router-framework-mode" agent skill from https://github.com/curvenote/curvenote/tree/main/.agents/skills/react-router-framework-mode into .opencode/skills/react-router-framework-mode/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-framework-mode", 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-router-framework-modeBuild full-stack React applications using React Router's framework mode.
React Router Framework Mode is an agent skill from curvenote/curvenote. Build full-stack React applications using React Router's framework mode. Use when configuring routes, working with loaders and actions, handling forms, handling navigation, pending/optimistic UI, error boundaries, or working with react-router.config.ts or other react router conventions.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files (for example `references/actions.md`, `references/data-loading.md` and `references/error-handling.md`).
It sits in Development, covering Error handling. It works with React Router and React. The repository describes itself as: Create, edit, share, and publish scientific and technical documents. The licence is MIT.
Read from SKILL.md and the folder at commit 91febfe. 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.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
reactrouter.comFrom 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 Router Framework Mode loads about 1.1k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 287 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); files beside SKILL.md are not scanned.
The full file from curvenote/curvenote at commit 91febfe, republished under its MIT licence (© curvenote). 287 words, ~1,150 tokens.
.claude/skills/react-router-framework-mode/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.Framework mode is React Router's full-stack development experience with file-based routing, server-side, client-side, and static rendering strategies, data loading and mutations, and type-safe route module API.
app/routes.ts)loader or clientLoaderaction or clientAction<Link>, <NavLink>, <Form>, redirect, and useNavigatereact-router.config.ts)Load the relevant reference for detailed guidance on the specific API/concept:
| Reference | Use When |
|---|---|
references/routing.md | Configuring routes, nested routes, dynamic segments |
references/route-modules.md | Understanding all route module exports |
references/special-files.md | Customizing root.tsx, adding global nav/footer, fonts |
references/data-loading.md | Loading data with loaders, streaming, caching |
references/actions.md | Handling forms, mutations, validation |
references/navigation.md | Links, programmatic navigation, redirects |
references/pending-ui.md | Loading states, optimistic UI |
references/error-handling.md | Error boundaries, error reporting |
references/rendering-strategies.md | SSR vs SPA vs pre-rendering configuration |
references/middleware.md | Adding middleware (requires v7.9.0+) |
references/sessions.md | Cookie sessions, authentication, protected routes |
references/type-safety.md | Auto-generated route types, type imports, type safety |
Some features require specific React Router versions. Always verify before implementing:
npm list react-router| Feature | Minimum Version | Notes |
|---|---|---|
| Middleware | 7.9.0+ | Requires v8_middleware flag |
| Core framework features | 7.0.0+ | loaders, actions, Form, etc. |
These are the most important patterns to follow. Load the relevant reference for full details.
Search forms - use <Form method="get">, NOT onSubmit with setSearchParams:
// ✅ Correct
<Form method="get">
<input name="q" />
</Form>
// ❌ Wrong - don't manually handle search params
<form onSubmit={(e) => { e.preventDefault(); setSearchParams(...) }}>Inline mutations - use useFetcher, NOT <Form> (which causes page navigation):
const fetcher = useFetcher();
const optimistic = fetcher.formData
? fetcher.formData.get("favorite") === "true"
: isFavorite;
<fetcher.Form method="post" action={`/favorites/${id}`}>
<button>{optimistic ? "★" : "☆"}</button>
</fetcher.Form>;See references/actions.md for complete patterns.
Global UI belongs in root.tsx - don't create separate layout files for nav/footer:
// app/root.tsx - add navigation, footer, providers here
export default function App() {
return (
<div>
<nav>...</nav>
<Outlet />
<footer>...</footer>
</div>
);
}Use nested routes for section-specific layouts. See references/routing.md.
meta uses loaderData, not deprecated data:
// ✅ Correct
export function meta({ loaderData }: Route.MetaArgs) { ... }
// ❌ Wrong - `data` is deprecated
export function meta({ data }: Route.MetaArgs) { ... }See references/route-modules.md for all exports.
If anything related to React Router is not covered in these references, you can search the official documentation:
© curvenote, 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 12 other files (references) in .agents/skills/react-router-framework-mode of curvenote/curvenote.
Open the folder on GitHubat commit 91febfe
We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in curvenote/curvenote, which our catalogue first saw on October 7, 2026.
React Router Framework Mode 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 Router Framework Mode this skillcurvenote/curvenote | 169 | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Next Best Practicesvercel-labs/openreview | 1.7k | 18 repos | ~1k | Automated safety check: Pass | None | |
| Data Client Reactreactive/data-client | 2k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Using Docs Kitlobehub/lobe-ui | 2.2k | — | ~2.8k | Automated safety check: Pass | MIT | |
| React Fetch Cache Patternspproenca/dot-skills | 214 | — | ~3k | Automated safety check: Pass | MIT | |
| Error Boundaryvibeeval/vibecosystem | 531 | — | ~4.5k | Automated safety check: Pass | MIT |
vercel-labs/openreview
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
reactive/data-client
Use @data-client/react hooks for data fetching, mutations, and rendering - useSuspense, useFetch, useQuery, useCache, useLive, useDLE, useSubscription, useController, DataProvider, AsyncBoundary…
lobehub/lobe-ui
Set up and author a documentation site with @lobehub/docs-kit (the lobedocs CLI, React Router + Vite static docs used by ui.lobehub.com).
pproenca/dot-skills
React data-fetching patterns at scale — recommender carousels, infinite feeds, pages with many parallel fetches, dashboards.
vibeeval/vibecosystem
React error boundary hierarchy, fallback UI patterns, offline-first fallback, retry mechanisms, and graceful degradation.
seasonedcc/remix-forms
Maintain element type comparison safety in remix-forms. An agent skill from seasonedcc/remix-forms.
curvenote/curvenote
A skill your agent uses when doing ANY task involving Supabase.
curvenote/curvenote
Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).
curvenote/curvenote
Prisma Client API reference covering model queries, filters, operators, and client methods.
curvenote/curvenote
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
curvenote/curvenote
Set up a new Prisma Postgres database and connect it to a local project using the Management API.
curvenote/curvenote
Prisma CLI commands reference covering all available commands, options, and usage patterns.
Works with
Categories
Build full-stack React applications using React Router's framework mode. React Router Framework Mode is an agent skill from curvenote/curvenote. Build full-stack React applications using React Router's framework mode.
React Router Framework Mode fits situations like: configuring routes; working with loaders and actions; handling navigation; pending/optimistic UI.
Run `npx skills add curvenote/curvenote --skill react-router-framework-mode -a claude-code`. Or copy the skill folder (.agents/skills/react-router-framework-mode in curvenote/curvenote) into .claude/skills/react-router-framework-mode in your project. Claude Code loads it when a task matches its description.
Run `npx skills add curvenote/curvenote --skill react-router-framework-mode -a codex`. Or copy the skill folder (.agents/skills/react-router-framework-mode in curvenote/curvenote) into .agents/skills/react-router-framework-mode 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 curvenote/curvenote --skill react-router-framework-mode -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-router-framework-mode, .gemini/skills/react-router-framework-mode, .github/skills/react-router-framework-mode and .opencode/skills/react-router-framework-mode in your project.
Going by SKILL.md and its folder, React Router Framework Mode needs the command-line tools its instructions call (npm).
SKILL.md names 1 domain. As links in the text: reactrouter.com. 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. Review the folder before installing.
React Router Framework Mode is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.6k 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 20k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with React Router Framework Mode: Next Best Practices (vercel-labs/openreview, 1.7k stars), Data Client React (reactive/data-client, 2k stars), Using Docs Kit (lobehub/lobe-ui, 2.2k stars) and React Fetch Cache Patterns (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
curvenote (a GitHub organization) maintains it in curvenote/curvenote, which has 169 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 28, 2026.
Source: curvenote/curvenote on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.