volcengine-supabase

Manage Volcengine Supabase workspaces, branches, SQL queries, migrations, Edge Functions, Storage, and TypeScript type generation via a local CLI. Run uv run ./scripts/call_volcengine_supabase.py to get real-time results.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "volcengine-supabase" with this command: npx skills add techstylex/supabase-skills

火山引擎 Supabase

本 Skill 用于在对话中充当火山引擎 Supabase 的智能运维与开发代理

它会:

  • 识别用户的 Supabase 自然语言需求
  • 直接调用 scripts/call_volcengine_supabase.py 获取实时结果
  • 基于返回结果做解释、排障和下一步建议

运行方式

# 方式 1:使用 uv(推荐)
uv run ./scripts/call_volcengine_supabase.py <action> [options]

# 方式 2:使用 python(需预装依赖)
python ./scripts/call_volcengine_supabase.py <action> [options]

前置条件

  • 必需环境变量:VOLCENGINE_ACCESS_KEYVOLCENGINE_SECRET_KEY(如果在沙箱环境/vefaas IAM 环境下运行,将自动获取临时凭证,可不配置环境变量)
  • 可选环境变量:VOLCENGINE_REGIONDEFAULT_WORKSPACE_IDREAD_ONLYSUPABASE_WORKSPACE_SLUGSUPABASE_ENDPOINT_SCHEME
  • 若未配置依赖,可先执行:uv pip install -r requirements.txtpip install -r requirements.txt

标准使用流程

  1. 先确认目标资源:workspace_idbranch_id
  2. 优先执行只读查询,确认现状
  3. 需要变更时,再执行写操作
  4. 变更后再次查询,确认结果已生效

常用命令示例

# 查看可访问的 workspace
uv run ./scripts/call_volcengine_supabase.py list-workspaces

# 查看 workspace 详情
uv run ./scripts/call_volcengine_supabase.py describe-workspace --workspace-id ws-xxxx

# 获取 workspace URL
uv run ./scripts/call_volcengine_supabase.py get-workspace-url --workspace-id ws-xxxx

# 查看分支
uv run ./scripts/call_volcengine_supabase.py list-branches --workspace-id ws-xxxx

# 执行 SQL
uv run ./scripts/call_volcengine_supabase.py execute-sql --workspace-id ws-xxxx --query "SELECT * FROM pg_tables LIMIT 5"

# 从文件执行 migration
uv run ./scripts/call_volcengine_supabase.py apply-migration --workspace-id ws-xxxx --name create_todos_table --query-file ./migration.sql

# 部署 Edge Function
uv run ./scripts/call_volcengine_supabase.py deploy-edge-function --workspace-id ws-xxxx --function-name hello --source-file ./index.ts

# 创建 Storage bucket
uv run ./scripts/call_volcengine_supabase.py create-storage-bucket --workspace-id ws-xxxx --bucket-name uploads --public

能力范围

工作区与分支

  • list-workspaces
  • describe-workspace
  • create-workspace
  • pause-workspace
  • restore-workspace
  • get-workspace-url
  • get-keys
  • list-branches
  • create-branch
  • delete-branch
  • reset-branch

数据库

  • execute-sql
  • list-tables
  • list-migrations
  • list-extensions
  • apply-migration
  • generate-typescript-types

Edge Functions / Storage

  • list-edge-functions
  • get-edge-function
  • deploy-edge-function
  • delete-edge-function
  • list-storage-buckets
  • create-storage-bucket
  • delete-storage-bucket
  • get-storage-config

应用开发参考

在使用本 Skill 管理 Supabase 资源的同时,以下文档提供应用开发场景的指导:

需求文档
将 Supabase 接入 TS/Python 应用(SDK 初始化 + CRUD)references/app-integration-guide.md
数据库表结构设计与迁移规范references/schema-guide.md
行级安全策略(RLS)配置references/rls-guide.md
Edge Function 编写与部署references/edge-function-dev-guide.md

💡 典型工作流:先用 CLI 创建 workspace / 建表 / 配置 RLS,再参考应用开发文档在业务代码中集成 Supabase SDK。

注意事项

  • 默认遵循“先查后改”
  • get-keys 默认脱敏,只有明确需要时才加 --reveal
  • reset-branch 会丢失未追踪变更,且后端当前会忽略 migration_version
  • READ_ONLY=true 时,所有写操作会被拒绝

参考资料

  • 工具说明:references/tool-reference.md
  • 操作流程:references/workflows.md
  • SQL 示例:references/sql-playbook.md
  • 应用集成:references/app-integration-guide.md
  • Schema 设计:references/schema-guide.md
  • RLS 策略:references/rls-guide.md
  • Edge Function 开发:references/edge-function-dev-guide.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ClawCompany

AI virtual team collaboration system with PM/Dev/Review agents for automated software development. Use when users request creating, building, or implementing...

Registry SourceRecently Updated
Coding

Xyfcli Order Guide

肥料订单下单与客户/供应商管理技能。使用 xyfcli CLI 执行:(1) 下单/订货/采购肥料;(2) 查询产品信息/价格/库存;(3) 查询客户/供应商/经销商信息;(4) 解析订货单图片。触发词:下单、订货、买肥料、查产品、查客户、供应商信息、产品列表、客户编码。

Registry SourceRecently Updated
Coding

自动周报助手

自动整理周报工具。支持从多个数据源(GitHub、飞书文档、日历)汇总工作内容,生成Markdown周报。支持保存历史、AI摘要、导出PDF/HTML、发送邮件、写入飞书文档。适用于需要定期总结工作成果的用户。

Registry SourceRecently Updated
Coding

HubSpot by altf1be

Full HubSpot platform CLI — CRM contacts/companies/deals/tickets, CMS blog posts/pages, Marketing emails/forms/lists, Conversations, Automation workflows. Pr...

Registry SourceRecently Updated