context-clerk-integration

Explain Clerk authentication flows, user ID fields, and Supabase RLS policies.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/stars-end/affordabot --skill context-clerk-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-clerk-integration
Source: https://github.com/stars-end/affordabot/tree/main/.claude/skills/context-clerk-integration
Command: npx skills add https://github.com/stars-end/affordabot --skill context-clerk-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Understanding and managing user authentication, session handling, and Row-Level Security (RLS) policies with Clerk can be intricate, especially with multiple ID fields and validation rules.

Core Features & Use Cases

  • Clerk Auth Flow Navigation: Explore the backend and frontend implementations of Clerk for user login and session management.
  • User ID System Clarity: Gain a clear understanding of the four critical user ID fields (id, auth_id, clerk_id, email) and their validation rules, crucial for debugging "User not found" errors.
  • RLS Policy Integration: Understand how Clerk integrates with Supabase RLS policies to enforce access control based on user identity.
  • Use Case: When debugging authentication errors or implementing new access control features, this Skill provides direct access to Clerk-related code, migrations, and documentation.

Quick Start

Ask about "Clerk webhooks" or "auth errors" to get context on authentication flows, JWT validation, and RLS policies.