React Router Development
remix-run/react-router
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.
Audit upstream React Router framework test changes and manually select tests to adapt into this repository without overwriting the checked-in Rsbuild corpus.
$ npx skills add rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rstackjs/rsbuild-plugin-react-router react-router-upstream-tests --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/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .claude/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .claude/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-testsType 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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rstackjs/rsbuild-plugin-react-router react-router-upstream-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .agents/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .agents/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rstackjs/rsbuild-plugin-react-router react-router-upstream-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .cursor/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .cursor/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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/rstackjs/rsbuild-plugin-react-router.git --path .codex/skills/react-router-upstream-tests--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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rstackjs/rsbuild-plugin-react-router react-router-upstream-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .gemini/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .gemini/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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 rstackjs/rsbuild-plugin-react-router react-router-upstream-testsInstalls 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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .github/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .github/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rstackjs/rsbuild-plugin-react-router react-router-upstream-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rstackjs/rsbuild-plugin-react-router.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/react-router-upstream-tests .opencode/skills/react-router-upstream-tests && 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-upstream-tests" agent skill from https://github.com/rstackjs/rsbuild-plugin-react-router/tree/main/.codex/skills/react-router-upstream-tests into .opencode/skills/react-router-upstream-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-router-upstream-tests", 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-upstream-testsAudit upstream React Router framework test changes and manually select tests to adapt into this repository without overwriting the checked-in Rsbuild corpus.
React Router Upstream Tests is an agent skill from rstackjs/rsbuild-plugin-react-router. Audit upstream React Router framework test changes and manually select tests to adapt into this repository without overwriting the checked-in Rsbuild corpus.
Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with React Router and React. The repository describes itself as: React Router Framework Mode adapter for Rsbuild. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a09dd6a. 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:
pnpmgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm and git, which can reach the network depending on how they are called.
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 Upstream Tests loads about 719 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 263 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 rstackjs/rsbuild-plugin-react-router at commit a09dd6a, republished under its MIT licence (© rstackjs). 263 words, ~719 tokens.
.claude/skills/react-router-upstream-tests/SKILL.md (or your agent's skills folder).Use this skill when checking for new or changed upstream React Router framework tests, reviewing the corpus checkpoint, or manually importing test coverage.
tests/react-router-framework/UPSTREAM.json records the upstream repository,
last reviewed commit, review time, and relevant source directories.tests/react-router-framework/ is repository-owned and authoritative. It is
intentionally adapted for Rsbuild and must never be overwritten wholesale.scripts/check-react-router-framework-upstream.mjs is a read-only audit. It
reports upstream changes but never copies files or updates the checkpoint.Inspect the current checkpoint and confirm the local React Router clone:
cat tests/react-router-framework/UPSTREAM.json
git -C /path/to/react-router status --short --branchCompare the reviewed commit with the desired upstream target:
pnpm check:react-router-framework-upstream -- \
--source=/path/to/react-router \
--target=HEADReview every reported directory containing added files and every added, modified, deleted, or renamed file. Select only tests that add relevant compatibility coverage.
Copy selected tests manually and adapt them to the existing Rsbuild harness:
rsbuild.config.ts, not Vite configuration;tests/react-router-framework/integration/helpers;Run the narrow imported tests first, then the relevant framework gate:
pnpm build
RR_FRAMEWORK_MAX_WORKERS=2 pnpm exec playwright test \
--config tests/react-router-framework/integration/playwright.config.ts \
path/to/imported-test.ts --workers=2 --max-failures=1 --retries=0
pnpm test:react-router-framework:failfastAfter review and validation, update lastReviewedRef and reviewedAt in
UPSTREAM.json in the same commit as the selected test adaptations.
© rstackjs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .codex/skills/react-router-upstream-tests of rstackjs/rsbuild-plugin-react-router.
Open the folder on GitHubat commit a09dd6a
React Router Upstream Tests 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 Upstream Tests this skillrstackjs/rsbuild-plugin-react-router | 144 | — | ~719 | Automated safety check: Pass | MIT | |
| React Router Developmentremix-run/react-router | 57k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| React Router Data Modehalo-dev/upage | 555 | 1 repos | ~927 | Automated safety check: Pass | MIT | |
| React Router Declarative Modehalo-dev/upage | 555 | 1 repos | ~842 | Automated safety check: Pass | MIT | |
| React Router Framework Modecurvenote/curvenote | 169 | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Local Testinglobehub/lobe-ui | 2.2k | — | ~2.1k | Automated safety check: Pass | MIT |
remix-run/react-router
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.
halo-dev/upage
Build React applications using React Router's data mode with createBrowserRouter and RouterProvider.
halo-dev/upage
Build React applications using React Router's declarative mode with BrowserRouter.
curvenote/curvenote
Build full-stack React applications using React Router's framework mode.
lobehub/lobe-ui
Local browser verification for the lobe-ui component library and documentation site.
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).
Works with
Audit upstream React Router framework test changes and manually select tests to adapt into this repository without overwriting the checked-in Rsbuild corpus. React Router Upstream Tests is an agent skill from rstackjs/rsbuild-plugin-react-router. Audit upstream React Router framework test changes and manually select tests to adapt into this repository without overwriting the checked-in Rsbuild corpus.
Run `npx skills add rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a claude-code`. Or copy the skill folder (.codex/skills/react-router-upstream-tests in rstackjs/rsbuild-plugin-react-router) into .claude/skills/react-router-upstream-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -a codex`. Or copy the skill folder (.codex/skills/react-router-upstream-tests in rstackjs/rsbuild-plugin-react-router) into .agents/skills/react-router-upstream-tests 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 rstackjs/rsbuild-plugin-react-router --skill react-router-upstream-tests -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-upstream-tests, .gemini/skills/react-router-upstream-tests, .github/skills/react-router-upstream-tests and .opencode/skills/react-router-upstream-tests in your project.
Going by SKILL.md and its folder, React Router Upstream Tests needs the command-line tools its instructions call (pnpm and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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 Upstream Tests is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 719 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with React Router Upstream Tests: React Router Development (remix-run/react-router, 57k stars), React Router Data Mode (halo-dev/upage, 555 stars), React Router Declarative Mode (halo-dev/upage, 555 stars) and React Router Framework Mode (curvenote/curvenote, 169 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rstackjs (a GitHub organization) maintains it in rstackjs/rsbuild-plugin-react-router, which has 144 GitHub stars. The repository was last updated on October 6, 2026.
Source: rstackjs/rsbuild-plugin-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.