Skip to content
C

clerk-react-patterns

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

by clerkFree

#4172in AI Skills
0In stores

Description

clerk-react-patterns is an agent skill from Clerk's skills collection, listed on skills.sh. It guides an AI agent in adding authentication t…

Highlights

  • ClerkProvider setup for Vite and CRA apps
  • useAuth, useUser and useClerk hook guidance
  • Protected routes with React Router
  • Custom sign-in and sign-up forms

Ratings & Reviews

No ratings yet

Be the first to rate clerk-react-patterns.

People also visit

C

clerk-tanstack-patterns

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

AI Skills
Get
C

clerk-react-router-patterns

React Router v7/v8 patterns with Clerk

AI Skills
Get
A

auth0-react

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

AI Skills
Get
C

clerk-nuxt-patterns

Nuxt 3 auth patterns with @clerk/nuxt

AI Skills
Get
C

clerk-vue-patterns

Vue 3 patterns with Clerk

AI Skills
Get
C

clerk-expo

Add Clerk authentication to Expo and React Native apps using @clerk/expo

AI Skills
Get

clerk-react-patterns FAQ

What does the clerk-react-patterns skill do?

It helps an AI agent add Clerk authentication to a React single-page app built with Vite or Create React App.

How do I install it?

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

Is it free?

Yes. The skill is listed as free on skills.sh.

Does it work with Next.js?

No. The skill says Next.js has its own Clerk skill, clerk-nextjs-patterns, and TanStack Start has clerk-tanstack-patterns.

Which router versions does it cover?

The skill includes a router integration reference for React Router v6 and v7.

Which security audits does it pass?

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

What are the best clerk-react-patterns alternatives?

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

Developer Stuff

Badges