supabase-agent-skills

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

supabase-agent-skills

supabase-agent-skills

Use this skill when the task involves enabling Supabase workflows for AI agents using the open-source
supabase/agent-skills
package.
当任务涉及使用开源的
supabase/agent-skills
包为AI Agent启用Supabase工作流时,请使用本技能。

When to use

使用场景

  • Install Supabase skill packs for Claude/Codex/Copilot/Cursor style agents
  • Select only specific Supabase skills instead of bulk install
  • Verify that skill installation succeeded before relying on generated code
  • Route to direct SQL/CLI checks when skill loading is unavailable
  • 为Claude/Codex/Copilot/Cursor类Agent安装Supabase技能包
  • 仅选择特定的Supabase技能而非批量安装
  • 在依赖生成的代码前验证技能安装是否成功
  • 当技能加载不可用时,切换到直接的SQL/CLI检查流程

Instructions

操作步骤

Step 1: Verify prerequisites

步骤1:验证前置条件

  • Confirm Node.js and npm/npx are available.
  • Confirm project actually uses Supabase/Postgres before installing extra skills.
bash
node -v
npm -v
  • 确认Node.js和npm/npx已可用。
  • 在安装额外技能前,确认项目确实使用Supabase/Postgres。
bash
node -v
npm -v

Step 2: Install skill package

步骤2:安装技能包

Use one of these paths:
bash
undefined
选择以下方式之一:
bash
undefined

Install all Supabase skills

安装所有Supabase技能

npx skills add supabase/agent-skills
npx skills add supabase/agent-skills

Install specific skill only

仅安装特定技能

npx skills add supabase/agent-skills --skill supabase npx skills add supabase/agent-skills --skill supabase-postgres-best-practices
undefined
npx skills add supabase/agent-skills --skill supabase npx skills add supabase/agent-skills --skill supabase-postgres-best-practices
undefined

Step 3: Optional Claude plugin path

步骤3:可选的Claude插件安装路径

If using Claude plugin workflow:
bash
claude plugin marketplace add supabase/agent-skills
claude plugin install supabase@supabase-agent-skills
如果使用Claude插件工作流:
bash
claude plugin marketplace add supabase/agent-skills
claude plugin install supabase@supabase-agent-skills

Step 4: Verify and smoke test

步骤4:验证与冒烟测试

  • Confirm installed skill list includes Supabase entries.
  • Run one bounded task (schema introspection or query review) and inspect output quality.
  • If results are weak, fall back to direct commands and SQL inspection.
  • 确认已安装技能列表中包含Supabase相关条目。
  • 运行一个限定任务(如架构自省或查询审查)并检查输出质量。
  • 如果结果不理想,回退到直接命令和SQL检查。

Step 5: Fallback strategy

步骤5:回退策略

When agent skill loading is unavailable:
  • Use direct Supabase CLI and SQL workflow.
  • Keep migration/review steps explicit; do not rely on hidden agent assumptions.
当Agent技能加载不可用时:
  • 使用直接的Supabase CLI和SQL工作流。
  • 明确保留迁移/审查步骤;不要依赖Agent的隐藏假设。

Guardrails

防护规则

  • Do not run destructive SQL/migrations without explicit confirmation.
  • Prefer read-only verification first (
    SELECT
    , schema introspection, dry-run if available).
  • Keep credentials in environment/secret manager; never hardcode tokens in repo files.
  • 在未得到明确确认前,不要运行具有破坏性的SQL/迁移操作。
  • 优先选择只读验证(
    SELECT
    、架构自省、如有可用则使用预演运行)。
  • 将凭据存储在环境变量/密钥管理器中;切勿在仓库文件中硬编码令牌。

Evidence

参考资料