planetscale/planetscale-webhook-automation-recommendations
Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.
npx skills add https://github.com/planetscale/skills --skill planetscale-webhook-automation-recommendations
Review and recommend PlanetScale webhooks that notify humans and trigger safe automation. Do not create or update webhooks without approval.
Webhooks may trigger automation, but automation must produce recommendations, issues, branches, or pull requests by default. It must not directly mutate production databases or production application behavior without explicit human approval.
branch.anomaly: new Insights anomaly.branch.out_of_memory: Postgres out-of-memory event.branch.primary_promoted: primary failover/promotion.branch.ready: branch created and ready.branch.sleeping: branch sleeping.branch.start_maintenance: maintenance starting.cluster.storage: storage threshold or growth event.database.access_request: access request.branch.schema_recommendation: schema recommendation event when available.webhook.test: test event.deploy_request.openeddeploy_request.queueddeploy_request.in_progressdeploy_request.pending_cutoverdeploy_request.schema_applieddeploy_request.erroreddeploy_request.reverteddeploy_request.closedkeyspace.storageSend these to incident or operations channels:
branch.anomalybranch.out_of_memorybranch.primary_promotedbranch.start_maintenancecluster.storagekeyspace.storagedeploy_request.erroreddeploy_request.revertedSend these to Slack, Linear/Jira, or deployment channels:
deploy_request.openeddeploy_request.queueddeploy_request.in_progressdeploy_request.pending_cutoverdeploy_request.schema_applieddeploy_request.closedbranch.schema_recommendationSend these to an agent-safe workflow:
branch.anomalybranch.schema_recommendationdeploy_request.erroredcluster.storagekeyspace.storageAgent output may include, without approval:
Agent output must not cross the review gate on its own: no production
deploys, PR merges, Traffic Control enforcement, credential rotation, or
network changes — those require human action or a standing authorization
per ../13-autonomous-execution-mode/SKILL.md.
Recommend only receivers that meet these requirements:
branch.anomaly.For Vitess:
branch.schema_recommendation.unit; opening them requires no approval.
authorization that allowlists this deploy class
(../13-autonomous-execution-mode/SKILL.md).
For Postgres:
branch.schema_recommendation.explicit approval where no pipeline exists.
Do not recommend:
workflow. (Driving the DDL through a branch, PR, and deploy request is
the supported pattern, not an anti-pattern.)
reviewable artifact.
Return:
End with:
“No webhooks or automation endpoints have been created, updated, or deleted.”
Take planetscale/planetscale-webhook-automation-recommendations 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.