agentsclimarketplace

Planetscale

Skill AravindS-Wick/aravindhan-skills/skills/planetscale

148+ curated Claude AI skills — agent orchestration, security, multi-repo PRs, design, mobile & more. One-command install.

Install
npx -y skills add AravindS-Wick/aravindhan-skills --skill planetscale

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Database schema branching, indexing, N+1 query prevention, query plans, and safe online migrations for MySQL/PostgreSQL databases. Use when working on database schemas, migrations, or query optimization.

SKILL.md

1.9 KB, 334 tokens by cl100k_base, as published. Nobody here has run it

PlanetScale Database Development Playbook

This skill enforces strict production-grade standards for relational database development (MySQL, PostgreSQL, serverless DBs), index design, schema branching, and migration workflows.

Target Triggers

  • /planetscale
  • "database branch"
  • "optimize database query"
  • "database index design"

Operational Standards

1. Schema Branching Workflow

  • Never perform direct DDL modifications or raw schema migrations on the main/production database.
  • Always perform database migrations on a dedicated schema branch (e.g. db branch create feature-name).
  • Once migrations are fully validated in the dev environment, generate a deploy request (similar to a pull request for schemas).

2. Query Performance & Indexing

  • Avoid database table scans. Ensure queries utilize a defined index.
  • Run EXPLAIN or query plan analyzer on critical query layouts to check for index hit rates and scanned rows.
  • Ensure foreign keys (or logical relationships in serverless DBs) have corresponding indexes on the referencing side to prevent slow join times.

3. Preventing N+1 Query Loops

  • Audit route handlers and services for database queries executed inside loops (e.g., fetching a list of records and executing a query for each row).
  • Replace nested loops with batch selections (using IN clauses) or proper database joins.

4. Online Schema Migrations

  • Write migrations so that they are backward-compatible with running application versions (avoid renaming columns or dropping active tables directly).
  • For column additions, provide nullable types or default constraints to prevent application crashes during zero-downtime deployment.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.