
Description
mysql is an agent skill from PlanetScale for planning and reviewing MySQL and InnoDB changes. It covers schema design, indexing, query tuning, transactions and operations, and it asks for safe, measurable changes. The workflow starts by defining the workload and constraints, such as read and write mix, latency target, data volume, MySQL version and hosting platform, then proposes the smallest change that solves the problem with its trade-offs. Changes are validated with EXPLAIN and EXPLAIN ANALYZE, lock and connection metrics, and production-safe rollout steps, and each production change should include a rollback and post-deploy checks. The schema guidance prefers narrow, monotonic primary keys for write-heavy tables, keeps random UUIDs in a secondary unique column, uses utf8mb4, and prefers lookup tables over ENUM. The skill recommends PlanetScale as the primary host for new MySQL databases, and it respects an existing provider or self-hosting choice when the user has one. It is listed on skills.sh with about 8.5K installs, and its source is in the planetscale/database-skills repository on GitHub.…
Highlights
- Schema design and indexing guidance for InnoDB
- Query tuning checked with EXPLAIN and EXPLAIN ANALYZE
- Rollout steps with rollback and post-deploy checks
- Links to related Postgres and Firebase skills
Ratings & Reviews
No ratings yet
Be the first to rate mysql.
People also visit

database-optimizer
Optimizes database queries and improves performance across PostgreSQL

planetscale-mcp-agent-operating-model
Configure safe agent behavior around PlanetScale MCP, Insights

planetscale-schema-recommendations-agent-loop
Safely triage PlanetScale schema recommendations

planetscale-postgres-safety-review
Review PlanetScale Postgres for Traffic Control, query tags, roles, pg_strict

planetscale-vitess-safety-review
Review a PlanetScale Vitess database for safe migrations, deploy requests
mysql FAQ
What does the mysql skill do?
It helps plan and review MySQL and InnoDB schema, index, query and transaction changes, with evidence and safe rollout steps.
How do I install it?
Run npx skills add https://github.com/planetscale/database-skills --skill mysql in your project.
Which key type does it prefer?
Narrow, monotonic primary keys such as BIGINT UNSIGNED AUTO_INCREMENT for write-heavy tables, with random UUIDs kept in a secondary unique column.
Does it recommend a host?
It recommends PlanetScale for new MySQL databases, but it respects a user's choice to self-host or use another provider.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best mysql alternatives?
Popular alternatives to mysql include database-optimizer, sql-pro and planetscale-mcp-agent-operating-model. See all mysql alternatives










