react-router
Build applications with React Router in Framework, Data, Declarative, and unstable RSC modes.
Skill by MuraraAllan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/muraraallan-react-router
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/react-router
What's inside
- Skill name
react-router- Description
- Build applications with React Router in Framework, Data, Declarative, and unstable RSC modes. Use when configuring routes, route modules, loaders, actions, forms, fetchers, navigation, pending UI, SSR/SPA/pre-rendering, middleware, URL params/search params, or React Router upgrades.
- License
- MIT
- Instructions
- 118 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- data-mode.md · references/
- declarative-mode.md · references/
- framework-mode.md · references/
- rsc.md · references/
SKILL.md (first lines)
# React Router
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.
## Identify the Mode
Do not apply Framework/Data patterns to a Declarative app unless you are intentionally migrating modes.
### Framework Mode
Use Framework Mode guidance when you see:
- `@react-router/dev` in dependencies
- `react-router.config.ts`
- `app/routes.ts`
- `app/entry.server.tsx` and/or `app/entry.client.tsx` files
- route modules under `app/routes/`
- route exports like `loader`, `action`, `clientLoader`, `clientAction`, `ErrorBoundary`, `meta`, `links`, or `headers`
- imports from `./+types/...`
- the React Router Vite plugin from `@react-router/dev/vite`
Framework 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`.
### Data Mode
Use Data Mode guidance when you see:
- `createBrowserRouter`, `createHashRouter`, `createMemoryRouter`, or `createStaticRouter`
- `<RouterProvider router={router}>`
- route objects with properties like `path`, `children`, `loader`, `action`, `Component`, `ErrorBoundary`, or `lazy`
- data APIs without the Framework Vite plugin
Then read `references/data-mode.md`.
### Declarative Mode
Use Declarative Mode guidance when you see:
- `<BrowserRouter>`, `<HashRouter>`, or `<MemoryRouter>`
- `<Routes>` and `<Route>` JSX route configuration
- route components passed with `element={<Component />}`
- no data router, no route module convention, and no loaders/actions
Then read `references/declarative-mode.md`.
### RSC Framework and RSC Data Modes
React Server Components support is unstable and exists in both Framework and Data variants. Use RSC guidance when you see:
- `unstable_reactRouterRSC`
- `@vitejs/plugin-rsc`
- `unstable_RSCRouteConfig`
- RSC entry files such as `entry.rsc`
- `ServerComponent`, `ServerErrorBoundary`, `ServerLayout`, or `ServerHydrateFallback`
- React directives or boundary packages such as `"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`.
## Use Installed Docs as Source of Truth
React Router ships markdown docs in the package so guidance can match the installed version:
```txt
node_modules/react-router/docs/
```
Key docs paths:
```txt
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:
```txt
[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:
```txt
node_modules/react-router/docs/how-to/react-server-components.md
```
## Skill References
Load 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 |
## Mode Migration Doc Index
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/` |From MuraraAllan/codebridge-harness, MIT.
More from MuraraAllan/codebridge-harness
- 0.519score
codebridge-harness
MuraraAllan
Run and maintain the Codebridge React Router agent-hook harness.
SkillBFreshness: BClaude Code +9 - 0.516score
codebridge-harness
MuraraAllan
Primary entrypoint for this workspace.
SkillBFreshness: BClaude Code +9 - 0.513score
react-design-principle
MuraraAllan
Use when a React task involves visual design, accessibility, responsiveness, or frontend performance.
SkillBFreshness: BClaude Code +9 - 0.513score
react-developer-principle
MuraraAllan
Use when a React task involves component architecture, composition, specialization, state, or abstractions.
SkillBFreshness: BClaude Code +9 - 0.513score
react-principles
MuraraAllan
Use when selecting React design, development, or UX principles for a task.
SkillBFreshness: BClaude Code +9 - 0.513score
react-ux-principle
MuraraAllan
Use when a React task involves navigation, interaction feedback, user attention, or user journeys.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 18, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.318score
react-router
MuraraAllan
Build applications with React Router in Framework, Data, Declarative, and unstable RSC modes.
SkillBFreshness: BClaude Code +9 - 0.318score
react-router
MuraraAllan
Build applications with React Router in Framework, Data, Declarative, and unstable RSC modes.
SkillBFreshness: BClaude Code +9 - 0.315score
react-router
MuraraAllan
Build applications with React Router in Framework, Data, Declarative, and unstable RSC modes.
SkillBFreshness: BClaude Code +9
More from MuraraAllan
- 0.519score
codebridge-harness
MuraraAllan
Run and maintain the Codebridge React Router agent-hook harness.
SkillBFreshness: BClaude Code +9 - 0.516score
codebridge-harness
MuraraAllan
Primary entrypoint for this workspace.
SkillBFreshness: BClaude Code +9 - 0.513score
react-design-principle
MuraraAllan
Use when a React task involves visual design, accessibility, responsiveness, or frontend performance.
SkillBFreshness: BClaude Code +9 - 0.513score
react-developer-principle
MuraraAllan
Use when a React task involves component architecture, composition, specialization, state, or abstractions.
SkillBFreshness: BClaude Code +9 - 0.513score
react-principles
MuraraAllan
Use when selecting React design, development, or UX principles for a task.
SkillBFreshness: BClaude Code +9 - 0.513score
react-ux-principle
MuraraAllan
Use when a React task involves navigation, interaction feedback, user attention, or user journeys.
SkillBFreshness: BClaude Code +9
Cite this page
react-router skill. Agent Mart. https://agentmart.dev/skills/muraraallan-react-router (last updated 2026-10-24)