Agent skill

Clerk Prod Checklist

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Production readiness checklist for Clerk deployment. An agent skill from jeremylongshore/tons-of-skills-marketplace.

MITAuto-check: notesDevOps & Cloud

Install Clerk Prod Checklist

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill clerk-prod-checklist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clerk-prod-checklist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/clerk-prod-checklist .claude/skills/clerk-prod-checklist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clerk-prod-checklist
GitHub stars
2.8k
Token cost
~1.8k tokens
SKILL.md length
409 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Production readiness checklist for Clerk deployment. An agent skill from jeremylongshore/tons-of-skills-marketplace.

  • Works in 6 steps: Environment Configuration Checklist → Validation Script → Security Checklist → …
  • Preparing to deploy
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls npx; needs CLERK_SECRET_KEY and CLERK_WEBHOOK_SECRET

What it does

Clerk Prod Checklist is an agent skill from jeremylongshore/tons-of-skills-marketplace. Production readiness checklist for Clerk deployment. Use when preparing to deploy, reviewing production configuration, or auditing Clerk implementation before launch. Trigger with phrases like "clerk production", "clerk deploy checklist", "clerk go-live", "clerk launch ready".

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/implementation-guide.md`). Compatibility notes: Designed for Claude Code

It sits in DevOps & Cloud, covering Deployment. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Preparing to deploy
  • Reviewing production configuration
  • Auditing Clerk implementation before launch
  • With phrases like clerk production

Example prompts

  • “clerk production”
  • “clerk deploy checklist”
  • “clerk go-live”
  • “/clerk-prod-checklist”

Requirements

  • Node.js
  • A credential in CLERK_SECRET_KEY
  • A credential in CLERK_WEBHOOK_SECRET
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Grep, Bash(npm:*)

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Environment Configuration Checklist
  2. Validation Script
  3. Security Checklist
  4. Monitoring Checklist
  5. Error Handling Checklist
  6. Performance Checklist

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Grep
    • Bash(npm:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • clerk.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CLERK_SECRET_KEY
    • CLERK_WEBHOOK_SECRET
    • NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Clerk Prod Checklist loads about 1.8k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 409 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:45
    | `.env.local` in `.gitignore` | [ ] | Prevent accidental secret commits |

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 409 words, ~1,824 tokens.

Download SKILL.mdSave it as .claude/skills/clerk-prod-checklist/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
clerk-prod-checklist
description
Production readiness checklist for Clerk deployment. Use when preparing to deploy, reviewing production configuration, or auditing Clerk implementation before launch. Trigger with phrases like "clerk production", "clerk deploy checklist", "clerk go-live", "clerk launch ready".
allowed-tools
Read, Write, Edit, Grep, Bash(npm:*)
compatibility
Designed for Claude Code
version
1.15.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, clerk, deployment, audit

Clerk Production Checklist

Overview

Complete checklist to ensure your Clerk integration is production-ready. Covers environment config, security hardening, monitoring, error handling, and compliance.

Prerequisites

  • Clerk integration working in development
  • Production environment and domain configured
  • CI/CD pipeline ready

Instructions

Step 1: Environment Configuration Checklist
CheckStatusAction
Using pk_live_ keys[ ]Switch from test to live keys
CLERK_SECRET_KEY is sk_live_[ ]Never use test keys in production
.env.local in .gitignore[ ]Prevent accidental secret commits
CLERK_WEBHOOK_SECRET set[ ]Required for webhook verification
Production domain in Clerk Dashboard[ ]Dashboard > Domains
Sign-in/sign-up URLs configured[ ]Set NEXT_PUBLIC_CLERK_SIGN_IN_URL etc.
Step 2: Validation Script
typescript
// scripts/prod-readiness.ts
import { createClerkClient } from '@clerk/backend'

async function validateProduction() {
  const checks: { name: string; pass: boolean; detail: string }[] = []

  // 1. Live keys check
  const pk = process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY || ''
  const sk = process.env.CLERK_SECRET_KEY || ''
  checks.push({
    name: 'Live publishable key',
    pass: pk.startsWith('pk_live_'),
    detail: pk.startsWith('pk_live_') ? 'Using live key' : `Using ${pk.slice(0, 8)}... (should be pk_live_)`,
  })
  checks.push({
    name: 'Live secret key',
    pass: sk.startsWith('sk_live_'),
    detail: sk.startsWith('sk_live_') ? 'Using live key' : 'Should be sk_live_ for production',
  })

  // 2. API connectivity
  try {
    const clerk = createClerkClient({ secretKey: sk })
    await clerk.users.getUserList({ limit: 1 })
    checks.push({ name: 'API connectivity', pass: true, detail: 'Backend API reachable' })
  } catch (err: any) {
    checks.push({ name: 'API connectivity', pass: false, detail: err.message })
  }

  // 3. Webhook secret
  checks.push({
    name: 'Webhook secret configured',
    pass: !!process.env.CLERK_WEBHOOK_SECRET,
    detail: process.env.CLERK_WEBHOOK_SECRET ? 'Set' : 'CLERK_WEBHOOK_SECRET missing',
  })

  // 4. Middleware exists
  const fs = await import('fs')
  const hasMiddleware = fs.existsSync('middleware.ts') || fs.existsSync('src/middleware.ts')
  checks.push({
    name: 'Middleware present',
    pass: hasMiddleware,
    detail: hasMiddleware ? 'Found' : 'middleware.ts not found at project root',
  })

  // Print results
  console.log('\n=== Clerk Production Readiness ===\n')
  for (const check of checks) {
    const icon = check.pass ? 'PASS' : 'FAIL'
    console.log(`[${icon}] ${check.name}: ${check.detail}`)
  }

  const allPass = checks.every((c) => c.pass)
  console.log(`\nResult: ${allPass ? 'READY for production' : 'NOT READY — fix failing checks'}`)
  process.exit(allPass ? 0 : 1)
}

validateProduction()

Run with:

bash
npx tsx scripts/prod-readiness.ts
Step 3: Security Checklist
CheckStatusAction
Middleware protects all routes[ ]Verify non-public routes require auth
API routes check userId[ ]Return 401 if userId is null
Webhook signatures verified[ ]Use svix library for verification
CORS configured correctly[ ]Only allow production domain
Rate limiting on sensitive endpoints[ ]Use @upstash/ratelimit or similar
CSP headers set[ ]Add Clerk domains to Content-Security-Policy
No secret keys in client code[ ]CLERK_SECRET_KEY never exposed
Step 4: Monitoring Checklist
CheckStatusAction
Health check endpoint[ ]/api/health monitoring Clerk API
Error tracking (Sentry)[ ]Clerk user context in error reports
Auth event logging[ ]Log sign-in, sign-out, permission denied
Webhook monitoring[ ]Alert on failed webhook deliveries
Uptime monitoring[ ]External monitor hitting health endpoint
Step 5: Error Handling Checklist
CheckStatusAction
Custom error pages[ ]/not-found, /error pages handle auth errors
Graceful auth failures[ ]Redirect to sign-in, don't show stack traces
Webhook retry handling[ ]Idempotency keys prevent duplicate processing
Session expiry UX[ ]Show "session expired" prompt, not blank page
typescript
// app/error.tsx — global error boundary with auth context
'use client'
import { useAuth } from '@clerk/nextjs'

export default function Error({ error, reset }: { error: Error; reset: () => void }) {
  const { isSignedIn } = useAuth()

  return (
    <div>
      <h2>Something went wrong</h2>
      <p>{error.message}</p>
      <button onClick={reset}>Try again</button>
      {!isSignedIn && <a href="/sign-in">Sign in</a>}
    </div>
  )
}
Show full SKILL.md (156 more words)Show less
Step 6: Performance Checklist
CheckStatusAction
Middleware matcher excludes static files[ ]Don't auth-check images, fonts, CSS
User data cached (React.cache())[ ]Deduplicate within request
Auth components lazy loaded[ ]dynamic() for UserButton, SignInButton
Edge Runtime for middleware[ ]Faster cold starts on Vercel

Output

  • Environment configuration verified (live keys, webhook secret, domain)
  • Automated validation script (run in CI or before deploy)
  • Security, monitoring, error handling, and performance checklists
  • Global error boundary component with auth context

Error Handling

ErrorCauseSolution
Validation script failsTest keys in productionSwitch to pk_live_ / sk_live_ keys
API connectivity check failsWrong secret keyVerify key in Clerk Dashboard > API Keys
Middleware not foundFile in wrong locationPlace middleware.ts at project root (not inside app/)
Health check returns 503Clerk API unreachableCheck network, verify key, check status.clerk.com

Examples

CI Production Gate
yaml
# .github/workflows/deploy.yml — add as pre-deploy step
- name: Clerk production readiness
  run: npx tsx scripts/prod-readiness.ts
  env:
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: ${{ secrets.CLERK_PK_PROD }}
    CLERK_SECRET_KEY: ${{ secrets.CLERK_SK_PROD }}
    CLERK_WEBHOOK_SECRET: ${{ secrets.CLERK_WEBHOOK_SECRET_PROD }}

Resources

Next Steps

Proceed to clerk-upgrade-migration for SDK version upgrades.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/clerk-prod-checklist of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/implementation-guide.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Clerk Prod Checklist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clerk Prod Checklist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clerk Prod Checklist this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.8kAutomated safety check: NotesMIT
Kubeshark Installerkubeshark/kubeshark12k—~3.6kAutomated safety check: NotesApache-2.0
GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb6.7k—~4kAutomated safety check: NotesApache-2.0
Mirrord Operatormetalbear-co/mirrord5.4k1 repos~4.6kAutomated safety check: PassMIT
KubeSphere ServiceMesh Managerkubesphere/kubesphere17k—~2.4kAutomated safety check: PassCustom licence
Vercelremotion-dev/remotion63k—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Kubeshark Installer

    kubeshark/kubeshark

    Installs and configures Kubeshark on a Kubernetes cluster, choosing between the quick CLI path and a Helm install with custom values.

    12k GitHub stars~3.6k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • GreptimeDB Dev Docker Image

    GreptimeTeam/greptimedb

    Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.

    6.7k GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Mirrord Operator

    metalbear-co/mirrord

    Help users install and configure the mirrord Operator for team/enterprise environments.

    5.4k GitHub starsUsed in 1 repo~4.6k tokens
    DevOps & CloudAuto-check passed
  • KubeSphere ServiceMesh Manager

    kubesphere/kubesphere

    Installs, checks and troubleshoots the KubeSphere ServiceMesh extension (Istio, Kiali, Jaeger), including grayscale release, sidecar injection, topology and tracing issues.

    17k GitHub stars~2.4k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Vercel

    remotion-dev/remotion

    Official

    Set up a Codex monitor for Vercel deployments and preview URLs.

    63k GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • AWS Cdk Development

    zxkane/aws-skills

    AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python.

    367 GitHub starsUsed in 2 repos~2.5k tokens
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Clerk Prod Checklist

What does Clerk Prod Checklist do?

Production readiness checklist for Clerk deployment. An agent skill from jeremylongshore/tons-of-skills-marketplace. Clerk Prod Checklist is an agent skill from jeremylongshore/tons-of-skills-marketplace. Production readiness checklist for Clerk deployment.

When should I use Clerk Prod Checklist?

Clerk Prod Checklist fits situations like: preparing to deploy; reviewing production configuration; auditing Clerk implementation before launch; with phrases like clerk production.

How do I install Clerk Prod Checklist in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clerk-prod-checklist -a claude-code`. Or copy the skill folder (skills/.curated/clerk-prod-checklist in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/clerk-prod-checklist in your project. Claude Code loads it when a task matches its description.

How do I install Clerk Prod Checklist in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clerk-prod-checklist -a codex`. Or copy the skill folder (skills/.curated/clerk-prod-checklist in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/clerk-prod-checklist in your project. Codex loads it when a task matches its description.

Can I use Clerk Prod Checklist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clerk-prod-checklist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clerk-prod-checklist, .gemini/skills/clerk-prod-checklist, .github/skills/clerk-prod-checklist and .opencode/skills/clerk-prod-checklist in your project.

What does Clerk Prod Checklist need to run?

Going by SKILL.md and its folder, Clerk Prod Checklist needs the command-line tools its instructions call (npx) and credentials named CLERK_SECRET_KEY, CLERK_WEBHOOK_SECRET and NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY. Our summary lists: Node.js; A credential in CLERK_SECRET_KEY; A credential in CLERK_WEBHOOK_SECRET. Its frontmatter pre-approves these tools: Read, Write, Edit, Grep, Bash(npm:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Clerk Prod Checklist access the network?

SKILL.md names 1 domain. As links in the text: clerk.com. This is read from the text; nothing was executed.

Is Clerk Prod Checklist safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Clerk Prod Checklist use?

Clerk Prod Checklist is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clerk Prod Checklist use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Clerk Prod Checklist?

Skills that share tags, products or a category with Clerk Prod Checklist: Kubeshark Installer (kubeshark/kubeshark, 12k stars), GreptimeDB Dev Docker Image (GreptimeTeam/greptimedb, 6.7k stars), Mirrord Operator (metalbear-co/mirrord, 5.4k stars) and KubeSphere ServiceMesh Manager (kubesphere/kubesphere, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clerk Prod Checklist?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.