supabase-client

Community

Supabase client patterns

AuthorPolarDyth
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear patterns for initializing and using Supabase clients across different parts of a Next.js application, ensuring correct authentication and authorization handling.

Core Features & Use Cases

  • Server-Side Client: For use in Server Components, Server Actions, and Route Handlers, leveraging cookie-based authentication.
  • Client-Side Client: For use in Client Components and hooks, utilizing browser-based authentication and real-time subscriptions.
  • Admin Client: For server-side operations that require bypassing Row Level Security (RLS).
  • Auth State Management: A use-user hook for seamless authentication state tracking in client components.

Quick Start

Use the supabase-client skill to initialize a server-side Supabase client within a Next.js Server Component.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-client
Download link: https://github.com/PolarDyth/travel-money-mk2/archive/main.zip#supabase-client

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.