/planetscale:planetscale-change-gates-and-approval-contractfrom planetscale
Enforces explicit approval gates for PlanetScale mutations across five operation classes (read-only, proposal, behavior-changing, production-impacting, never-autonomous).
Ships in planetscale. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prevent accidental or autonomous changes that can affect availability, safety, security, data, or developer workflows.
Allowed without approval:
Allowed by default; requires approval only when the operator has demanded strict no-mutation mode:
The last three are proposals inside an existing review system: nothing reaches production until a human merges or deploys. The gate belongs on the merge/deploy action (Class C/D), not on proposal creation. An agent that stops to ask permission to open a PR is misclassifying.
Always requires explicit approval:
Requires explicit approval, named target confirmation, rollback plan, and ideally a second human review:
Never do without direct human operation or separately approved incident procedure:
A valid approval must include:
Invalid approvals:
There is exactly one alternative to per-change approval: the risk-acknowledged
autonomous mode defined in ../13-autonomous-execution-mode/SKILL.md. When the
operator explicitly acknowledges the risk, names a scope, and states whether
production is included, that acknowledgment substitutes for per-change approval
of Class B/C (and Class D when production is included) actions within the
named scope only.
Everything else in this skill still applies in autonomous mode:
Before any Class C or D action, produce:
Then stop for approval.
If an approved change is later executed, report:
If asked to apply broad or ambiguous production changes, refuse the broad action and produce a safer named change plan.
Use this sentence:
“I will not apply broad production changes from an ambiguous instruction. I can produce a named change set with risk and rollback details.”
What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/planetscale-safe-orchestratorMaster skill that runs the full PlanetScale safe best-practices assessment — inventory, engine review, Insights, Traffic Control, webhooks, schema recommendations, codebase instrumentation, and agent operating model — then produces a unified recommendations report. Never applies changes without explicit approval. Use when the user asks to run the full assessment, all skills, or PlanetScale best-practices review./planetscale-readonly-inventoryCollect read-only evidence about PlanetScale org, database, branches, webhooks, backups, roles, Insights, recommendations, and traffic configuration./planetscale-vitess-safety-reviewReview a PlanetScale Vitess database for safe migrations, deploy requests, schema recommendations, Insights, webhooks, and operational safety./planetscale-postgres-safety-reviewReview PlanetScale Postgres for Traffic Control, query tags, roles, pg_strict, backups/PITR, private connectivity, webhooks, branches, and safe agent operation./planetscale-query-insights-and-tagsUse PlanetScale Insights and SQLCommenter-style query tags to attribute database load, identify risky queries, and prepare safe Traffic Control or schema recommendations./planetscale-traffic-control-recommendationsBuild a safe recommendation plan for PlanetScale Postgres Database Traffic Control budgets and rules without applying them.claude plugin install planetscale@claude-plugins-officialOther plugins' skills for the same job