clerk-nextjs-skills

Community

Secure Next.js 16 apps with Clerk auth.

Authorgocallum
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a complete and production-ready solution for implementing Clerk authentication in Next.js 16 (App Router) apps, including proxy.ts middleware, environment validation, and MCP server integration.

Core Features & Use Cases

  • Proxied Clerk middleware via proxy.ts for Next.js 16 App Router
  • Migration guidance from middleware.ts to proxy.ts with zero-diff code
  • Start-up environment validation and safe defaults for Clerk keys
  • MCP server integration patterns for secure tool invocation and OAuth metadata
  • Real-world use cases: securing routes, server actions, and protected APIs with Clerk

Quick Start

Run through automated setup steps: install Clerk, create proxy.ts, configure environment variables, wrap your app with ClerkProvider, and start the dev server.

Dependency Matrix

Required Modules

@clerk/nextjs@vercel/mcp-adapter@clerk/mcp-tools

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clerk-nextjs-skills
Download link: https://github.com/gocallum/nextjs16-agent-skills/archive/main.zip#clerk-nextjs-skills

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.