database-skills
Skills for AI agents working with databases
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Badge for your README
Markdown
[](/listings/planetscale-database-skills)HTML
<a href="/listings/planetscale-database-skills"><img src="/api/listings/planetscale-database-skills/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
skills.sh
npx skills add planetscale/database-skills
See [skills.sh](https://skills.sh) for more info.
Cursor plugin
In Cursor chat, add this repository as a plugin:
/add-plugin database-skills
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 75 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- # Database Skills
- 
- Database-focused skills for AI coding assistants. Each skill lives in its own sub-directory under `skills/` and covers a specific database technology.
- ## Installation
- ### skills.sh
- ```bash
- npx skills add planetscale/database-skills
- ```
- See [skills.sh](https://skills.sh) for more info.
- ### Cursor plugin
- In Cursor chat, add this repository as a plugin:
- ```bash
- /add-plugin database-skills
- ```
- ## Available Skills
- ### mysql
- 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.
- ### neki
- Guidance for Neki, PlanetScale's distributed (sharded) Postgres. Use when working with a Neki database — connecting, data topology and shard keys, query routing and fanout, cross-shard transactions, schema changes, resharding and migration, NK013 errors — or when scaling and sharding Postgres.
- ### 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
- 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.
- ## Repo Structure
- ```
- 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:
- - **SKILL.md** — Required. Instructions, triggers, and workflow for the skill.
- - **references/** — Optional. Supporting documents loaded into context as needed.
- ## Contributing
- 1. Fork this repo
- 2. Create a new skill directory under `skills/`
- 3. Add a `SKILL.md` and optional `references/`
- 4. Submit a PR
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.