clerk-core-workflow-b
Installation
SKILL.md
Clerk Core Workflow B: Session & Middleware
Contents
Overview
Implement session management and route protection with Clerk middleware. Covers Next.js middleware configuration, API route protection, role-based access control, and organization-scoped sessions.
Prerequisites
- Clerk account with application created
@clerk/nextjspackage installed- Next.js 14+ with App Router
- Understanding of JWT session tokens
Related skills