clerk-hello-world

Installation
SKILL.md

Clerk Hello World

Overview

Make your first authenticated requests using Clerk across server components, client components, API routes, and server actions. Validates your Clerk integration end-to-end.

Prerequisites

  • Clerk SDK installed (clerk-install-auth completed)
  • Environment variables configured (NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, CLERK_SECRET_KEY)
  • ClerkProvider wrapping application root
  • Middleware configured at project root

Instructions

Step 1: Server Component — auth() and currentUser()

// app/dashboard/page.tsx
import { auth, currentUser } from '@clerk/nextjs/server'
import { redirect } from 'next/navigation'
Installs
25
GitHub Stars
2.4K
First Seen
Feb 18, 2026
clerk-hello-world — jeremylongshore/claude-code-plugins-plus-skills