/supabase-js:supabase-jsfrom supabase-js
Builds Next.js applications with Supabase: database schemas, Row Level Security, authentication flows, and @supabase/supabase-js client usage.
Ships in supabase-js. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A comprehensive skill for building Next.js applications with Supabase. Covers four domains: Database, Auth, JavaScript Client, and Next.js Integration.
This skill uses progressive disclosure with nested routing:
supabase/
├── SKILL.md ← You are here (orchestrator)
├── references/
│ ├── database/
│ │ ├── README.md ← Database router
│ │ ├── fundamentals.md ← Connecting, importing, securing
│ │ ├── basics.md ← Tables, views, arrays, indexes, joins, JSON
│ │ ├── intermediate.md ← Cascade deletes, enums, functions, triggers, webhooks, event triggers
│ │ └── access-security.md ← RLS, CLS, Postgres roles, custom roles
│ ├── auth.md ← Full auth reference
│ ├── js-client.md ← @supabase/supabase-js API reference
│ └── nextjs.md ← @supabase/ssr + Next.js integration
When the user's request arrives, determine which domain(s) it touches, then read the appropriate reference file(s):
If the request involves tables, schemas, views, columns, data types, indexes, joins, foreign keys, JSON/JSONB, importing data, connecting to the database, or any SQL DDL/DML:
→ Read references/database/README.md first. It will route you to the correct sub-file.
If the request involves sign up, sign in, sign out, password reset, OAuth, magic link, OTP, MFA, sessions, JWTs, RLS policies tied to auth.uid(), redirect URLs, user management, or the auth schema:
→ Read references/auth.md
If the request involves supabase.from(), .select(), .insert(), .update(), .delete(), .rpc(), filters (.eq(), .neq(), .in(), etc.), modifiers (.order(), .limit(), .single()), or any supabase.auth.* method calls:
→ Read references/js-client.md
If the request involves @supabase/ssr, createBrowserClient, createServerClient, middleware/proxy auth, cookie-based sessions, server components with Supabase, or wiring Supabase into a Next.js app:
→ Read references/nextjs.md
Many requests touch multiple domains. For example, "set up auth with email/password in my Next.js app" requires Auth + Next.js + JS Client. Read all relevant files.
@supabase/supabase-js v2@supabase/ssr(select auth.uid()) in RLS policies (wrapped in select for performance).@supabase/ssr).supabase.auth.getClaims() in server code to validate JWTs. Never trust getSession() on the server.TO role in RLS policies (to authenticated, to anon).references/auth.md (opens in a new tab)references/database/README.md (opens in a new tab)references/database/access-security.md (opens in a new tab)references/database/basics.md (opens in a new tab)references/database/fundamentals.md (opens in a new tab)references/database/intermediate.md (opens in a new tab)references/js-client.md (opens in a new tab)references/nextjs.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
supabase, nextjs, postgresql, row-level-security, authentication, full-stack
npx claudepluginhub sleestk/skills-pipeline --plugin supabase-jsOther plugins' skills for the same job