Skip to content
C

clerk-react-router-patterns

React Router v7/v8 patterns with Clerk

by clerkFree

#4418in AI Skills
0In stores

Description

clerk-react-router-patterns is an agent skill from the clerk/skills collection, listed on skills.sh. It gives an AI agent patterns for using…

Highlights

  • Auth in loaders, actions and protected routes
  • rootAuthLoader and clerkMiddleware patterns
  • Server-rendered user data and sessions
  • Supports React Router v7.9+ and v8

Ratings & Reviews

No ratings yet

Be the first to rate clerk-react-router-patterns.

People also visit

C

clerk-react-patterns

React SPA auth patterns with @clerk/react for Vite/CRA

AI Skills
Get
C

clerk-tanstack-patterns

TanStack React Start auth patterns with @clerk/tanstack-react-start

AI Skills
Get
C

clerk-nextjs-patterns

Advanced Next.js patterns for authentication, middleware, Server Actions

AI Skills
Get
C

clerk-astro-patterns

Astro patterns with Clerk

AI Skills
Get
C

clerk-nuxt-patterns

Nuxt 3 auth patterns with @clerk/nuxt

AI Skills
Get
A

auth0-react

Adding Auth0 login, logout, protected routes, or user sessions to a React SPA

AI Skills
Get

clerk-react-router-patterns FAQ

What does the clerk-react-router-patterns skill do?

It helps an AI agent add Clerk authentication to a React Router app, following the patterns the skill lists.

How do I install it?

Run: npx skills add https://github.com/clerk/skills --skill clerk-react-router-patterns

Which versions does it support?

React Router v7.9 and later, and v8, with @clerk/react-router version 3.5 or later.

Does v7 differ from v8?

Yes. The skill says the configuration differs, so check the installed react-router major version before scaffolding.

What can it help with?

Auth in loaders and actions, protected routes and redirects, SSR user data and sessions, and organization switching.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best clerk-react-router-patterns alternatives?

Popular alternatives to clerk-react-router-patterns include clerk-react-patterns, clerk-tanstack-patterns and clerk-nextjs-patterns. See all clerk-react-router-patterns alternatives

Developer Stuff

Badges