clerk-tanstack-patterns
CommunitySecure TanStack React Start apps using Clerk.
AuthorRoyMcCrain
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers need a straightforward way to enforce Clerk authentication across TanStack React Start projects, handling server‑side guards, loaders, and API routes without repetitive boilerplate.
Core Features & Use Cases
- Route Guard Templates: Ready‑to‑use
beforeLoadchecks that redirect unauthenticated users. - Server Function Helpers: Pre‑defined
createServerFnpatterns for auth, org data, and protected API handlers. - Vinxi Middleware Integration: Simple setup of
clerkMiddlewarein the start file to enableauth()throughout the server.
Quick Start
Add a beforeLoad guard using Clerk's auth() to protect the /dashboard route.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: clerk-tanstack-patterns Download link: https://github.com/RoyMcCrain/dotsfile/archive/main.zip#clerk-tanstack-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.