Agent Skills
› composio-community/awesome-agent-clis
› Supabase CLI
Supabase CLI
GitHubSupabase CLI技能,用于管理Postgres数据库、认证、边缘函数及存储。支持本地开发环境启动、数据库迁移生成与推送、TypeScript类型生成及边缘函数部署等核心操作。
触发场景
需要初始化或启动Supabase本地开发环境
执行数据库迁移或生成迁移文件
部署边缘函数或管理项目配置
安装
npx skills add composio-community/awesome-agent-clis --skill Supabase CLI -g -y
SKILL.md
Frontmatter
{
"name": "Supabase CLI",
"description": "Manage Postgres databases, auth, edge functions, storage, and local dev environments. Use when an agent needs to manage Supabase projects, run database migrations, deploy edge functions, or start a local Supabase stack."
}
Supabase CLI
Manage Postgres databases, auth, edge functions, and storage.
Installation
npx supabase --help
Key Commands
npx supabase init
npx supabase start # local dev stack
npx supabase db push # apply migrations
npx supabase db diff --schema public # generate migration
npx supabase functions deploy my-func
npx supabase gen types typescript --local
npx supabase migration new my_change
npx supabase db reset
npx supabase link --project-ref <ref>
npx supabase secrets set KEY=value
Agent-Friendly Features
- Local development with
supabase start - Database diffing and migration generation
- TypeScript type generation from schema
- Edge function deployment
- Token auth via
SUPABASE_ACCESS_TOKEN
版本历史
- 9f765d2 当前 2026-07-24 16:04


