sleestk/skills-pipeline/supabase-js
Claude Code and agent skill by sleestk/skills-pipeline
- community
Checking that the SKILL.md file is still in the repository.
Full-stack Supabase developer skill for building Next.js applications with Supabase. Covers Database (Postgres tables, schemas, views, indexes, joins, JSON, RLS, CLS, roles, functions, triggers, webhooks, event triggers), Auth (email/password, magic link, OTP, OAuth, anonymous sign-ins, MFA, SSR/PKCE flows, sessions, redirect URLs, user management), the JavaScript client (`@supabase/supabase-js` — select, insert, update, upsert, delete, rpc, filters, modifiers, auth methods), and Next.js integr…
Install
npx vskill@latest install sleestk/skills-pipeline/supabase-jsSKILL.md
Supabase Developer Skill
A comprehensive skill for building Next.js applications with Supabase. Covers four domains: Database, Auth, JavaScript Client, and Next.js Integration.
Architecture
This skill uses progressive disclosure with nested routing:
Routing
When the user's request arrives, determine which domain(s) it touches, then read the appropriate reference file(s):
Database
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.
Auth
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
JavaScript Client
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
Next.js Integration
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
Multiple Domains
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.
Default Stack
- Framework: Next.js (App Router)
- Client library:
@supabase/supabase-jsv2 - SSR package:
@supabase/ssr - Language: TypeScript
- ORM: None (direct supabase-js queries)
Key Principles
- Always enable RLS on public-facing tables. No exceptions.
- Use `(select auth.uid())` in RLS policies (wrapped in select for performance).
- Never expose the service_role key to the client. Use the anon/publishable key.
- Use PKCE flow for SSR authentication (default in
@supabase/ssr). - Create a new Supabase client per request on the server. The browser client is a singleton.
- Use `supabase.auth.getClaims()` in server code to validate JWTs. Never trust
getSession()on the server. - Add indexes on columns used in RLS policies.
- Specify the `TO` role in RLS policies (
to authenticated,to anon).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSaaS/supabase-js/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sleestk/skills-pipeline/supabase-js)