React
magnus919/agent-skills
Operate React applications as a named tool: inspect and diagnose React/Vite projects, design component boundaries and state flow, implement accessible responsive UI, and verify behavior with the…
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
$ npx skills add remix-run/react-router --skill react-router -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install remix-run/react-router react-router --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/remix-run/react-router.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/react-router .claude/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .claude/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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/remix-run/react-router/tree/main/.agents/skills/react-routerType 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 remix-run/react-router --skill react-router -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install remix-run/react-router react-router --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/react-router.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/react-router .agents/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .agents/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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 remix-run/react-router --skill react-router -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install remix-run/react-router react-router --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/react-router.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/react-router .cursor/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .cursor/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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/remix-run/react-router.git --path .agents/skills/react-router--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 remix-run/react-router --skill react-router -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install remix-run/react-router react-router --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/react-router.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/react-router .gemini/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .gemini/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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 remix-run/react-router react-routerInstalls 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 remix-run/react-router --skill react-router -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/remix-run/react-router.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/react-router .github/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .github/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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 remix-run/react-router --skill react-router -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install remix-run/react-router react-router --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/remix-run/react-router.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/react-router .opencode/skills/react-router && 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" agent skill from https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router into .opencode/skills/react-router/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router", 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-routerGuides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
React Router behaves differently per mode, so the agent works out which one an app uses before changing anything. Framework Mode shows up as `@react-router/dev` in dependencies, `react-router.config.ts`, `app/routes.ts`, route modules under `app/routes/` and exports such as `loader` and `action`. Data Mode uses `createBrowserRouter` and similar functions with `RouterProvider` and route objects. Declarative Mode uses `BrowserRouter`, `Routes` and `Route` JSX with no loaders or actions.
Each mode has its own reference file, and the unstable React Server Components variants for Framework and Data modes add a shared RSC reference, detected through signals such as `unstable_reactRouterRSC` and `"use client"` directives. Patterns from one mode are not applied to an app in another unless you are migrating. The agent is also pointed at the markdown docs shipped inside the installed package, `node_modules/react-router/docs/`, so guidance matches the installed version. Topics include routes, loaders, actions, forms, fetchers, navigation, pending UI, rendering strategies, middleware, URL params and upgrades.
Read from SKILL.md and the folder at commit 266915e. 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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 Router Development loads about 1.5k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 453 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 remix-run/react-router at commit 266915e, republished under its MIT licence (© remix-run). 453 words, ~1,525 tokens.
.claude/skills/react-router/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.React Router is mode-specific. Before changing an app, identify the mode, load the matching reference, then read the installed docs for the installed package version.
Do not apply Framework/Data patterns to a Declarative app unless you are intentionally migrating modes.
Use Framework Mode guidance when you see:
@react-router/dev in dependenciesreact-router.config.tsapp/routes.tsapp/entry.server.tsx and/or app/entry.client.tsx filesapp/routes/loader, action, clientLoader, clientAction, ErrorBoundary, meta, links, or headers./+types/...@react-router/dev/viteFramework examples usually use the default app/ directory, but check react-router.config.ts for a custom appDirectory before assuming exact paths.
Then read references/framework-mode.md.
Use Data Mode guidance when you see:
createBrowserRouter, createHashRouter, createMemoryRouter, or createStaticRouter<RouterProvider router={router}>path, children, loader, action, Component, ErrorBoundary, or lazyThen read references/data-mode.md.
Use Declarative Mode guidance when you see:
<BrowserRouter>, <HashRouter>, or <MemoryRouter><Routes> and <Route> JSX route configurationelement={<Component />}Then read references/declarative-mode.md.
React Server Components support is unstable and exists in both Framework and Data variants. Use RSC guidance when you see:
unstable_reactRouterRSC@vitejs/plugin-rscunstable_RSCRouteConfigentry.rscServerComponent, ServerErrorBoundary, ServerLayout, or ServerHydrateFallback"use client", "server-only", or "client-only"For RSC Framework, read both references/framework-mode.md and references/rsc.md.
For RSC Data, read both references/data-mode.md and references/rsc.md.
React Router ships markdown docs in the package so guidance can match the installed version:
node_modules/react-router/docs/Key docs paths:
node_modules/react-router/docs/index.md
node_modules/react-router/docs/start/
node_modules/react-router/docs/how-to/
node_modules/react-router/docs/explanation/
node_modules/react-router/docs/upgrading/When this skill references react-router/docs/..., read the matching file under node_modules/react-router/docs/. If the installed version does not include local docs, use the repo docs/ directory when working inside the React Router repository; in a consuming app, fall back to version-matched website docs.
Most docs include a mode marker near the top:
[MODES: framework, data, declarative]Only apply a doc when its mode marker matches the app mode. If a task spans modes, prefer the section or file that matches the current app.
RSC is documented primarily in:
node_modules/react-router/docs/how-to/react-server-components.mdLoad the relevant reference after identifying the mode:
| Reference | Use When |
|---|---|
references/framework-mode.md | Framework Mode or RSC Framework base behavior |
references/data-mode.md | Data Mode or RSC Data base behavior |
references/declarative-mode.md | Declarative Mode |
references/rsc.md | Any unstable RSC app |
If the user explicitly asks to switch modes, read the target mode reference plus the migration-relevant docs:
| Migration | Docs to read |
|---|---|
| Declarative → Data | react-router/docs/start/modes.md, react-router/docs/start/data/routing.md, react-router/docs/start/data/data-loading.md, react-router/docs/start/data/actions.md |
| Declarative/Data → Framework | react-router/docs/start/modes.md, react-router/docs/start/framework/routing.md, react-router/docs/start/framework/route-module.md, react-router/docs/how-to/route-module-type-safety.md |
| Framework SPA/SSR/pre-render changes | react-router/docs/start/framework/rendering.md, react-router/docs/how-to/spa.md, react-router/docs/how-to/pre-rendering.md, react-router/docs/start/framework/data-loading.md, react-router/docs/start/framework/actions.md |
| Future flags/upgrades | react-router/docs/upgrading/future.md and relevant files under react-router/docs/upgrading/ |
© remix-run, 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 4 other files (references) in .agents/skills/react-router of remix-run/react-router.
Open the folder on GitHubat commit 266915e
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in remix-run/react-router, which our catalogue first saw on October 7, 2026.
React Router Development 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 Development this skillremix-run/react-router | 57k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Reactmagnus919/agent-skills | 111 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Clerk React Patternsgeekskai/blog | 103 | 1 repos | ~1k | Automated safety check: Notes | MIT | |
| React UI State PatternsChrisWiles/claude-code-showcase | 6.1k | 7 repos | ~1.6k | Automated safety check: Pass | None | |
| React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Using Docs Kitlobehub/lobe-ui | 2.2k | — | ~2.8k | Automated safety check: Pass | MIT |
magnus919/agent-skills
Operate React applications as a named tool: inspect and diagnose React/Vite projects, design component boundaries and state flow, implement accessible responsive UI, and verify behavior with the…
geekskai/blog
React SPA auth patterns with @clerk/react for Vite/CRA - ClerkProvider setup, useAuth/useUser/useClerk hooks, React Router protected routes, custom sign-in flows.
ChrisWiles/claude-code-showcase
Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.
diet103/claude-code-infrastructure-showcase
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
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).
seasonedcc/remix-forms
Maintain element type comparison safety in remix-forms. An agent skill from seasonedcc/remix-forms.
remix-run/react-router
Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.
remix-run/react-router
Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.
remix-run/react-router
Takes a blocked community pull request in React Router and adds the missing tests, change file or docs so it can merge, working on the contributor's branch.
remix-run/react-router
Fixes a React Router bug reported in a GitHub issue end to end: fetching the issue, validating the reproduction, writing a failing test and implementing the fix on a new branch.
remix-run/react-router
Turns a React Router RFC discussion on GitHub into an implementation, weighing community feedback and settling open questions with you before coding.
Works with
Categories
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs. React Router behaves differently per mode, so the agent works out which one an app uses before changing anything.ts`, route modules under `app/routes/` and exports such as `loader` and `action`.
React Router Development fits situations like: adding a loader or action to a route in a React Router app; working out which React Router mode an existing project uses; upgrading React Router or migrating from declarative routing to framework mode; handling pending UI and form submissions with fetchers.
Run `npx skills add remix-run/react-router --skill react-router -a claude-code`. Or copy the skill folder (.agents/skills/react-router in remix-run/react-router) into .claude/skills/react-router in your project. Claude Code loads it when a task matches its description.
Run `npx skills add remix-run/react-router --skill react-router -a codex`. Or copy the skill folder (.agents/skills/react-router in remix-run/react-router) into .agents/skills/react-router 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 remix-run/react-router --skill react-router -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, .gemini/skills/react-router, .github/skills/react-router and .opencode/skills/react-router in your project.
SKILL.md names no scripts, command-line tools or credentials: React Router Development is instructions for the agent only. Our summary lists: A React Router project; the installed package's `docs/` folder is read for version-specific guidance.
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. Review the folder before installing.
React Router Development 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.5k tokens (SKILL.md is roughly 6.1k 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 4.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with React Router Development: React (magnus919/agent-skills, 111 stars), Clerk React Patterns (geekskai/blog, 103 stars), React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars) and React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
remix-run (a GitHub organization) maintains it in remix-run/react-router, which has 56,597 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 6, 2026.
Source: remix-run/react-router on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.