clerk-deploy-integration
Skill by jeremylongshore
Configures Clerk authentication for production deployment on Vercel, Netlify, Railway, and Docker. Covers environment variables, Clerk Dashboard domain and URL setup, and a post-deployment verification script.
Install clerk-deploy-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-deploy-integration ~/.claude/skills/clerk-deploy-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install clerk-deploy-integration in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clerk-deploy-integration ~/.gemini/antigravity-cli/skills/clerk-deploy-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clerk-deploy-integration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill configures Clerk authentication for production deployment on Vercel, Netlify, Railway, and Docker. It shows how to set platform environment variables for the publishable key, secret key, and webhook secret. It also covers setting production domains and sign-in and sign-up URLs in the Clerk Dashboard. The skill includes a Netlify Functions example that checks a Clerk session token and a Docker multi-stage build with runtime secret injection.
It provides a bash script that checks the homepage, sign-in page, and webhook endpoint of a deployed site with curl. A table lists common errors, such as a 500 error on the sign-in page caused by a missing secret key. The skill is written for developers deploying Clerk-authenticated applications with live production keys. It names clerk-webhooks-events as the next step.
Written from the project's SKILL.md and checked against it.
What it can do
- Vercel environment setupAdds Clerk publishable, secret, and webhook keys to Vercel production and preview environments.
- Clerk Dashboard configurationSets production domain, home URL, sign-in, sign-up, and after sign-in URLs in Clerk.
- Netlify deploymentSets Clerk environment variables with the Netlify CLI and shows a Netlify Functions auth example.
- Railway deploymentSets Clerk environment variables on Railway with the Railway CLI.
- Docker deploymentProvides a multi-stage Dockerfile and docker-compose file that keep the secret key out of the image.
- Post-deployment verificationProvides a bash script that checks the homepage, sign-in page, and webhook endpoint.
What you need
- Clerk production instance with pk_live_ and sk_live_ keys
- Production domain
- Hosting platform account (Vercel, Netlify, Railway, or Docker)
- Node.js 20 for the Docker build image
Try asking
- Set up Clerk production environment variables for my Vercel project
- Configure Clerk Dashboard domains and sign-in URLs for myapp.com
- Write a post-deployment check script for my Clerk-authenticated app
Good to know
- Assumes Next.js style environment variable names such as NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
- Requires live production keys and a production domain
- Webhook setup is covered in a separate skill, clerk-webhooks-events
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clerk-deploy-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(vercel:*)Bash(netlify:*)Grep
-
SKILL.md6 KB -
references/implementation-guide.md5 KB
Alternatives to clerk-deploy-integration
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
clerk-deploy-integration: common questions
Which hosting platforms does clerk-deploy-integration cover?
The source covers Vercel, Netlify, Railway, and Docker. It says other platforms are possible but gives no steps for them.
Where should the Clerk secret key go in a Docker build?
The source says the secret key is injected at runtime with docker run -e or docker-compose, not baked into the image. Only the publishable key is passed as a build argument.
What should I do if sign-in returns a 500 error after deploying?
The source lists a missing CLERK_SECRET_KEY as the likely cause. The fix is to add the secret key to the platform environment variables.
How do I install clerk-deploy-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clerk-deploy-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clerk-deploy-integration safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to clerk-deploy-integration?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
