Skip to content
Back to search

agent-skills

Agent Skills for working with React Router

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/remix-run-agent-skills/badge.svg)](/listings/remix-run-agent-skills)

HTML

<a href="/listings/remix-run-agent-skills"><img src="/api/listings/remix-run-agent-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

npx skills add remix-run/agent-skills

This installs the skills into your project so your AI agent can reference them.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 67 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. > [!WARNING]
  2. > This skills repo has been archived in favor of:
  3. > 1. Putting the React Router Agent Skill directly in the [remix-run/react-router repo](https://github.com/remix-run/react-router/tree/main/.agents/skills/react-router).
  4. > 2. Publishing our official docs in `node_modules`.
  5. > 3. Making the Skill much leaner and encouraging Agents to use those docs in `node_modules` directly.
  6. >
  7. > To learn more, check out [this discussion](https://github.com/remix-run/react-router/discussions/15099) or watch [this explainer video](https://www.youtube.com/watch?v=KA9_vhZpOtk))
  8. >
  9. > To add the new skill to your project, simply run:
  10. >
  11. > `npx skills add https://github.com/remix-run/react-router --skill react-router`
  12. >
  13. > Moving forward, adding the Agent Skill will be part of React Router's CLI when initiating a new project.
  14. # Agent Skills
  15. [Agent Skills](https://agentskills.io) for building web applications.
  16. These skills teach AI coding agents how to use frameworks and libraries correctly. Instead of relying on potentially outdated training data, agents can reference these skills for accurate, up-to-date patterns.
  17. ## Installation
  18. ```sh
  19. npx skills add remix-run/agent-skills
  20. ```
  21. This installs the skills into your project so your AI agent can reference them.
  22. ## Available Skills
  23. ### [`react-router-framework-mode`](./skills/react-router-framework-mode/)
  24. Full-stack React apps using [React Router's](https://reactrouter.com) framework mode. Covers routing, loaders, actions, forms, sessions, middleware, error handling, and rendering strategies.
  25. ```sh
  26. npx skills add remix-run/agent-skills --skill react-router-framework-mode
  27. ```
  28. ### [`react-router-data-mode`](./skills/react-router-data-mode/)
  29. React apps using React Router's data mode with `createBrowserRouter` and `RouterProvider`. Covers route objects, loaders, actions, forms, pending UI, and optimistic updates without the Vite plugin.
  30. ```sh
  31. npx skills add remix-run/agent-skills --skill react-router-data-mode
  32. ```
  33. ### [`react-router-declarative-mode`](./skills/react-router-declarative-mode/)
  34. React apps using React Router's declarative mode with `BrowserRouter`. Covers JSX-based routing, navigation with Link/NavLink, and reading URL params without data loading features.
  35. ```sh
  36. npx skills add remix-run/agent-skills --skill react-router-declarative-mode
  37. ```
  38. ## How It Works
  39. Each skill contains:
  40. - **`SKILL.md`** - Main entry point with quick patterns and a reference table
  41. - **`references/`** - Detailed documentation for specific topics
  42. When your AI agent encounters a relevant task, it loads the skill and references to generate accurate code using current APIs and best practices.
  43. ## License
  44. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.