01
It starts by itself
route code changes. Runs in GitHub Actions or Claude Code routine.
- ↻ route code changes
pull_request paths: app/routes/**, app/routes.ts
Route changes match the app's mode.
Install the React Router skill and make it a habit: follow https://gethabit.dev/skills/remix-run/react-router.md
2K installs57K starsMIT licenceSource on GitHub ↗

React Router
by remix-run · 2K installs
The skill
React router helps build apps in framework, data, declarative and unstable RSC modes: routes, loaders, actions, forms, fetchers, navigation, pending UI, SSR and upgrades, using the installed version's docs.
Only when you ask.
The habit
Route changes match the app's mode.
↻ Runs by itselfroute code changes
When does it start? How does it check its work? What does it remember?
Stops after the changed routes of one pull request, with 1 retry.
Detect framework, data or declarative mode from the config files, imports and route setup.
Read the matching reference, plus rsc.md for an unstable RSC app.
Read the version-matched docs under node_modules/react-router/docs and honour each file's mode marker.
Check loaders, actions, forms, params and pending UI against that mode's patterns.
Run the build and log the detected mode and any issue.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the React Router skill helps.
The skill is mode-specific, and framework or data patterns must not be applied to a declarative app.
The markdown docs shipped in the installed package, so guidance matches the installed version.
Copy the prompt at the top into your agent. It installs the skill from remix-run/react-router and sets up the habit. Or run npx skills add remix-run/react-router --skill react-router.
Yes. It is published under MIT. Habit is free too.
Install the React Router skill and make it a habit: follow https://gethabit.dev/skills/remix-run/react-router.md
All remix-run skills →More code skills →
Works in
Made by remix-run, published under MIT. Habit links to the original and never changes it. Is this your skill?