planetscale-schema-recommendations-agent-loop
Safely triage PlanetScale schema recommendations and turn them into reviewed branches, migrations, issues, or pull requests without applying production changes.
Install
With your agent
Install OMGSkills skill "planetscale/skills:planetscale-schema-recommendations-agent-loop" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/planetscale/skills /tmp/skills && ln -s /tmp/skills/planetscale-schema-recommendations-agent-loop ~/.claude/skills/planetscale-schema-recommendations-agent-loop
From README
Schema recommendations agent loop Purpose Use PlanetScale schema recommendations as high-quality input to agents. Convert recommendations into safe implementation plans, issues, branches, migrations, or pull requests. Do not apply recommendations directly. Inputs Collect: Open schema recommendations. Recommendation type. Affected table, keyspace, schema, and query pattern. Suggested DDL. Supporting Insights evidence. Application repository and migration system. Engine: Vitess or Postgres. Target branch. Recommendation types to recognize Add index for inefficient query. Remove redundant index. Prevent primary key ID exhaustion. Drop unused table. Upgrade legacy charset or collation. Other DDL recommendation. Triage questions For each recommendation, answer: Is this still open and relevant? Which query patterns triggered it? Which application code paths generate those queries? Is the recommendation safely expressible in the application’s migration framework?
More from this repo
planetscale-autonomous-execution-mode
Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged...
planetscale-best-practices-matrix
A concise feature matrix for deciding which PlanetScale safety, observability, and automation recommendations apply by...
planetscale-change-gates-and-approval-contract
Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.
