[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-planetscale-planetscale-webhook-automation-recommendations":3,"mdc--q7ls5e-key":37,"related-org-planetscale-planetscale-webhook-automation-recommendations":924,"related-repo-planetscale-planetscale-webhook-automation-recommendations":1100},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"planetscale-webhook-automation-recommendations","recommend PlanetScale webhook automation patterns","Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"planetscale","PlanetScale","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fplanetscale.png",[12,16,19,22,23],{"name":13,"slug":14,"type":15},"Alerting","alerting","tag",{"name":17,"slug":18,"type":15},"Automation","automation",{"name":20,"slug":21,"type":15},"Database","database",{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},"Webhooks","webhooks",50,"https:\u002F\u002Fgithub.com\u002Fplanetscale\u002Fskills","2026-07-05T06:32:42.761182",null,1,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"Skills that help you configure and get the most out of PlanetScale","https:\u002F\u002Fgithub.com\u002Fplanetscale\u002Fskills\u002Ftree\u002FHEAD\u002F06-webhook-automation-recommendations","---\nname: planetscale-webhook-automation-recommendations\ndescription: Recommend webhook subscriptions and safe automation patterns for PlanetScale alerts, anomalies, schema recommendations, deploy requests, and agent workflows.\n---\n\n# Webhook automation recommendations\n\n## Purpose\n\nReview and recommend PlanetScale webhooks that notify humans and trigger safe automation. Do not create or update webhooks without approval.\n\n## Webhook design principle\n\nWebhooks 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.\n\n## Events to evaluate\n\n### General and Postgres\n\n- `branch.anomaly`: new Insights anomaly.\n- `branch.out_of_memory`: Postgres out-of-memory event.\n- `branch.primary_promoted`: primary failover\u002Fpromotion.\n- `branch.ready`: branch created and ready.\n- `branch.sleeping`: branch sleeping.\n- `branch.start_maintenance`: maintenance starting.\n- `cluster.storage`: storage threshold or growth event.\n- `database.access_request`: access request.\n- `branch.schema_recommendation`: schema recommendation event when available.\n- `webhook.test`: test event.\n\n### Vitess deploy lifecycle\n\n- `deploy_request.opened`\n- `deploy_request.queued`\n- `deploy_request.in_progress`\n- `deploy_request.pending_cutover`\n- `deploy_request.schema_applied`\n- `deploy_request.errored`\n- `deploy_request.reverted`\n- `deploy_request.closed`\n- `keyspace.storage`\n\n## Recommended routing\n\n### Human alerting\n\nSend these to incident or operations channels:\n\n- `branch.anomaly`\n- `branch.out_of_memory`\n- `branch.primary_promoted`\n- `branch.start_maintenance`\n- `cluster.storage`\n- `keyspace.storage`\n- `deploy_request.errored`\n- `deploy_request.reverted`\n\n### Engineering notification\n\nSend these to Slack, Linear\u002FJira, or deployment channels:\n\n- `deploy_request.opened`\n- `deploy_request.queued`\n- `deploy_request.in_progress`\n- `deploy_request.pending_cutover`\n- `deploy_request.schema_applied`\n- `deploy_request.closed`\n- `branch.schema_recommendation`\n\n### Agent intake queue\n\nSend these to an agent-safe workflow:\n\n- `branch.anomaly`\n- `branch.schema_recommendation`\n- `deploy_request.errored`\n- `cluster.storage`\n- `keyspace.storage`\n\nAgent output may include, without approval:\n\n- Triage summary, probable cause, linked Insights\u002Fquery patterns.\n- Recommended schema, code, Traffic Control, or operational change.\n- Pull request against application code.\n- Development branch with DDL or migration applied.\n- Open deploy request into a review-protected branch.\n- Issue or ticket.\n\nAgent output must not cross the review gate on its own: no production\ndeploys, PR merges, Traffic Control enforcement, credential rotation, or\nnetwork changes — those require human action or a standing authorization\nper `..\u002F13-autonomous-execution-mode\u002FSKILL.md`.\n\n## Webhook receiver requirements\n\nRecommend only receivers that meet these requirements:\n\n- HTTPS endpoint.\n- Fast 2xx response; expensive work is queued asynchronously.\n- No dependency on following redirects.\n- Signature verification using PlanetScale webhook signature header and the webhook secret.\n- Idempotency by event ID or timestamp\u002Fresource tuple.\n- Dead-letter queue or retry-safe logging.\n- Human-readable audit trail.\n- Clear owner and escalation path.\n- Secret rotation procedure.\n\n## Recommended automation flows\n\n### Anomaly to PR flow\n\n1. Receive `branch.anomaly`.\n2. Verify signature.\n3. Queue job.\n4. Fetch anomaly details and relevant Insights query patterns.\n5. Locate code path by SQLCommenter tags and repository search.\n6. Classify as schema, code, Traffic Control, or unknown.\n7. Generate report and optional PR.\n8. Ask human to approve database-affecting work.\n\n### Schema recommendation to branch\u002Fdeploy flow\n\nFor Vitess:\n\n1. Receive `branch.schema_recommendation`.\n2. Fetch recommendation details.\n3. Apply the DDL to a development branch.\n4. Open a pull request with fingerprint, metrics, and expected effect.\n5. Open the deploy request — the DR and PR together are the reviewable\n   unit; opening them requires no approval.\n6. Deploy on human approval, or autonomously under a standing\n   authorization that allowlists this deploy class\n   (`..\u002F13-autonomous-execution-mode\u002FSKILL.md`).\n\nFor Postgres:\n\n1. Receive `branch.schema_recommendation`.\n2. Fetch recommendation details.\n3. Convert DDL to application migration.\n4. Test on a non-production branch and record the result in the PR.\n5. Open PR.\n6. Apply to production on merge via the deployment pipeline, or on\n   explicit approval where no pipeline exists.\n\n### Deploy request lifecycle flow for Vitess\n\n- Notify when opened.\n- Validate owner and linked application PR.\n- Alert when queued or in progress.\n- Alert strongly when errored or reverted.\n- Notify pending cutover and require owner acknowledgement for gated deployments.\n- Record schema applied and correlate with application deploy.\n\n## Anti-patterns to block\n\nDo not recommend:\n\n- Webhook directly runs production DDL, bypassing the PR\u002Fdeploy-request\n  workflow. (Driving the DDL through a branch, PR, and deploy request is\n  the supported pattern, not an anti-pattern.)\n- Webhook applies schema recommendations straight to production with no\n  reviewable artifact.\n- Webhook directly enforces Traffic Control.\n- Webhook directly changes IP restrictions.\n- Webhook directly rotates credentials.\n- Webhook posts secrets or raw SQL with literals into public Slack channels.\n- Webhook receiver ignores signature verification.\n- Webhook receiver does long-running work before returning 2xx.\n\n## Output\n\nReturn:\n\n- Existing webhook inventory.\n- Missing recommended subscriptions.\n- Destination quality review.\n- Signature verification status.\n- Automation opportunities.\n- Unsafe automation risks.\n- Proposed webhook changes requiring approval.\n\nEnd with:\n\n“No webhooks or automation endpoints have been created, updated, or deleted.”\n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,51,58,64,70,75,81,88,204,210,294,300,306,311,378,384,389,448,454,459,502,507,540,553,559,564,612,618,624,674,680,685,730,735,772,778,811,817,822,865,871,876,914,919],{"type":43,"tag":44,"props":45,"children":47},"element","h1",{"id":46},"webhook-automation-recommendations",[48],{"type":49,"value":50},"text","Webhook automation recommendations",{"type":43,"tag":52,"props":53,"children":55},"h2",{"id":54},"purpose",[56],{"type":49,"value":57},"Purpose",{"type":43,"tag":59,"props":60,"children":61},"p",{},[62],{"type":49,"value":63},"Review and recommend PlanetScale webhooks that notify humans and trigger safe automation. Do not create or update webhooks without approval.",{"type":43,"tag":52,"props":65,"children":67},{"id":66},"webhook-design-principle",[68],{"type":49,"value":69},"Webhook design principle",{"type":43,"tag":59,"props":71,"children":72},{},[73],{"type":49,"value":74},"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.",{"type":43,"tag":52,"props":76,"children":78},{"id":77},"events-to-evaluate",[79],{"type":49,"value":80},"Events to evaluate",{"type":43,"tag":82,"props":83,"children":85},"h3",{"id":84},"general-and-postgres",[86],{"type":49,"value":87},"General and Postgres",{"type":43,"tag":89,"props":90,"children":91},"ul",{},[92,105,116,127,138,149,160,171,182,193],{"type":43,"tag":93,"props":94,"children":95},"li",{},[96,103],{"type":43,"tag":97,"props":98,"children":100},"code",{"className":99},[],[101],{"type":49,"value":102},"branch.anomaly",{"type":49,"value":104},": new Insights anomaly.",{"type":43,"tag":93,"props":106,"children":107},{},[108,114],{"type":43,"tag":97,"props":109,"children":111},{"className":110},[],[112],{"type":49,"value":113},"branch.out_of_memory",{"type":49,"value":115},": Postgres out-of-memory event.",{"type":43,"tag":93,"props":117,"children":118},{},[119,125],{"type":43,"tag":97,"props":120,"children":122},{"className":121},[],[123],{"type":49,"value":124},"branch.primary_promoted",{"type":49,"value":126},": primary failover\u002Fpromotion.",{"type":43,"tag":93,"props":128,"children":129},{},[130,136],{"type":43,"tag":97,"props":131,"children":133},{"className":132},[],[134],{"type":49,"value":135},"branch.ready",{"type":49,"value":137},": branch created and ready.",{"type":43,"tag":93,"props":139,"children":140},{},[141,147],{"type":43,"tag":97,"props":142,"children":144},{"className":143},[],[145],{"type":49,"value":146},"branch.sleeping",{"type":49,"value":148},": branch sleeping.",{"type":43,"tag":93,"props":150,"children":151},{},[152,158],{"type":43,"tag":97,"props":153,"children":155},{"className":154},[],[156],{"type":49,"value":157},"branch.start_maintenance",{"type":49,"value":159},": maintenance starting.",{"type":43,"tag":93,"props":161,"children":162},{},[163,169],{"type":43,"tag":97,"props":164,"children":166},{"className":165},[],[167],{"type":49,"value":168},"cluster.storage",{"type":49,"value":170},": storage threshold or growth event.",{"type":43,"tag":93,"props":172,"children":173},{},[174,180],{"type":43,"tag":97,"props":175,"children":177},{"className":176},[],[178],{"type":49,"value":179},"database.access_request",{"type":49,"value":181},": access request.",{"type":43,"tag":93,"props":183,"children":184},{},[185,191],{"type":43,"tag":97,"props":186,"children":188},{"className":187},[],[189],{"type":49,"value":190},"branch.schema_recommendation",{"type":49,"value":192},": schema recommendation event when available.",{"type":43,"tag":93,"props":194,"children":195},{},[196,202],{"type":43,"tag":97,"props":197,"children":199},{"className":198},[],[200],{"type":49,"value":201},"webhook.test",{"type":49,"value":203},": test event.",{"type":43,"tag":82,"props":205,"children":207},{"id":206},"vitess-deploy-lifecycle",[208],{"type":49,"value":209},"Vitess deploy lifecycle",{"type":43,"tag":89,"props":211,"children":212},{},[213,222,231,240,249,258,267,276,285],{"type":43,"tag":93,"props":214,"children":215},{},[216],{"type":43,"tag":97,"props":217,"children":219},{"className":218},[],[220],{"type":49,"value":221},"deploy_request.opened",{"type":43,"tag":93,"props":223,"children":224},{},[225],{"type":43,"tag":97,"props":226,"children":228},{"className":227},[],[229],{"type":49,"value":230},"deploy_request.queued",{"type":43,"tag":93,"props":232,"children":233},{},[234],{"type":43,"tag":97,"props":235,"children":237},{"className":236},[],[238],{"type":49,"value":239},"deploy_request.in_progress",{"type":43,"tag":93,"props":241,"children":242},{},[243],{"type":43,"tag":97,"props":244,"children":246},{"className":245},[],[247],{"type":49,"value":248},"deploy_request.pending_cutover",{"type":43,"tag":93,"props":250,"children":251},{},[252],{"type":43,"tag":97,"props":253,"children":255},{"className":254},[],[256],{"type":49,"value":257},"deploy_request.schema_applied",{"type":43,"tag":93,"props":259,"children":260},{},[261],{"type":43,"tag":97,"props":262,"children":264},{"className":263},[],[265],{"type":49,"value":266},"deploy_request.errored",{"type":43,"tag":93,"props":268,"children":269},{},[270],{"type":43,"tag":97,"props":271,"children":273},{"className":272},[],[274],{"type":49,"value":275},"deploy_request.reverted",{"type":43,"tag":93,"props":277,"children":278},{},[279],{"type":43,"tag":97,"props":280,"children":282},{"className":281},[],[283],{"type":49,"value":284},"deploy_request.closed",{"type":43,"tag":93,"props":286,"children":287},{},[288],{"type":43,"tag":97,"props":289,"children":291},{"className":290},[],[292],{"type":49,"value":293},"keyspace.storage",{"type":43,"tag":52,"props":295,"children":297},{"id":296},"recommended-routing",[298],{"type":49,"value":299},"Recommended routing",{"type":43,"tag":82,"props":301,"children":303},{"id":302},"human-alerting",[304],{"type":49,"value":305},"Human alerting",{"type":43,"tag":59,"props":307,"children":308},{},[309],{"type":49,"value":310},"Send these to incident or operations channels:",{"type":43,"tag":89,"props":312,"children":313},{},[314,322,330,338,346,354,362,370],{"type":43,"tag":93,"props":315,"children":316},{},[317],{"type":43,"tag":97,"props":318,"children":320},{"className":319},[],[321],{"type":49,"value":102},{"type":43,"tag":93,"props":323,"children":324},{},[325],{"type":43,"tag":97,"props":326,"children":328},{"className":327},[],[329],{"type":49,"value":113},{"type":43,"tag":93,"props":331,"children":332},{},[333],{"type":43,"tag":97,"props":334,"children":336},{"className":335},[],[337],{"type":49,"value":124},{"type":43,"tag":93,"props":339,"children":340},{},[341],{"type":43,"tag":97,"props":342,"children":344},{"className":343},[],[345],{"type":49,"value":157},{"type":43,"tag":93,"props":347,"children":348},{},[349],{"type":43,"tag":97,"props":350,"children":352},{"className":351},[],[353],{"type":49,"value":168},{"type":43,"tag":93,"props":355,"children":356},{},[357],{"type":43,"tag":97,"props":358,"children":360},{"className":359},[],[361],{"type":49,"value":293},{"type":43,"tag":93,"props":363,"children":364},{},[365],{"type":43,"tag":97,"props":366,"children":368},{"className":367},[],[369],{"type":49,"value":266},{"type":43,"tag":93,"props":371,"children":372},{},[373],{"type":43,"tag":97,"props":374,"children":376},{"className":375},[],[377],{"type":49,"value":275},{"type":43,"tag":82,"props":379,"children":381},{"id":380},"engineering-notification",[382],{"type":49,"value":383},"Engineering notification",{"type":43,"tag":59,"props":385,"children":386},{},[387],{"type":49,"value":388},"Send these to Slack, Linear\u002FJira, or deployment channels:",{"type":43,"tag":89,"props":390,"children":391},{},[392,400,408,416,424,432,440],{"type":43,"tag":93,"props":393,"children":394},{},[395],{"type":43,"tag":97,"props":396,"children":398},{"className":397},[],[399],{"type":49,"value":221},{"type":43,"tag":93,"props":401,"children":402},{},[403],{"type":43,"tag":97,"props":404,"children":406},{"className":405},[],[407],{"type":49,"value":230},{"type":43,"tag":93,"props":409,"children":410},{},[411],{"type":43,"tag":97,"props":412,"children":414},{"className":413},[],[415],{"type":49,"value":239},{"type":43,"tag":93,"props":417,"children":418},{},[419],{"type":43,"tag":97,"props":420,"children":422},{"className":421},[],[423],{"type":49,"value":248},{"type":43,"tag":93,"props":425,"children":426},{},[427],{"type":43,"tag":97,"props":428,"children":430},{"className":429},[],[431],{"type":49,"value":257},{"type":43,"tag":93,"props":433,"children":434},{},[435],{"type":43,"tag":97,"props":436,"children":438},{"className":437},[],[439],{"type":49,"value":284},{"type":43,"tag":93,"props":441,"children":442},{},[443],{"type":43,"tag":97,"props":444,"children":446},{"className":445},[],[447],{"type":49,"value":190},{"type":43,"tag":82,"props":449,"children":451},{"id":450},"agent-intake-queue",[452],{"type":49,"value":453},"Agent intake queue",{"type":43,"tag":59,"props":455,"children":456},{},[457],{"type":49,"value":458},"Send these to an agent-safe workflow:",{"type":43,"tag":89,"props":460,"children":461},{},[462,470,478,486,494],{"type":43,"tag":93,"props":463,"children":464},{},[465],{"type":43,"tag":97,"props":466,"children":468},{"className":467},[],[469],{"type":49,"value":102},{"type":43,"tag":93,"props":471,"children":472},{},[473],{"type":43,"tag":97,"props":474,"children":476},{"className":475},[],[477],{"type":49,"value":190},{"type":43,"tag":93,"props":479,"children":480},{},[481],{"type":43,"tag":97,"props":482,"children":484},{"className":483},[],[485],{"type":49,"value":266},{"type":43,"tag":93,"props":487,"children":488},{},[489],{"type":43,"tag":97,"props":490,"children":492},{"className":491},[],[493],{"type":49,"value":168},{"type":43,"tag":93,"props":495,"children":496},{},[497],{"type":43,"tag":97,"props":498,"children":500},{"className":499},[],[501],{"type":49,"value":293},{"type":43,"tag":59,"props":503,"children":504},{},[505],{"type":49,"value":506},"Agent output may include, without approval:",{"type":43,"tag":89,"props":508,"children":509},{},[510,515,520,525,530,535],{"type":43,"tag":93,"props":511,"children":512},{},[513],{"type":49,"value":514},"Triage summary, probable cause, linked Insights\u002Fquery patterns.",{"type":43,"tag":93,"props":516,"children":517},{},[518],{"type":49,"value":519},"Recommended schema, code, Traffic Control, or operational change.",{"type":43,"tag":93,"props":521,"children":522},{},[523],{"type":49,"value":524},"Pull request against application code.",{"type":43,"tag":93,"props":526,"children":527},{},[528],{"type":49,"value":529},"Development branch with DDL or migration applied.",{"type":43,"tag":93,"props":531,"children":532},{},[533],{"type":49,"value":534},"Open deploy request into a review-protected branch.",{"type":43,"tag":93,"props":536,"children":537},{},[538],{"type":49,"value":539},"Issue or ticket.",{"type":43,"tag":59,"props":541,"children":542},{},[543,545,551],{"type":49,"value":544},"Agent output must not cross the review gate on its own: no production\ndeploys, PR merges, Traffic Control enforcement, credential rotation, or\nnetwork changes — those require human action or a standing authorization\nper ",{"type":43,"tag":97,"props":546,"children":548},{"className":547},[],[549],{"type":49,"value":550},"..\u002F13-autonomous-execution-mode\u002FSKILL.md",{"type":49,"value":552},".",{"type":43,"tag":52,"props":554,"children":556},{"id":555},"webhook-receiver-requirements",[557],{"type":49,"value":558},"Webhook receiver requirements",{"type":43,"tag":59,"props":560,"children":561},{},[562],{"type":49,"value":563},"Recommend only receivers that meet these requirements:",{"type":43,"tag":89,"props":565,"children":566},{},[567,572,577,582,587,592,597,602,607],{"type":43,"tag":93,"props":568,"children":569},{},[570],{"type":49,"value":571},"HTTPS endpoint.",{"type":43,"tag":93,"props":573,"children":574},{},[575],{"type":49,"value":576},"Fast 2xx response; expensive work is queued asynchronously.",{"type":43,"tag":93,"props":578,"children":579},{},[580],{"type":49,"value":581},"No dependency on following redirects.",{"type":43,"tag":93,"props":583,"children":584},{},[585],{"type":49,"value":586},"Signature verification using PlanetScale webhook signature header and the webhook secret.",{"type":43,"tag":93,"props":588,"children":589},{},[590],{"type":49,"value":591},"Idempotency by event ID or timestamp\u002Fresource tuple.",{"type":43,"tag":93,"props":593,"children":594},{},[595],{"type":49,"value":596},"Dead-letter queue or retry-safe logging.",{"type":43,"tag":93,"props":598,"children":599},{},[600],{"type":49,"value":601},"Human-readable audit trail.",{"type":43,"tag":93,"props":603,"children":604},{},[605],{"type":49,"value":606},"Clear owner and escalation path.",{"type":43,"tag":93,"props":608,"children":609},{},[610],{"type":49,"value":611},"Secret rotation procedure.",{"type":43,"tag":52,"props":613,"children":615},{"id":614},"recommended-automation-flows",[616],{"type":49,"value":617},"Recommended automation flows",{"type":43,"tag":82,"props":619,"children":621},{"id":620},"anomaly-to-pr-flow",[622],{"type":49,"value":623},"Anomaly to PR flow",{"type":43,"tag":625,"props":626,"children":627},"ol",{},[628,639,644,649,654,659,664,669],{"type":43,"tag":93,"props":629,"children":630},{},[631,633,638],{"type":49,"value":632},"Receive ",{"type":43,"tag":97,"props":634,"children":636},{"className":635},[],[637],{"type":49,"value":102},{"type":49,"value":552},{"type":43,"tag":93,"props":640,"children":641},{},[642],{"type":49,"value":643},"Verify signature.",{"type":43,"tag":93,"props":645,"children":646},{},[647],{"type":49,"value":648},"Queue job.",{"type":43,"tag":93,"props":650,"children":651},{},[652],{"type":49,"value":653},"Fetch anomaly details and relevant Insights query patterns.",{"type":43,"tag":93,"props":655,"children":656},{},[657],{"type":49,"value":658},"Locate code path by SQLCommenter tags and repository search.",{"type":43,"tag":93,"props":660,"children":661},{},[662],{"type":49,"value":663},"Classify as schema, code, Traffic Control, or unknown.",{"type":43,"tag":93,"props":665,"children":666},{},[667],{"type":49,"value":668},"Generate report and optional PR.",{"type":43,"tag":93,"props":670,"children":671},{},[672],{"type":49,"value":673},"Ask human to approve database-affecting work.",{"type":43,"tag":82,"props":675,"children":677},{"id":676},"schema-recommendation-to-branchdeploy-flow",[678],{"type":49,"value":679},"Schema recommendation to branch\u002Fdeploy flow",{"type":43,"tag":59,"props":681,"children":682},{},[683],{"type":49,"value":684},"For Vitess:",{"type":43,"tag":625,"props":686,"children":687},{},[688,698,703,708,713,718],{"type":43,"tag":93,"props":689,"children":690},{},[691,692,697],{"type":49,"value":632},{"type":43,"tag":97,"props":693,"children":695},{"className":694},[],[696],{"type":49,"value":190},{"type":49,"value":552},{"type":43,"tag":93,"props":699,"children":700},{},[701],{"type":49,"value":702},"Fetch recommendation details.",{"type":43,"tag":93,"props":704,"children":705},{},[706],{"type":49,"value":707},"Apply the DDL to a development branch.",{"type":43,"tag":93,"props":709,"children":710},{},[711],{"type":49,"value":712},"Open a pull request with fingerprint, metrics, and expected effect.",{"type":43,"tag":93,"props":714,"children":715},{},[716],{"type":49,"value":717},"Open the deploy request — the DR and PR together are the reviewable\nunit; opening them requires no approval.",{"type":43,"tag":93,"props":719,"children":720},{},[721,723,728],{"type":49,"value":722},"Deploy on human approval, or autonomously under a standing\nauthorization that allowlists this deploy class\n(",{"type":43,"tag":97,"props":724,"children":726},{"className":725},[],[727],{"type":49,"value":550},{"type":49,"value":729},").",{"type":43,"tag":59,"props":731,"children":732},{},[733],{"type":49,"value":734},"For Postgres:",{"type":43,"tag":625,"props":736,"children":737},{},[738,748,752,757,762,767],{"type":43,"tag":93,"props":739,"children":740},{},[741,742,747],{"type":49,"value":632},{"type":43,"tag":97,"props":743,"children":745},{"className":744},[],[746],{"type":49,"value":190},{"type":49,"value":552},{"type":43,"tag":93,"props":749,"children":750},{},[751],{"type":49,"value":702},{"type":43,"tag":93,"props":753,"children":754},{},[755],{"type":49,"value":756},"Convert DDL to application migration.",{"type":43,"tag":93,"props":758,"children":759},{},[760],{"type":49,"value":761},"Test on a non-production branch and record the result in the PR.",{"type":43,"tag":93,"props":763,"children":764},{},[765],{"type":49,"value":766},"Open PR.",{"type":43,"tag":93,"props":768,"children":769},{},[770],{"type":49,"value":771},"Apply to production on merge via the deployment pipeline, or on\nexplicit approval where no pipeline exists.",{"type":43,"tag":82,"props":773,"children":775},{"id":774},"deploy-request-lifecycle-flow-for-vitess",[776],{"type":49,"value":777},"Deploy request lifecycle flow for Vitess",{"type":43,"tag":89,"props":779,"children":780},{},[781,786,791,796,801,806],{"type":43,"tag":93,"props":782,"children":783},{},[784],{"type":49,"value":785},"Notify when opened.",{"type":43,"tag":93,"props":787,"children":788},{},[789],{"type":49,"value":790},"Validate owner and linked application PR.",{"type":43,"tag":93,"props":792,"children":793},{},[794],{"type":49,"value":795},"Alert when queued or in progress.",{"type":43,"tag":93,"props":797,"children":798},{},[799],{"type":49,"value":800},"Alert strongly when errored or reverted.",{"type":43,"tag":93,"props":802,"children":803},{},[804],{"type":49,"value":805},"Notify pending cutover and require owner acknowledgement for gated deployments.",{"type":43,"tag":93,"props":807,"children":808},{},[809],{"type":49,"value":810},"Record schema applied and correlate with application deploy.",{"type":43,"tag":52,"props":812,"children":814},{"id":813},"anti-patterns-to-block",[815],{"type":49,"value":816},"Anti-patterns to block",{"type":43,"tag":59,"props":818,"children":819},{},[820],{"type":49,"value":821},"Do not recommend:",{"type":43,"tag":89,"props":823,"children":824},{},[825,830,835,840,845,850,855,860],{"type":43,"tag":93,"props":826,"children":827},{},[828],{"type":49,"value":829},"Webhook directly runs production DDL, bypassing the PR\u002Fdeploy-request\nworkflow. (Driving the DDL through a branch, PR, and deploy request is\nthe supported pattern, not an anti-pattern.)",{"type":43,"tag":93,"props":831,"children":832},{},[833],{"type":49,"value":834},"Webhook applies schema recommendations straight to production with no\nreviewable artifact.",{"type":43,"tag":93,"props":836,"children":837},{},[838],{"type":49,"value":839},"Webhook directly enforces Traffic Control.",{"type":43,"tag":93,"props":841,"children":842},{},[843],{"type":49,"value":844},"Webhook directly changes IP restrictions.",{"type":43,"tag":93,"props":846,"children":847},{},[848],{"type":49,"value":849},"Webhook directly rotates credentials.",{"type":43,"tag":93,"props":851,"children":852},{},[853],{"type":49,"value":854},"Webhook posts secrets or raw SQL with literals into public Slack channels.",{"type":43,"tag":93,"props":856,"children":857},{},[858],{"type":49,"value":859},"Webhook receiver ignores signature verification.",{"type":43,"tag":93,"props":861,"children":862},{},[863],{"type":49,"value":864},"Webhook receiver does long-running work before returning 2xx.",{"type":43,"tag":52,"props":866,"children":868},{"id":867},"output",[869],{"type":49,"value":870},"Output",{"type":43,"tag":59,"props":872,"children":873},{},[874],{"type":49,"value":875},"Return:",{"type":43,"tag":89,"props":877,"children":878},{},[879,884,889,894,899,904,909],{"type":43,"tag":93,"props":880,"children":881},{},[882],{"type":49,"value":883},"Existing webhook inventory.",{"type":43,"tag":93,"props":885,"children":886},{},[887],{"type":49,"value":888},"Missing recommended subscriptions.",{"type":43,"tag":93,"props":890,"children":891},{},[892],{"type":49,"value":893},"Destination quality review.",{"type":43,"tag":93,"props":895,"children":896},{},[897],{"type":49,"value":898},"Signature verification status.",{"type":43,"tag":93,"props":900,"children":901},{},[902],{"type":49,"value":903},"Automation opportunities.",{"type":43,"tag":93,"props":905,"children":906},{},[907],{"type":49,"value":908},"Unsafe automation risks.",{"type":43,"tag":93,"props":910,"children":911},{},[912],{"type":49,"value":913},"Proposed webhook changes requiring approval.",{"type":43,"tag":59,"props":915,"children":916},{},[917],{"type":49,"value":918},"End with:",{"type":43,"tag":59,"props":920,"children":921},{},[922],{"type":49,"value":923},"“No webhooks or automation endpoints have been created, updated, or deleted.”",{"items":925,"total":1099},[926,947,960,971,984,1000,1011,1026,1042,1059,1071,1086],{"slug":927,"name":927,"fn":928,"description":929,"org":930,"tags":931,"stars":944,"repoUrl":945,"updatedAt":946},"mysql","plan and optimize MySQL database schemas","Plan and review MySQL\u002FInnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow\u002Flocking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[932,935,936,938,941],{"name":933,"slug":934,"type":15},"Data Modeling","data-modeling",{"name":20,"slug":21,"type":15},{"name":937,"slug":927,"type":15},"MySQL",{"name":939,"slug":940,"type":15},"Performance","performance",{"name":942,"slug":943,"type":15},"SQL","sql",557,"https:\u002F\u002Fgithub.com\u002Fplanetscale\u002Fdatabase-skills","2026-04-06T18:43:45.381961",{"slug":948,"name":948,"fn":949,"description":950,"org":951,"tags":952,"stars":944,"repoUrl":945,"updatedAt":959},"neki","manage sharded PostgreSQL with Neki","Overview and information about Neki, the sharded Postgres product by PlanetScale. Load when working with Neki-related tasks and the need to scale or shard postgres. Load when facing Postgres scaling or sharding issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[953,954,955,956],{"name":20,"slug":21,"type":15},{"name":939,"slug":940,"type":15},{"name":9,"slug":8,"type":15},{"name":957,"slug":958,"type":15},"PostgreSQL","postgresql","2026-07-24T05:38:09.09841",{"slug":961,"name":961,"fn":962,"description":963,"org":964,"tags":965,"stars":944,"repoUrl":945,"updatedAt":970},"postgres","optimize PostgreSQL database performance","PostgreSQL best practices, query optimization, connection troubleshooting, and performance improvement. Load when working with Postgres databases.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[966,967,968,969],{"name":20,"slug":21,"type":15},{"name":939,"slug":940,"type":15},{"name":957,"slug":958,"type":15},{"name":942,"slug":943,"type":15},"2026-04-06T18:43:44.126777",{"slug":972,"name":972,"fn":973,"description":974,"org":975,"tags":976,"stars":944,"repoUrl":945,"updatedAt":983},"vitess","optimize Vitess database performance and sharding","Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[977,978,979,980,981],{"name":20,"slug":21,"type":15},{"name":939,"slug":940,"type":15},{"name":9,"slug":8,"type":15},{"name":942,"slug":943,"type":15},{"name":982,"slug":972,"type":15},"Vitess","2026-04-06T18:43:42.890969",{"slug":985,"name":985,"fn":986,"description":987,"org":988,"tags":989,"stars":26,"repoUrl":27,"updatedAt":999},"planetscale-autonomous-execution-mode","execute autonomous PlanetScale database changes","Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged the risk. Defines the risk-acknowledgment contract, scoped autonomy levels, sensible execution ordering, continuous status reporting, halt conditions, and rollback discipline. Extremely safe, very enabling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[990,991,992,995,996],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":993,"slug":994,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},{"name":997,"slug":998,"type":15},"Risk Assessment","risk-assessment","2026-07-05T06:32:41.490537",{"slug":1001,"name":1001,"fn":1002,"description":1003,"org":1004,"tags":1005,"stars":26,"repoUrl":27,"updatedAt":1010},"planetscale-best-practices-matrix","evaluate PlanetScale best practices feature matrix","A concise feature matrix for deciding which PlanetScale safety, observability, and automation recommendations apply by engine.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1006,1007,1008,1009],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":939,"slug":940,"type":15},{"name":9,"slug":8,"type":15},"2026-07-27T06:07:48.188419",{"slug":1012,"name":1012,"fn":1013,"description":1014,"org":1015,"tags":1016,"stars":26,"repoUrl":27,"updatedAt":1025},"planetscale-change-gates-and-approval-contract","enforce approval gates for database mutations","Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1017,1020,1021,1024],{"name":1018,"slug":1019,"type":15},"Approvals","approvals",{"name":20,"slug":21,"type":15},{"name":1022,"slug":1023,"type":15},"Governance","governance",{"name":9,"slug":8,"type":15},"2026-07-07T06:38:42.512288",{"slug":1027,"name":1027,"fn":1028,"description":1029,"org":1030,"tags":1031,"stars":26,"repoUrl":27,"updatedAt":1041},"planetscale-codebase-sqlcommenter-instrumentation","instrument PlanetScale applications with SQLCommenter","Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1032,1035,1036,1039,1040],{"name":1033,"slug":1034,"type":15},"Code Analysis","code-analysis",{"name":20,"slug":21,"type":15},{"name":1037,"slug":1038,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},{"name":942,"slug":943,"type":15},"2026-07-07T06:38:43.813568",{"slug":1043,"name":1043,"fn":1044,"description":1045,"org":1046,"tags":1047,"stars":26,"repoUrl":27,"updatedAt":1058},"planetscale-customer-report-template","generate PlanetScale best practices reports","Produce the final PlanetScale best-practices report after running the inventory and relevant review skills.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1048,1051,1052,1055],{"name":1049,"slug":1050,"type":15},"Documentation","documentation",{"name":9,"slug":8,"type":15},{"name":1053,"slug":1054,"type":15},"Reporting","reporting",{"name":1056,"slug":1057,"type":15},"Templates","templates","2026-07-07T06:38:37.362061",{"slug":1060,"name":1060,"fn":1061,"description":1062,"org":1063,"tags":1064,"stars":26,"repoUrl":27,"updatedAt":1070},"planetscale-mcp-agent-operating-model","configure safe PlanetScale MCP agent behavior","Configure safe agent behavior around PlanetScale MCP, Insights, schema recommendations, and repository work without autonomous production mutation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1065,1068,1069],{"name":1066,"slug":1067,"type":15},"MCP","mcp",{"name":993,"slug":994,"type":15},{"name":9,"slug":8,"type":15},"2026-07-07T06:38:38.675213",{"slug":1072,"name":1072,"fn":1073,"description":1074,"org":1075,"tags":1076,"stars":26,"repoUrl":27,"updatedAt":1085},"planetscale-postgres-safety-review","review PlanetScale Postgres safety and configuration","Review PlanetScale Postgres for Traffic Control, query tags, roles, pg_strict, backups\u002FPITR, private connectivity, webhooks, branches, and safe agent operation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1077,1080,1081,1082],{"name":1078,"slug":1079,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},{"name":957,"slug":958,"type":15},{"name":1083,"slug":1084,"type":15},"Security","security","2026-07-07T06:38:34.75135",{"slug":1087,"name":1087,"fn":1088,"description":1089,"org":1090,"tags":1091,"stars":26,"repoUrl":27,"updatedAt":1098},"planetscale-pscale-cli-automation","automate PlanetScale CLI operations","Use the PlanetScale CLI (pscale) from automated agents with --format json, auth check, pscale sql, and per-command --force. Run before other PlanetScale skills when driving pscale directly. Use when the user asks to automate pscale, run CLI commands headless, or verify pscale auth from an agent.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1092,1093,1096,1097],{"name":17,"slug":18,"type":15},{"name":1094,"slug":1095,"type":15},"CLI","cli",{"name":20,"slug":21,"type":15},{"name":9,"slug":8,"type":15},"2026-07-07T06:38:33.465495",19,{"items":1101,"total":1152},[1102,1110,1117,1124,1132,1139,1145],{"slug":985,"name":985,"fn":986,"description":987,"org":1103,"tags":1104,"stars":26,"repoUrl":27,"updatedAt":999},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1105,1106,1107,1108,1109],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":993,"slug":994,"type":15},{"name":9,"slug":8,"type":15},{"name":997,"slug":998,"type":15},{"slug":1001,"name":1001,"fn":1002,"description":1003,"org":1111,"tags":1112,"stars":26,"repoUrl":27,"updatedAt":1010},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1113,1114,1115,1116],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":939,"slug":940,"type":15},{"name":9,"slug":8,"type":15},{"slug":1012,"name":1012,"fn":1013,"description":1014,"org":1118,"tags":1119,"stars":26,"repoUrl":27,"updatedAt":1025},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1120,1121,1122,1123],{"name":1018,"slug":1019,"type":15},{"name":20,"slug":21,"type":15},{"name":1022,"slug":1023,"type":15},{"name":9,"slug":8,"type":15},{"slug":1027,"name":1027,"fn":1028,"description":1029,"org":1125,"tags":1126,"stars":26,"repoUrl":27,"updatedAt":1041},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1127,1128,1129,1130,1131],{"name":1033,"slug":1034,"type":15},{"name":20,"slug":21,"type":15},{"name":1037,"slug":1038,"type":15},{"name":9,"slug":8,"type":15},{"name":942,"slug":943,"type":15},{"slug":1043,"name":1043,"fn":1044,"description":1045,"org":1133,"tags":1134,"stars":26,"repoUrl":27,"updatedAt":1058},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1135,1136,1137,1138],{"name":1049,"slug":1050,"type":15},{"name":9,"slug":8,"type":15},{"name":1053,"slug":1054,"type":15},{"name":1056,"slug":1057,"type":15},{"slug":1060,"name":1060,"fn":1061,"description":1062,"org":1140,"tags":1141,"stars":26,"repoUrl":27,"updatedAt":1070},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1142,1143,1144],{"name":1066,"slug":1067,"type":15},{"name":993,"slug":994,"type":15},{"name":9,"slug":8,"type":15},{"slug":1072,"name":1072,"fn":1073,"description":1074,"org":1146,"tags":1147,"stars":26,"repoUrl":27,"updatedAt":1085},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1148,1149,1150,1151],{"name":1078,"slug":1079,"type":15},{"name":9,"slug":8,"type":15},{"name":957,"slug":958,"type":15},{"name":1083,"slug":1084,"type":15},15]