clerk-hello-world
Installation
SKILL.md
Clerk Hello World
Overview
Make your first authenticated request using Clerk to verify the integration works.
Prerequisites
- Clerk SDK installed (
clerk-install-authcompleted) - Environment variables configured
- ClerkProvider wrapping application
Instructions
Step 1: Create Protected Page
// app/dashboard/page.tsx
import { auth, currentUser } from '@clerk/nextjs/server'
export default async function DashboardPage() {
const { userId } = await auth()
const user = await currentUser()
Related skills