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/nextjs package installed
  • Next.js 14+ with App Router
  • Understanding of JWT session tokens
Related skills
Installs
22
GitHub Stars
2.2K
First Seen
Feb 18, 2026