agentleFS
SupabaseKnown publishersupabase/supabase-js/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the supabase/supabase-js repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about supabase/supabase-js

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

2 more on GitHub

On Bluesky · 1

The file

Files
AGENTS.md

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 start
  • CONTRIBUTING.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-js
  • packages/core/postgrest-js/README.md — @supabase/postgrest-js
  • packages/core/realtime-js/README.md — @supabase/realtime-js
  • packages/core/storage-js/README.md — @supabase/storage-js
  • packages/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 @example blocks. 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-skills

Or 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 package
  • docs/RELEASE.md — release workflows and versioning strategy
  • Security Policy — security policies and responsible disclosure
  • docs/JSR_PUBLISHING.md — JSR registry publishing

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.