What problem does it solve?
Clerk billing setup and entitlement gating are hard to get right, and teams often ship pricing UI that silently renders nothing or enforce the wrong entitlements.
Core Features & Use Cases
- Render pricing and checkout UI: Show Clerk-configured plans using <PricingTable /> (including B2B org plans via for="organization") and enable in-app plan switching.
- Gate features and tiers safely: Authorize access with has({ feature: '...' }) for capability entitlements and has({ plan: '...' }) for tier-level gates.
- Handle subscription lifecycle via webhooks: Verify and branch on Clerk billing webhook event types to sync subscription and payment state to your database.
- Support B2B seat-limit billing patterns: Protect org-scoped routes by checking orgId presence and using seat-limit plan slugs like org:team.
Quick Start
Ask the clerk-billing skill to produce a Next.js /pricing page that renders <PricingTable /> and includes the prerequisite checklist to enable Billing in the Clerk Dashboard before you test subscriptions.