supabase-auth-data
CommunityStreamlined Supabase client and auth workflows.
Authorharryy2510
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing Supabase clients across server, browser, and admin contexts can be error-prone and hard to audit, especially when handling auth flows, type generation, migrations, and environment configuration.
Core Features & Use Cases
- Server: getSupabaseServerClient() for server-side data fetching with SSR cookie handling.
- Browser: getSupabaseBrowserClient() for client-side auth state and a singleton pattern.
- Admin: getSupabaseAdminClient() for admin tasks and cross-user reads.
- Auth flow management with onAuthStateChange, route guards, and session priming.
- Types & migrations guidance: auto-generated types, immutable migrations, and environment secrets handling.
- Environment variable management with Cloudflare bindings and client exposure.
Quick Start
Install and initialize the appropriate Supabase clients in your app by using getSupabaseServerClient in server routes, getSupabaseBrowserClient in the UI, and getSupabaseAdminClient for admin tasks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: supabase-auth-data Download link: https://github.com/harryy2510/dotclaude/archive/main.zip#supabase-auth-data Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.