clerk-upgrade-migration

Featured

Manage Clerk SDK version upgrades and handle breaking changes. Use when upgrading Clerk packages, migrating to new SDK versions, or handling deprecation warnings. Trigger with phrases like "upgrade clerk", "clerk migration", "update clerk SDK", "clerk breaking changes".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clerk Upgrade & Migration ## Current State !`npm list @clerk/nextjs @clerk/clerk-react @clerk/express 2>/dev/null | grep clerk || echo 'No Clerk packages found'` ## Overview Safely upgrade Clerk SDK versions and handle breaking changes. Covers version checking, upgrade procedures, common migration patterns, and rollback planning. ## Prerequisites - Current Clerk integration working - Git repository with clean working state - Test environment available for validation ## Instructions ### Step 1: Check Current Version and Available Updates ```bash # Check installed version npm list @clerk/nextjs # Check latest available npm view @clerk/nextjs version # Check all Clerk packages and their versions npm outdated | grep clerk ``` ### Step 2: Review Breaking Changes ```bash # View changelog for the target version npx open-cli https://clerk.com/changelog # Check GitHub releases for migration notes npx open-cli https://github.com/clerk/javascript/releases ``` Key version milestones to watch for: - **v5 to v6**: `auth()` became async (must `await auth()`) - **v5 to v6**: `authMiddleware` renamed to `clerkMiddleware` - **v5 to v6**: Import paths changed to `@clerk/nextjs/server` ### Step 3: Upgrade Process ```bash # Create upgrade branch git checkout -b chore/upgrade-clerk # Upgrade all Clerk packages together (they must version-match) npm install @clerk/nextjs@latest @clerk/themes@latest # If using other Clerk packages: # npm install @clerk/clerk-react@latest @clerk/expres...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

clerk

Clerk authentication router. Use when user asks about Clerk CLI operations, adding authentication, setting up Clerk, custom sign-in flows, Swift or native iOS auth, native Android auth, Next.js patterns, React patterns, Vue patterns, Nuxt patterns, Astro patterns, TanStack Start patterns, Expo patterns, React Router patterns, Chrome Extension patterns, organizations, billing, subscriptions, payments, pricing, plans, seat-based pricing, feature entitlements, syncing users, testing, impersonating a user, or testing webhooks locally. Automatically routes to the specific skill based on their task.

0 Updated 2 months ago
sanketbodke
Web & Frontend Listed

clerk

Clerk authentication router. Use when user asks about Clerk CLI operations, adding authentication, setting up Clerk, custom sign-in flows, Swift or native iOS auth, native Android auth, Next.js patterns, React patterns, Vue patterns, Nuxt patterns, Astro patterns, TanStack Start patterns, Expo patterns, React Router patterns, Chrome Extension patterns, organizations, billing, subscriptions, payments, pricing, plans, seat-based pricing, feature entitlements, syncing users, testing, impersonating a user, or testing webhooks locally. Automatically routes to the specific skill based on their task.

2 Updated 2 months ago
Aymenjdily
AI & Automation Featured

clerk-migration-deep-dive

Migrate from other authentication providers to Clerk. Use when migrating from Auth0, Firebase, Supabase Auth, NextAuth, or custom authentication solutions. Trigger with phrases like "migrate to clerk", "clerk migration", "switch to clerk", "auth0 to clerk", "firebase auth to clerk".

2,926 Updated yesterday
jeremylongshore