clerk-local-dev-loop

Featured

Set up local development workflow with Clerk. Use when configuring development environment, testing auth locally, or setting up hot reload with Clerk. Trigger with phrases like "clerk local dev", "clerk development", "test clerk locally", "clerk dev environment".

AI & Automation 2,266 stars 315 forks Updated today 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 Local Dev Loop ## Overview Configure an efficient local development workflow with Clerk authentication, including test users, hot reload, and mock auth for unit tests. ## Prerequisites - Clerk SDK installed (`clerk-install-auth` completed) - Development instance created in Clerk Dashboard - Node.js development environment ## Instructions ### Step 1: Configure Development Instance Create a separate Clerk development instance to isolate test data from production. ```bash # .env.local — use test keys (pk_test_ / sk_test_) NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_... CLERK_SECRET_KEY=sk_test_... # Optional: Enable Clerk debug logging CLERK_DEBUG=true ``` Clerk development instances provide: - No email verification required - Test phone numbers accepted - Relaxed rate limits - OAuth with test credentials ### Step 2: Set Up Test Users ```typescript // scripts/seed-test-users.ts import { createClerkClient } from '@clerk/backend' const clerk = createClerkClient({ secretKey: process.env.CLERK_SECRET_KEY! }) async function seedTestUsers() { const users = [ { emailAddress: ['admin@test.com'], password: 'test1234', firstName: 'Admin', lastName: 'User' }, { emailAddress: ['member@test.com'], password: 'test1234', firstName: 'Member', lastName: 'User' }, ] for (const user of users) { try { await clerk.users.createUser(user) console.log(`Created: ${user.emailAddress[0]}`) } catch (err: any) { if (err.status === 422) { conso...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

klaviyo-local-dev-loop

Configure Klaviyo local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clerk-install-auth

Install and configure Clerk SDK/CLI authentication. Use when setting up a new Clerk integration, configuring API keys, or initializing Clerk in your project. Trigger with phrases like "install clerk", "setup clerk", "clerk auth", "configure clerk API key", "add clerk to project".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clade-local-dev-loop

Set up a fast local development loop for building with the Anthropic API — Use when working with local-dev-loop patterns. hot reload, cost-saving tips, and test patterns. Trigger with "anthropic dev setup", "claude local development", "anthropic test locally", "claude dev workflow".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-local-dev-loop

Configure Cohere local development with mocking, testing, and hot reload. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Cohere API v2. Trigger with phrases like "cohere dev setup", "cohere local development", "cohere dev environment", "develop with cohere", "mock cohere".

2,266 Updated today
jeremylongshore
AI & Automation Featured

customerio-local-dev-loop

Configure Customer.io local development workflow. Use when setting up local testing, dev/staging isolation, or mocking Customer.io for unit tests. Trigger: "customer.io local dev", "test customer.io locally", "customer.io dev environment", "customer.io sandbox", "mock customer.io".

2,266 Updated today
jeremylongshore