supabase-js
AGENTS.md4.6k starsChanged 8 months agoMITView on GitHub
Entry point for AI/LLM agents working in or with this repository. Pointers below; nothing canonical lives in this file. Reusable agent skills for working in this Nx workspace (Nx-related: nx-workspace, nx-generate, nx-import, nx-plugins, nx-run-tasks, link-workspace-packages) live at: Both directories currently hold the same content. Treat .agents/skills/ as the source of truth; the .claude/skills/ copy is kept in sync until Claude Code can discover skills from .agents/skills/ directly. Each package has its own README with usage examples and API notes: The…
- Installs packages
Trending
Quiet since May.thin dataabout the whole repository
Who's talking about supabase/supabase-js
- nuxt/nuxt“Nuxt 4.20 delivers CommonJS builds to browser”GitHub · Oct 27, 2025 · 30 reactions
- supabase/postgrest-js“Wrong type for joins with one-to-one relationships”GitHub · Aug 4, 2023 · 25 reactions
- supabase/storage-js“feat: add private method to get expected content type”GitHub · Sep 29, 2024 · 13 reactions
- supabase/node-fetch“Deprecated dependency on whatwg-url -> punycode triggers DeprecationWarning”GitHub · May 10, 2024 · 11 reactions
- supabase/postgrest-js“.throwOnError() doesn't do typecheck”GitHub · Oct 21, 2024 · 6 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub, Hacker News and Bluesky (9 times).
On GitHub · 7
- Oct 27, 2025Nuxt 4.20 delivers CommonJS builds to browser — nuxt/nuxt30 reactions · 10 comments
- Aug 4, 2023Wrong type for joins with one-to-one relationships — supabase/postgrest-js25 reactions · 21 comments
- Sep 29, 2024feat: add private method to get expected content type — supabase/storage-js13 reactions · 1 comment
- May 10, 2024Deprecated dependency on whatwg-url -> punycode triggers DeprecationWarning — supabase/node-fetch11 reactions · 8 comments
- Oct 21, 2024.throwOnError() doesn't do typecheck — supabase/postgrest-js6 reactions · 1 comment
2 more on GitHub
- Apr 23, 2024feat: remove `cache: no-store` as it breaks cloudflare — supabase/auth-js6 reactions
- Apr 19, 2021Get the proper global object depending on environment to check for existing fetch — JakeChampion/fetch6 reactions · 5 comments
On Hacker News · 1
- May 2, 2026Supabase-JS: An isomorphic JavaScript client for Supabase1 point
On Bluesky · 1
- Nov 16, 2025https://github.com/supabase/supabase-js/ — @tom-doerr.bsky.social1 likes and repost
In this repository13 other files it gives its agents.
- packages/core/auth-js/AGENTS.mdAGENTS.md
- packages/core/functions-js/AGENTS.mdAGENTS.md
- packages/core/postgrest-js/AGENTS.mdAGENTS.md
- packages/core/realtime-js/AGENTS.mdAGENTS.md
- packages/core/storage-js/AGENTS.mdAGENTS.md
- packages/core/supabase-js/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- link-workspace-packagesSkill
- nx-generateSkill
- nx-importSkill
- nx-pluginsSkill
- nx-run-tasksSkill
- nx-workspaceSkill
The file
Files
Agent instructions
Entry point for AI/LLM agents working in or with this repository. Pointers below; nothing canonical lives in this file.
Repository overview
README.md— what this repo is, package list, quick startCONTRIBUTING.md— contribution guidelines, commit format, PR process.claude/CLAUDE.md— development conventions, Nx commands, testing matrix, library-specific notes (read by Claude Code; the canonical development-conventions doc).cursor/.cursorrules— same conventions for Cursor (read by Cursor IDE)
Agent skills
Reusable agent skills for working in this Nx workspace (Nx-related: nx-workspace, nx-generate, nx-import, nx-plugins, nx-run-tasks, link-workspace-packages) live at:
.agents/skills/— vendor-neutral location (Agent Skills spec).claude/skills/— mirrored copy read by Claude Code by literal path
Both directories currently hold the same content. Treat .agents/skills/ as the source of truth; the .claude/skills/ copy is kept in sync until Claude Code can discover skills from .agents/skills/ directly.
Per-package usage
Each package has its own README with usage examples and API notes:
packages/core/supabase-js/README.md—@supabase/supabase-js(main isomorphic client)packages/core/auth-js/README.md—@supabase/auth-jspackages/core/postgrest-js/README.md—@supabase/postgrest-jspackages/core/realtime-js/README.md—@supabase/realtime-jspackages/core/storage-js/README.md—@supabase/storage-jspackages/core/functions-js/README.md—@supabase/functions-js
Helping users of a published @supabase/* package
The published npm tarball for each package ships everything an agent needs to give a correct, version-pinned answer. After npm install @supabase/<package>, an agent helping with that package should look inside node_modules/@supabase/<package>/:
AGENTS.md— per-package agent entry point (read this first; it points at the resources below).README.md— usage and quick-start.src/— full API source with TSDoc. Every public method and type has JSDoc, most have@exampleblocks. Read source here for the canonical, version-pinned answer instead of guessing from training data.migrations/— per-theme migration notes for changes that need caller action.
Source files ship via npm because every package's files array in package.json includes "src". Migration notes ship via "migrations". Per-package AGENTS.md ships via "AGENTS.md". All three are version-pinned by virtue of being inside the installed package.
We deliberately do NOT ship per-package skills or duplicate docs-site content. The TSDoc-in-source IS the canonical API documentation for the SDK packages.
For higher-level Supabase guidance (the documentation site, MCP tools, schema management workflows, project setup), use the centralized Supabase agent skills:
npx skills add supabase/agent-skillsOr use the Supabase Plugin for AI Coding Agents to install the agent skills together with the Supabase MCP server in one step. See also: Agent Skills documentation.
Migration notes
Migration notes live close to the code they describe, so they ship via npm alongside the package.
- Per-package migrations:
packages/core/<package>/migrations/<theme>.md— one file per migration theme (e.g.<new-feature-adoption>.md). Each file describes what changed, who is affected, and what callers need to do. - Cross-cutting migrations (affecting the whole repo or all packages):
docs/MIGRATION.md— one H2 section per theme (e.g. Node.js version drops). Low-frequency by design; split into a directory only if the file grows past a handful of themes.
Other documentation
docs/TESTING.md— testing guide with Docker requirements per packagedocs/RELEASE.md— release workflows and versioning strategy- Security Policy — security policies and responsible disclosure
docs/JSR_PUBLISHING.md— JSR registry publishing
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

