supabase-js
Skill by fcakyon
Guides an AI assistant through building apps with the @supabase/supabase-js SDK. It covers Auth, database queries, Storage, Realtime, and Edge Functions.
Install supabase-js
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings /tmp/claude-codex-settings && mkdir -p ~/.claude/skills && cp -r /tmp/claude-codex-settings/plugins/supabase-skills/skills/supabase-js ~/.claude/skills/supabase-jsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings /tmp/claude-codex-settings && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-codex-settings/plugins/supabase-skills/skills/supabase-js ~/.gemini/antigravity-cli/skills/supabase-jsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The supabase-js skill gives an AI assistant guidance for building applications with the @supabase/supabase-js JavaScript and TypeScript SDK. It covers Auth, Database (PostgREST), Storage, Realtime, and Edge Functions. The skill includes setup steps, quick decision trees that map common tasks to SDK calls, and common patterns such as server-side use with a service role key and a React auth hook.
The skill points to the official Supabase JavaScript SDK docs as the source of truth. It also bundles reference files with source code and READMEs from the monorepo for quick lookup, covering supabase-js, auth-js, postgrest-js, and storage-js. It is aimed at developers building apps with Supabase who work in JavaScript or TypeScript. The skill is published under the MIT license.
Written from the project's SKILL.md and checked against it.
What it can do
- Database queriesSelect, filter, join, insert, upsert, update, delete, RPC calls, counts and pagination with the from() API.
- AuthenticationSign up, sign in with password, OAuth or OTP, sign out, reset passwords and manage users with admin calls.
- File storageUpload, download, move and remove files, create public or signed URLs, and manage buckets.
- RealtimeListen to database changes, send and receive broadcasts, and track presence on channels.
- Edge FunctionsInvoke Supabase edge functions with a body, custom headers, or a chosen region.
- Typed queriesGenerate TypeScript types from a database schema for autocomplete and typed query results.
What you need
- A Supabase project URL and anon key
- npm to install @supabase/supabase-js
- Supabase CLI for generating database types (optional)
Try asking
- Use supabase-js to select profiles filtered by id and order by created_at.
- Set up Supabase email and password sign in with supabase-js in my React app.
- Subscribe to INSERT events on the messages table using supabase-js realtime.
Good to know
- The service role key bypasses RLS and is meant for server-side use only.
- Type-safe queries require generating types from your database schema first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/supabase-skills/skills/supabase-js/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/auth-js/README.md7 KB -
references/functions-js/README.md5 KB -
references/overview.md9 KB -
references/postgrest-js/README.md7 KB
Show all 8 files
-
references/realtime-js/README.md15 KB -
references/storage-js/README.md36 KB -
references/supabase-js/README.md12 KB
Alternatives to supabase-js
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
supabase-js: common questions
Which Supabase features does this skill cover?
The skill covers Auth, Database (PostgREST), Storage, Realtime, and Edge Functions in the @supabase/supabase-js SDK.
Should the service role key be used in the browser?
The skill says the service role key is for server-side only, because it bypasses RLS.
Where is the official SDK documentation?
The skill names the SDK docs at supabase.com/docs/reference/javascript as the source of truth.
How do I install supabase-js?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-js free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is supabase-js safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supabase-js?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
