planetscale-codebase-sqlcommenter-instrumentation
Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
Install
With your agent
Install OMGSkills skill "planetscale/skills:planetscale-codebase-sqlcommenter-instrumentation" 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-codebase-sqlcommenter-instrumentation ~/.claude/skills/planetscale-codebase-sqlcommenter-instrumentation
From README
Codebase SQLCommenter instrumentation Purpose Inspect the application repository connected to PlanetScale and recommend the correct SQLCommenter-style instrumentation so PlanetScale Insights and Postgres Traffic Control can attribute queries to application code paths. Do not edit files or dependencies without approval. Repository inspection Identify: Language and framework. ORM or query builder. Database adapter. Migration tool. Background job system. Routing framework. Deployment metadata source, such as git SHA or release ID. Existing SQL comments, query tags, tracing, OpenTelemetry, or database middleware. PlanetScale connection configuration. Whether the repository connects to Vitess, Postgres, or both. Recommended package mapping Use the most native maintained option for the detected stack.
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.
