Database-focused skills for AI coding assistants. Each skill lives in its own sub-directory under skills/ and covers a specific database technology.
$ npx -y skills add planetscale/database-skills --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: planetscale/database-skills
What's inside

Database-focused skills for AI coding assistants. Each skill lives in its own sub-directory under skills/ and covers a specific database technology.
npx skills add planetscale/database-skills
See skills.sh for more info.
In Cursor chat, add this repository as a plugin:
/add-plugin database-skills
Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow or locking behavior; planning migrations; or troubleshooting replication and connection issues.
Overview and guidance for Neki, PlanetScale's sharded Postgres product. Use when working with Neki-related tasks or evaluating how to scale and shard Postgres.
PostgreSQL best practices, query optimization, connection troubleshooting, and performance insights for PlanetScale Postgres. Use when working with PlanetScale PostgreSQL databases โ schema design, indexing, MVCC/VACUUM, WAL tuning, replication, monitoring, or PlanetScale-specific features like connection pooling and CLI insights.
Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Use when working with sharding, VSchema configuration, keyspace management, online DDL, VReplication, or MySQL-compatible scaling issues.
database-skills/
โโโ .cursor-plugin/
โ โโโ plugin.json
โโโ README.md
โโโ skills/
โโโ mysql/
โ โโโ SKILL.md
โ โโโ references/
โโโ neki/
โ โโโ SKILL.md
โ โโโ references/
โโโ postgres/
โ โโโ SKILL.md
โ โโโ references/
โโโ vitess/
โโโ SKILL.md
โโโ references/
Each skill is a sub-directory under skills/ containing:
skills/SKILL.md and optional references/.gitignore
LICENSE
package-lock.json
package.json
planetscale-database-skills.png
README.md
skills/
mysql/
references/
character-sets.md
composite-indexes.md
connection-management.md
covering-indexes.md
data-types.md
deadlocks.md
explain-analysis.md
fulltext-indexes.md
index-maintenance.md
isolation-levels.md
json-column-patterns.md
n-plus-one.md
online-ddl.md
partitioning.md
primary-keys.md
query-optimization-pitfalls.md
replication-lag.md
row-locking-gotchas.md
SKILL.md
neki/
references/
sharding-readiness.md
SKILL.md
postgres/
references/
backup-recovery.md
index-optimization.md
indexing.md
memory-management-ops.md
monitoring.md
mvcc-transactions.md
mvcc-vacuum.md
optimization-checklist.md
partitioning.md
pgbouncer-configuration.md
process-architecture.md
ps-cli-api-insights.md
ps-cli-commands.md
ps-connection-pooling.md
ps-connections.md
ps-extensions.md
ps-insights.md
query-patterns.md
replication.md
schema-design.md
storage-layout.md
wal-operations.md
SKILL.md
vitess/
references/
architecture.md
query-serving.md
schema-changes.md
vreplication.md
vschema.md
SKILL.md
website/
apple-touch-icon.png
favicon.ico
index.html
mysql.png
neki.svg
planetscale-logo-mark-white.svg
planetscale-logo-mark.svg
postgres.png
social-card.png
vitess.png
wrangler.jsoncFAQ
database-skills is a Claude Code plugin with 4 hand-picked skills for data work, indexed on Flowy. Install it with the command on its page. It includes mysql, neki, postgres. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.