Agent skill · software engineering · jeremylongshore
clerk-deploy-integration
Configure Clerk for deployment on various platforms.
Why this skill is useful
Adds specific deployment scripts and environment variable configurations for Clerk on multiple platforms that the AI wouldn't reliably generate on its own.
What it needs
Requires docker, netlify, railway, vercel installed locally. Requires clerk, netlify, railway, vercel account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
Clerk Deploy Integration Overview Deploy Clerk-authenticated applications to Vercel, Netlify, Railway, and other hosting platforms. Covers environment variable configuration, domain setup, and webhook endpoint configuration. Prerequisites Clerk production instance with pklive / sklive keys Production domain configured Hosting platform account Instructions Step 1: Vercel Deployment Configure Clerk Dashboard for Vercel: 1. Go to Dashboard > Domains and add your production domain 2. Set Home URL: https://myapp.com 3. Set Sign-in URL: https://myapp.com/sign-in 4. Set Sign-up URL: https://myapp.com/sign-up 5. Set After sign-in URL: https://myapp.com/dashboard Step 2: Netlify Deployment For Netlify Functions (serverless API routes): Step 3: Railway Deployment Step 4: Docker Deployment Step 5: Post-Deployment Verification Output Platform-specific environment variables configured Clerk Dashboard domains and URLs set for production Docker multi-stage build with proper secret handling Post-deployment verification script Webhook endpoint accessible at production URL Error Handling Error Cause Solution ------- ------- ---------- 500 on sign-in page Missing CLERKSECRETKEY Add secret key to platform env vars Webhook signature fails Wrong endpoint URL Update URL in Clerk Dashboard > Webhooks CORS error Domain not in allowed origins Add production domain in Clerk Dashboard > Domains Redirect loop after deploy Sign-in URL misconfigured Check NEXTPUBLICCLERKSIGNINURL matches route Docker build missing PK Not passed as build arg Add --build-arg NEXTPUBLICCLERKPUBLISHABLEKEY=... Examples Vercel Preview Deployment with Clerk Resources Deploy to Vercel Deploy to Netlify Clerk Domain Configuration Next Steps Proceed to clerk-webhooks-events for webhook configuration.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/clerk-deploy-integration--84b099