Skip to main content
Back to registry

clerk-nextjs-skills

gocallum/nextjs16-agent-skills

The proxy.ts file replaces middleware.ts from Next.js 15. Create it at the root or in /src :

Installs178
Install command
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill clerk-nextjs-skills
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykWARN
About this skill
The proxy.ts file replaces middleware.ts from Next.js 15. Create it at the root or in /src : Create .env.local in your project root: Visit and click "Sign Up" to create your first user. By default, clerkMiddleware() does not protect routes—all are public. Use auth.protect() to require authentication: Or protect all routes in proxy.ts : Check for required Clerk keys before runtime: Use Clerk hooks in client components: Or in server components/actions: Rename the file from middleware.ts to proxy.ts (location remains same: root or /src ) Keep the code identical - No functional changes needed: Update Next.js version : Verify environment variables are still in .env.local (no changes needed) Test the migration : See CLERK_MCP_SERVER_SETUP.md for complete MCP server integration. Install MCP dependencies : Create MCP route at app/[transport]/route.ts : Expose OAuth metadata endpoints (see references for complete setup) Update proxy.ts to exclude .well-known endpoints: Enable Dynamic Client Registration in Clerk Dashboard Enable debug logging: Run with debug: - Clerk Next.js Quickstart - Clerk MCP Server Guide - Clerk Next.js SDK Reference - clerkMiddleware() Reference - Reading User Data - Protecting Routes - OAuth Token Verification - Clerk Dashboard - @vercel/mcp-adapter - @clerk/mcp-tools - MCP Example Repository - Next.js 16 (App Router) : Use proxy.ts for Clerk middleware -...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does clerk-nextjs-skills do?

The proxy.ts file replaces middleware.ts from Next.js 15. Create it at the root or in /src :

Is clerk-nextjs-skills good?

clerk-nextjs-skills does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does clerk-nextjs-skills work with?

clerk-nextjs-skills currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to clerk-nextjs-skills?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install clerk-nextjs-skills?

npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill clerk-nextjs-skills

Related skills

More from gocallum/nextjs16-agent-skills

Related skills

Alternatives in Software Engineering