api-baas-supabase

Solid

Supabase backend-as-a-service — Auth, Database, Realtime, Storage, Edge Functions, RLS policies, typed client

API & Backend 18 stars 6 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
43
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Supabase Patterns > **Quick Guide:** Use Supabase as your backend-as-a-service for Postgres database, authentication, realtime subscriptions, file storage, and edge functions. Always use the typed client with `Database` generic, enable RLS on every table, and use the secret key only on the server. --- <critical_requirements> ## CRITICAL: Before Using This Skill > **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants) **(You MUST enable Row Level Security (RLS) on EVERY table in an exposed schema — no exceptions)** **(You MUST use the `Database` generic type with `createClient<Database>()` for type-safe queries)** **(You MUST NEVER expose the secret key in client-side code — use the publishable key in browsers, the secret key only on the server)** **(You MUST use `(select auth.uid())` wrapped in a subquery inside RLS policies for performance)** **(You MUST handle all Supabase responses with `{ data, error }` destructuring — never assume success)** </critical_requirements> --- **Auto-detection:** Supabase, createClient, @supabase/supabase-js, @supabase/ssr, supabase-js, auth.uid(), RLS, row level security, realtime, postgres_changes, supabase.auth, supabase.from, supabase.storage, supabase.functions, supabase.channel, edge function, Deno.serve **When to use:** - Setting up a Supabase client with TypeScript type safety - Implementing authentication (email/password, OAuth, magic links...

Details

Author
agents-inc
Repository
agents-inc/skills
Created
8 months ago
Last Updated
1 weeks ago
Language
N/A
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category