Multi-strategy router for React supporting declarative, data, and framework modes with routing, data loading, SSR, and SPA architectures.
Ships in hairyf-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The skill is based on React Router v7.13.0, generated at 2026-01-31.
React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. You can use it maximally as a React framework or as minimally as you want. It supports three modes: Declarative (basic routing), Data (with loaders/actions), and Framework (full-featured with type safety and code splitting).
| Topic | Description | Reference |
|---|---|---|
| Modes | Three usage modes: Framework, Data, and Declarative - choosing the right approach | core-modes |
| Routing | Route configuration, path patterns, nested routes, layout routes, and route matching | core-routing |
| Navigation | Navigation components and hooks: Link, NavLink, Form, useNavigate, redirect | core-navigation |
| Data Loading | Loading data with loaders and clientLoaders in route modules | core-data-loading |
| Actions | Data mutations with actions and clientActions in route modules | core-actions |
| Route Module | Route module API: component, loader, action, error boundary, headers, meta, and more | core-route-module |
| Hooks | Essential React Router hooks: useNavigation, useLocation, useParams, useMatches, and more | core-hooks |
| Topic | Description | Reference |
|---|---|---|
| Fetchers | Using fetchers for concurrent data interactions without navigation | features-fetchers |
| Error Handling | Error boundaries, error handling, and error responses | features-error-handling |
| Middleware | Middleware for authentication, logging, and request processing | features-middleware |
| Topic | Description | Reference |
|---|---|---|
| Form Validation | Form validation patterns, error handling, and user feedback | features-form-validation |
| File Uploads | Handling file uploads with multipart form data and file storage | features-file-uploads |
| Search Params | Working with URL search parameters using useSearchParams hook | features-search-params |
| Topic | Description | Reference |
|---|---|---|
| View Transitions | Smooth page transitions using View Transitions API | features-view-transitions |
| Navigation Blocking | Blocking navigation with useBlocker for unsaved form data | features-navigation-blocking |
| Topic | Description | Reference |
|---|---|---|
| Type Safety | Type safety with Route types, automatic type inference, and type generation | best-practices-type-safety |
| Topic | Description | Reference |
|---|---|---|
| Streaming | Streaming with Suspense, deferring non-critical data, and React Suspense integration | advanced-streaming |
| Pre-rendering | Pre-rendering static pages at build time for faster page loads | advanced-pre-rendering |
| SPA Mode | Single Page App mode with SSR disabled and client-side routing | advanced-spa-mode |
GENERATION.md (opens in a new tab)references/advanced-pre-rendering.md (opens in a new tab)references/advanced-spa-mode.md (opens in a new tab)references/advanced-streaming.md (opens in a new tab)references/best-practices-type-safety.md (opens in a new tab)references/core-actions.md (opens in a new tab)references/core-data-loading.md (opens in a new tab)references/core-hooks.md (opens in a new tab)references/core-modes.md (opens in a new tab)references/core-navigation.md (opens in a new tab)references/core-route-module.md (opens in a new tab)references/core-routing.md (opens in a new tab)references/features-error-handling.md (opens in a new tab)references/features-fetchers.md (opens in a new tab)references/features-file-uploads.md (opens in a new tab)references/features-form-validation.md (opens in a new tab)references/features-middleware.md (opens in a new tab)references/features-navigation-blocking.md (opens in a new tab)references/features-search-params.md (opens in a new tab)references/features-view-transitions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/hairyf-skills-4:react-routerfrom hairyf-skills-4
hairyf-skills-4@cascade-code-languages-misc-1 is listed by joshuarweaver/cascade-code-languages-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin hairyf-skills-480 skills in this plugin
/animeAnime.js v4 - A fast, multipurpose and lightweight JavaScript animation library. Use when creating animations, timelines, draggable interactions, SVG animations, text effects, or working with CSS properties, DOM attributes and JavaScript objects./antfuAnthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences./arch-nuxtVitesse-style Nuxt 4 starter with Vite, UnoCSS, Pinia, VueUse, PWA. Use when scaffolding or maintaining a Nuxt app with this stack./arch-nuxt-liteVitesse Lite — lightweight Vite + Vue 3 SPA with file-based routing, UnoCSS, VueUse, Vitest. Use when scaffolding or maintaining a simple Vue SPA with this stack./arch-nuxt-module-builderBuild and ship Nuxt modules with @nuxt/module-builder. Use when scaffolding, building, or maintaining a Nuxt module (unbuild preset, types, runtime)./arch-tsdownTypeScript library starter using tsdown. Use when scaffolding or maintaining a TS/ESM library with tsdown, pnpm, Vitest, and npm Trusted Publisher.Other plugins' skills for the same job