Integrates PlanetScale's serverless MySQL platform using edge-compatible drivers and automated branching workflows.
This skill enables Claude to efficiently manage PlanetScale's serverless MySQL databases, focusing on the @planetscale/database driver for HTTP-based edge access. It provides patterns for safe schema migrations via deploy requests, Vitess-specific SQL compatibility, and programmatic branching for development and CI/CD pipelines. By automating complex tasks like custom type casting for BigInt or dates and enforcing parameterized queries, it ensures robust, scalable, and secure database interactions within serverless environments.
Key Features
01HTTP-based MySQL access via the @planetscale/database driver
02Atomic transaction handling for serverless runtimes
03Custom type casting for BigInt, Date, and Boolean columns
04Vitess-compatible SQL syntax enforcement and workarounds
055 GitHub stars
06Git-like database branching and deploy request management
Use Cases
01Automating CI/CD workflows with temporary database preview branches
02Managing zero-downtime schema migrations via deploy requests
03Building edge-ready applications on Vercel or Cloudflare Workers