react-router 8.x
Use react-router ^8.0.0 APIs correctly, including v8 import boundaries, pure path helpers, and the parts that require a React or framework runtime.
- For
react-router@8.3.1- Verified
- 2026-09-08, 2 examples executed
- Package
@modootoday/pmcp-react-router@8.0.0
What it covers
- Version and module boundary
- Pure path helpers
- `generatePath`
- `matchPath`
- React-bound APIs
- `useRoutes`
- `createBrowserRouter`
- v8 migration traps
- Framework and server boundaries
- Not covered
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from "node:assert/strict";
import { generatePath } from "react-router";
assert.equal(generatePath("/users/:id", { id: "123" }), "/users/123");
assert.equal(generatePath("/files/:name", { name: "a b" }), "/files/a%20b");
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-react-router
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.