AgentSkillsCN

supabase-local-dev

初始化、启动、停止并管理本地 Supabase 开发环境。当用户输入“初始化项目”、“启动 Supabase”、“停止本地容器”或“Supabase 状态”等短语时,可触发此技能。

SKILL.md
--- frontmatter
name: supabase-local-dev
description: Initialize, start, stop, and manage local Supabase development environments. Triggered by phrases like "init project", "start supabase", "stop local containers", or "supabase status".

Supabase Local Development Skill

Goal

Manage the local Supabase environment for development and testing.

Instructions

  1. Identify the user's intent (e.g., starting the environment, checking status).
  2. Open the relevant rule file(s) for the command:
  3. Ensure Docker is running before executing start or stop.
  4. Verify the environment state with supabase status after changes.

Examples

  • "Initialize a new project" -> Use supabase init
  • "Start the local database" -> Use supabase start
  • "Stop all containers" -> Use supabase stop