星球规模/技能是从https://github.com/planetscale/skills.导入的特工技能候选。
概览
星球规模/技能是从https://github.com/planetscale/skills.导入的特工技能候选。
概述(AI 翻译)
一个技能包,将你的编码代理变成PlanetScale数据库 审核员和操作员。指向某个组织,它会进行审计 配置、查询行为、开放推荐和安全态势—— 然后,在你的批准下,工作开始:可审查的模式变更, 包括仪器PR、Webhooks和定时自动化。
适用于任何读取SKILL.md文件的代理——光标,Claude代码,
以及任何遵循开放代理技能惯例的事物。技能包括
普通的标记删除指令;所有输出都是标记和文本。没有任何
Agent专用:无插件,无自定义工具,无专有渲染。
它的作用
- 评估 — 对一个数据库或 整个组织:分支和安全工作流程,备份与恢复 态势、凭证、查询洞察、异常、SQL注释/查询标签 覆盖范围、开放模式推荐、Webhooks和流量控制。
- 报告 — 一个单一的折扣报告,每个索赔都包含 制定该报告的指挥部及其每项建议都带有审慎的 找到、一个门和一条回滚路径。
- 执行 — 经您同意,通过PlanetScale自家更改飞船
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
PlanetScale Skills
A skill pack that turns your coding agent into a PlanetScale database reviewer and operator. Point it at an organization and it audits configuration, query behavior, open recommendations, and safety posture — then, with your approval, does the work: reviewable schema changes, instrumentation PRs, webhooks, and scheduled automation.
Works with any agent that reads SKILL.md files — Cursor, Claude Code,
and anything following the open agent-skills convention. The skills are
plain markdown instructions; all output is markdown and text. Nothing is
agent-specific: no plugins, no custom tools, no proprietary rendering.
What it does
- Assess — a read-only, evidence-backed review of one database or a whole organization: branch and safety workflow, backups and restore posture, credentials, Query Insights, anomalies, SQL comment / query tag coverage, open schema recommendations, webhooks, and Traffic Control.
- Report — a single markdown report where every claim carries the command that produced it and every recommendation carries a measured finding, a gate, and a rollback path.
- Execute — on your approval, changes ship through PlanetScale’s own safety mechanisms: development branches, pull requests, deploy requests with revert windows, warn-before-enforce Traffic Control budgets.
- Automate — scheduled agent loops that sweep recommendations into ready-to-ship PRs, watch for query regressions, and detect posture drift.
Setup
Prerequisites
-
PlanetScale CLI, authenticated for automation:
brew install planetscale/tap/pscale # or see planetscale.com/cli pscale agent-guide --format json # CLI conventions (or load skill planetscale-pscale-cli-automation) pscale auth check --format json # verify auth; follow next_steps if action_required pscale org list --format json # verify accessAgents should always pass
--format jsononpscalecommands. Usepscale sqlfor non-interactive queries, notpscale shell. See skillplanetscale-pscale-cli-automationor the CLI repoAGENTS.mdfor full conventions. -
Optional: PlanetScale MCP server. The skills prefer the insights-only MCP server for telemetry analysis when it is available, and fall back to
pscale/pscale apiotherwise. Nothing requires MCP. -
Recommended: run from your application repository. The skills work anywhere, but they are significantly better when the agent runs inside the repo that contains the code talking to the database. See Run it from the repo that uses the database.
Install the skills
The skills work with any agent that reads SKILL.md files. Pick the
route that fits:
Setup script (recommended). Detects installed agents and installs to each of them:
git clone https://github.com/planetscale/skills.git
cd skills && script/setup
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add planetscale/skills