Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

supabase-local-dev-loop

Skill by jeremylongshore

Sets up Supabase local development with the CLI, Docker, and a migration workflow. Aimed at developers who want to run the full Supabase stack on their own machine.

  • Score 76
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install supabase-local-dev-loop

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/supabase-local-dev-loop ~/.claude/skills/supabase-local-dev-loop

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install supabase-local-dev-loop in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The supabase-local-dev-loop skill guides an AI assistant through running the full Supabase stack locally using Docker and the Supabase CLI. It covers initializing a project with npx supabase init, starting the local stack, and writing migrations and seed data. The source says the local stack includes Postgres, Auth, Storage, Realtime, Edge Functions, and Studio.

Schema changes are captured with supabase db diff, and supabase db reset replays all migrations and seed.sql to verify them. The skill also covers testing against the local instance, serving Edge Functions, and pushing verified migrations to a remote Supabase project. It is meant for developers who want offline, repeatable local development that mirrors production APIs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Initialize projectRuns npx supabase init to create a supabase/ directory with config, migrations, and seed files.
  • Start local stackRuns npx supabase start and prints local API, Studio, and database endpoints and keys.
  • Create migrationsRuns npx supabase migration new to create a timestamped SQL migration file.
  • Seed dataLoads seed.sql after migrations when the database is reset, for repeatable local state.
  • Diff-based migrationsRuns npx supabase db diff -f to generate a migration from schema changes made in Studio.
  • Reset databaseRuns npx supabase db reset to replay all migrations and seed data and check they apply cleanly.
  • Push to remoteLinks a remote project and runs npx supabase db push to deploy verified migrations.
  • Edge FunctionsCreates and serves Edge Functions locally with hot reload using npx supabase functions serve.
  • Local testsShows Vitest examples that run queries and RLS checks against the local Supabase instance.

What you need

  • Docker Desktop installed and running
  • Node.js 20+ for the npm CLI
  • Node.js 22+ for current SDK application examples
  • Supabase CLI installed with npm install --save-dev supabase

Try asking

  • Initialize Supabase in this project and start the local stack.
  • Create a migration that adds a profiles table with RLS enabled.
  • Run supabase db diff to capture my Studio changes as a migration.

Good to know

  • All local services require Docker to be running.
  • The auth schema only exists in the Supabase-managed Postgres instance, so migrations referencing auth.users fail elsewhere.

Security check

C
  • Asks for administrator rights (sudo)In skills/.curated/supabase-local-dev-loop/SKILL.md: `sudo
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/supabase-local-dev-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(npx:*)Bash(supabase:*)Bash(docker:*)Bash(curl:*)

Alternatives to supabase-local-dev-loop

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

supabase-local-dev-loop: common questions

What does the Supabase local dev loop skill set up?

It sets up the full Supabase stack locally with Postgres, Auth, Storage, Realtime, Edge Functions, and Studio, using Docker and the Supabase CLI.

How does the skill handle schema changes?

Changes made in Studio are turned into migration files with supabase db diff, then verified by replaying them with supabase db reset.

Does the skill deploy to production?

It includes a step to link a remote project and run supabase db push to send verified migrations to that remote project.

How do I install supabase-local-dev-loop?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is supabase-local-dev-loop free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is supabase-local-dev-loop safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to supabase-local-dev-loop?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

supabase-local-dev-loop Install

Add to stack

Loading.