Review a PlanetScale Vitess database for safe migrations, deploy requests, schema recommendations, Insights, webhooks, and operational safety.
npx skills add https://github.com/planetscale/skills --skill planetscale-vitess-safety-review
Recommend best practices for a PlanetScale Vitess database. Focus on production safety, deployability, observability, and agent-safe automation. Do not apply any changes.
Check whether safe migrations are enabled on production and staging branches.
Recommend enabling safe migrations when:
Explain the tradeoff: safe migrations reject direct DDL on protected branches and force schema changes through deploy requests. That is a feature, but it can break teams relying on direct production DDL. Treat enablement as a behavior-changing change requiring approval.
Check:
Recommend:
the admin who opens a deploy request can also approve it. If the goal is to keep agents from
self-approving, give the agent a separate user, or a service token without deploy request
approval permission.
cutovers: it aggressively stops running transactions to complete schema
cutover. Recommend reviewing the blocking workload and incident context
before use, and only recommend the database-level aggressive cutover default
when frequent cutover blocking is understood and accepted.
Check whether the team knows the revert window and whether their incident runbook includes it.
Recommend documenting:
Recommend a branch topology:
main or equivalent production branch with safe migrations enabled.staging branch based from production with safe migrations enabled.Do not create branches without approval.
Review Insights for:
vindex usage changes after index or routing changes.
tag:key:value filtering in the dashboard, and the insights/tags and
insights/tags/summaries API endpoints for programmatic breakdowns.
Recommend enabling or improving application query tagging so Insights can attribute queries to app, route, controller, action, job, deployment SHA, and feature.
Review active and recent anomalies.
Recommend:
branch.anomaly webhooks to the team’s alerting or automation system.Review open schema recommendations.
For each recommendation, capture:
Recommend implementation path:
Do not apply recommendations directly.
Check backup posture and restore runbooks.
Recommend:
If the database is sharded, review:
Recommend an agent-safe sharding review only as a proposal. Never reshard, change vschema, or alter routing automatically.
Evaluate and recommend webhooks for:
branch.anomalybranch.primary_promotedbranch.readybranch.sleepingcluster.storagekeyspace.storagedeploy_request.openeddeploy_request.queueddeploy_request.in_progressdeploy_request.pending_cutoverdeploy_request.schema_applieddeploy_request.erroreddeploy_request.reverteddeploy_request.closedbranch.schema_recommendation if available in the webhook API for the customer’s databaseRecommended destinations:
Return:
End with:
“No Vitess changes have been applied.”
Build WhatsApp automations with Kapso workflows: configure WhatsApp triggers, edit workflow graphs, manage executions, deploy functions, and use databases/integrations for state. Use when automating WhatsApp conversations and event handling.
Add Sentry v8 error tracking and performance monitoring to your project services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.
Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.
Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.
Manage MongoDB Atlas Organizations as Azure ARM resources with unified billing through Azure Marketplace.
Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments.
Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments.
Azure Resource Manager SDK for Redis in .NET.
Take planetscale/planetscale-vitess-safety-review from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.