AgentSkillsCN

planetscale-stage-db

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

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

Workflow

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