Skip to content
C

clerk-tanstack-patterns

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

by clerkFree

#4419in AI Skills
0In stores

Description

clerk-tanstack-patterns is an agent skill from the clerk/skills collection, listed on skills.sh. It gives an AI agent authentication pattern…

Highlights

  • beforeLoad route guards and auth redirects
  • Auth inside createServerFn server functions
  • Auth context for loaders
  • Vite and server middleware setup

Ratings & Reviews

No ratings yet

Be the first to rate clerk-tanstack-patterns.

People also visit

C

clerk-react-patterns

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

AI Skills
Get
C

clerk-react-router-patterns

React Router v7/v8 patterns with Clerk

AI Skills
Get
T

tanstack-start-best-practices

TanStack Start best practices for full-stack React applications

AI Skills
Get
C

clerk-setup

Framework-agnostic Clerk authentication setup following official quickstart

AI Skills
Get
C

clerk-nuxt-patterns

Nuxt 3 auth patterns with @clerk/nuxt

AI Skills
Get
C

clerk-nextjs-patterns

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

AI Skills
Get

clerk-tanstack-patterns FAQ

What does the clerk-tanstack-patterns skill do?

It helps an AI agent add Clerk authentication to a TanStack React Start project.

How do I install it?

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

How are routes protected?

The skill covers protecting routes with a beforeLoad guard that redirects unauthenticated users.

Can I check auth in server functions?

Yes. The skill covers calling auth() inside createServerFn.

What setup does it cover?

Configuring Vite with Clerk middleware and server middleware.

What do the security audits say?

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

What are the best clerk-tanstack-patterns alternatives?

Popular alternatives to clerk-tanstack-patterns include clerk-react-patterns, clerk-react-router-patterns and tanstack-start-best-practices. See all clerk-tanstack-patterns alternatives

Developer Stuff

Badges