AgentSkillsCN

planetscale-dev-db

连接 PlanetScale 开发数据库分支,并执行 SQL 查询或数据变更操作。当用户希望查询开发数据库、在开发环境中运行 SQL、检查开发数据,或在 PlanetScale 开发分支上执行数据变更时,可选用此功能。

SKILL.md
--- frontmatter
name: planetscale-dev-db
description: Connect to the PlanetScale development database branch and execute SQL queries/mutations. Use when the user wants to query the dev database, run SQL against the development environment, inspect dev data, or execute mutations on the development PlanetScale branch.

Workflow

  1. Read .env.dev-db for connection credentials
  2. Connect to the PlanetScale development branch (MySQL)
  3. Ask the user what queries or mutations to execute
  4. Convert user requests to SQL and execute them against the database