Skip to content
Back to skills

Supabase

ASecurity

Manage Supabase projects, databases, migrations, Edge Functions, and storage using the `supabase` CLI.

  • 493 stars
  • 0 votes
  • 0 copies
  • 14 views
  • Added February 7, 2026
databasestypescriptbashsqldatabase

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill supabase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Supabase?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Supabase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-supabase/badge)](https://www.skillsdirectory.com/skills/aiskillstore-supabase)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: supabase
description: "Manage Supabase projects, databases, migrations, Edge Functions, and storage using the `supabase` CLI."
---

# Supabase Skill

Use the `supabase` CLI to manage Supabase projects and local development.

## Projects

List all projects:
```bash
supabase projects list
```

Link to a remote project:
```bash
supabase link --project-ref <project-id>
```

## Local Development

Start local Supabase stack (Postgres, Auth, Storage, etc.):
```bash
supabase start
```

Stop local stack:
```bash
supabase stop
```

Check status of local services:
```bash
supabase status
```

## Database

Run SQL query:
```bash
supabase db execute --sql "SELECT * FROM users LIMIT 10"
```

Pull remote schema to local:
```bash
supabase db pull
```

Push local migrations to remote:
```bash
supabase db push
```

Reset local database:
```bash
supabase db reset
```

Diff local vs remote schema:
```bash
supabase db diff
```

## Migrations

Create a new migration:
```bash
supabase migration new <migration-name>
```

List migrations:
```bash
supabase migration list
```

Apply migrations locally:
```bash
supabase migration up
```

Squash migrations:
```bash
supabase migration squash
```

## Edge Functions

List functions:
```bash
supabase functions list
```

Create a new function:
```bash
supabase functions new <function-name>
```

Deploy a function:
```bash
supabase functions deploy <function-name>
```

Deploy all functions:
```bash
supabase functions deploy
```

Serve functions locally:
```bash
supabase functions serve
```

View function logs:
```bash
supabase functions logs <function-name>
```

## Storage

List buckets:
```bash
supabase storage ls
```

List objects in a bucket:
```bash
supabase storage ls <bucket-name>
```

Copy file to storage:
```bash
supabase storage cp <local-path> ss:///<bucket>/<path>
```

Download from storage:
```bash
supabase storage cp ss:///<bucket>/<path> <local-path>
```

## Secrets

Set a secret for Edge Functions:
```bash
supabase secrets set <NAME>=<value>
```

List secrets:
```bash
supabase secrets list
```

Unset a secret:
```bash
supabase secrets unset <NAME>
```

## Type Generation

Generate TypeScript types from database schema:
```bash
supabase gen types typescript --local > types/supabase.ts
```

Generate types from remote:
```bash
supabase gen types typescript --project-id <project-id> > types/supabase.ts
```

## Authentication

Login to Supabase:
```bash
supabase login
```

Check current status:
```bash
supabase projects list
```

Files in this skill

  • SKILL.md2.4 KB
  • skill-report.json15 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in databases →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.