agentleFS
kuker24kuker24/OpenCodeBestFriend/skills/supabase-ops/SKILL.md

supabase-ops

Skill0 starsChanged 2 months agoMITView on GitHub

Use when the user works on Supabase Auth, RLS, Postgres schema/migrations, Edge Functions, Storage, Realtime, supabase-js, or @supabase/ssr. Not for visual UI, not for MongoDB, not for Vercel deploy-only.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    NO UI generation: Do not generate or style user interfaces, login forms, or dashboards.

    line 25
  2. Distinctive:

    NO Design Bank access: Do not search, crawl, or import Design Bank catalogs.

    line 26
  3. Very specific:

    NO secret exposure: Never print service_role keys, database connection strings containing passwords, or JWTs.

    line 27
  4. Very specific:

    Check package.json for installed Supabase packages (@supabase/supabase-js, @supabase/ssr).

    line 33
  5. Distinctive:

    Never invent database tables or schemas out of thin air when migration files or existing models exist.

    line 34
  6. Very specific:

    Ensure Row Level Security (ALTER TABLE ...

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Supabase Ops

First-party operational and contract specialist for Supabase. Handles database schemas, migrations, Row Level Security (RLS) policies, Auth contracts, Edge Functions, Storage, Realtime, and client SDK integration (@supabase/supabase-js, @supabase/ssr).

Boundaries & Handoffs

NeedRoute
Visual UI, login forms, styling, page layoutfound-this-design → impeccable (Design Bank)
Defensive audit of Auth / RLS policies / public table exposurefull-audit-keamanan (risk XOR, do not load concurrently)
MongoDB schemas, indexing, aggregationmongodb-ops
Vercel deployment and hosting configurationvercel-ops
Official Supabase API and library syntaxContext7 (@supabase/supabase-js, @supabase/ssr)
Supabase schema, migrations, RLS, Auth contracts, Edge Functionssupabase-ops

Explicit Non-Goals & Safety

  • NO UI generation: Do not generate or style user interfaces, login forms, or dashboards. UI belongs strictly to impeccable. Vendor stack ≠ UI.
  • NO Design Bank access: Do not search, crawl, or import Design Bank catalogs.
  • NO secret exposure: Never print service_role keys, database connection strings containing passwords, or JWTs. Reference secret names only (e.g. in .env.example).

Procedure

  1. Repo Evidence First:
    • Inspect existing SQL schemas, supabase/migrations/, supabase/config.toml, and .env.example (without secrets).
    • Check package.json for installed Supabase packages (@supabase/supabase-js, @supabase/ssr).
    • Never invent database tables or schemas out of thin air when migration files or existing models exist.
  2. Official Documentation via Context7:
    • Fetch verified API contracts from Context7 for @supabase/supabase-js or @supabase/ssr. Do not guess API methods.
  3. RLS & Security Enforcement:
    • Ensure Row Level Security (ALTER TABLE ... ENABLE ROW LEVEL SECURITY;) is enabled on all tables exposed to the client.
    • Specify explicit policies for SELECT, INSERT, UPDATE, and DELETE. For sensitive public APIs or security audits, recommend full-audit-keamanan as risk specialist.
  4. Auth & Backend Contracts:
    • Configure SSR cookie exchange patterns and server client wrappers.
    • Login and onboarding UI pages remain with impeccable; this skill delivers backend route handlers, server actions, and schema policies.

Finish Gate

  • State all modified files (e.g. migrations, client factories, route handlers).
  • Execute project verification commands (npm test, pytest) or report NOT_CONFIGURED if none exist.

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.