What problem does it solve?
Clerk webhook handlers can silently fail or break verification, causing missing user/org data and broken downstream automations.
Core Features & Use Cases
- Signature-verified, production-ready handlers: Ensures every webhook uses verifyWebhook(req) so events are trusted before writing anything.
- Real-time user and organization sync: Handles user.created/updated/deleted and organizationMembership.created/deleted to keep Postgres tables aligned.
- Correct public routing for webhooks: Prevents 401 errors by instructing that webhook routes must be excluded from Clerk middleware protection.
- Event-driven integrations: Enables notification and integration patterns (e.g., welcome emails, Slack alerts) triggered by specific webhook event types.
Quick Start
Ask the skill to generate a copy-paste-ready Next.js App Router webhook handler that verifies Clerk signatures, exposes the webhook route publicly, and writes user.created data into your Prisma users table.