Database Fundamentals
DanielPodolsky/ownyourcode
Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.
Official agent skill
Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentation --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .claude/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .claude/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentation --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .agents/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .agents/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentation --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .cursor/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .cursor/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/planetscale/skills.git --path planetscale-codebase-sqlcommenter-instrumentation--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentation --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .gemini/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .gemini/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .github/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .github/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install planetscale/skills planetscale-codebase-sqlcommenter-instrumentation --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/planetscale/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/planetscale-codebase-sqlcommenter-instrumentation .opencode/skills/planetscale-codebase-sqlcommenter-instrumentation && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "planetscale-codebase-sqlcommenter-instrumentation" agent skill from https://github.com/planetscale/skills/tree/main/planetscale-codebase-sqlcommenter-instrumentation into .opencode/skills/planetscale-codebase-sqlcommenter-instrumentation/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "planetscale-codebase-sqlcommenter-instrumentation", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
planetscale-codebase-sqlcommenter-instrumentationInspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
Planetscale Codebase Sqlcommenter Instrumentation is an agent skill from planetscale/skills, published by the product's own GitHub organization. Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering ORMs and data access, Backend development and Observability. It works with PlanetScale, Ruby on Rails, Prisma and SQL. The repository describes itself as: Skills that help you configure and get the most out of PlanetScale. The licence is MIT.
Read from SKILL.md and the folder at commit 999045c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Planetscale Codebase Sqlcommenter Instrumentation loads about 1.2k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 539 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from planetscale/skills at commit 999045c, republished under its MIT licence (© planetscale). 539 words, ~1,241 tokens.
.claude/skills/planetscale-codebase-sqlcommenter-instrumentation/SKILL.md (or your agent's skills folder).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 install dependencies without approval.
Identify:
Use the most native maintained option for the detected stack.
Preferred for PlanetScale tag compatibility:
activerecord-sql_commenter from PlanetScale when Rails query comments need SQLCommenter format for PlanetScale Query Insights.Other options:
marginalia for older Rails or when Basecamp-style ActiveRecord query attribution is already in use.sqlcommenter_rails where the project already uses the OpenTelemetry SQLCommenter ecosystem.Recommend tags:
applicationcontrolleractionjobrouterelease_shaPreferred:
spatie/laravel-sql-commenter for SQLCommenter-format comments compatible with PlanetScale Query Insights.Recommend tags:
applicationroutecontrolleractionjobqueuerelease_shaPreferred:
@prisma/sqlcommenter@prisma/sqlcommenter-query-tags@prisma/sqlcommenter-trace-contextNote: PlanetScale’s Postgres query-tag docs may list Prisma as lacking official SQLCommenter support, but Prisma’s own current docs provide first-party SQLCommenter packages. Prefer current Prisma docs when Prisma is detected.
Recommend tags:
applicationservicerouteoperationfeaturerelease_shaUse SQLCommenter-compatible middleware or instrumentation from the OpenTelemetry SQLCommenter ecosystem where maintained and compatible.
Recommend tags:
applicationserviceroutecontrolleractionfeaturerelease_shaIf there is no maintained SQLCommenter package, recommend manual tagging at the database client boundary or query builder extension layer.
Requirements:
Use SQLCommenter instrumentation from the OpenTelemetry SQLCommenter ecosystem where compatible.
Recommend tags:
applicationframeworkrouteviewjobrelease_shaUse SQLCommenter-compatible instrumentation for Hibernate/Spring where compatible.
Recommend tags:
applicationservicecontrolleractionrouterelease_shaUse SQLCommenter-compatible instrumentation or a database wrapper at the query boundary.
Recommend tags:
applicationservicehandlerroutejobrelease_shaRecommend this baseline across all frameworks:
Before recommending merge:
Return:
End with:
“No repository files or dependencies have been changed.”
© planetscale, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in planetscale-codebase-sqlcommenter-instrumentation of planetscale/skills.
Open the folder on GitHubat commit 999045c
Planetscale Codebase Sqlcommenter Instrumentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Planetscale Codebase Sqlcommenter Instrumentation this skillplanetscale/skills | 132 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Database FundamentalsDanielPodolsky/ownyourcode | 290 | 1 repos | ~1.6k | Automated safety check: Pass | MIT | |
| DB SculptorEliasOulkadi/shokunin | 114 | — | ~3.1k | Automated safety check: Notes | MIT | |
| Database Migrationsaffaan-m/ECC | 274k | 4 repos | ~3k | Automated safety check: Pass | MIT | |
| Database Migrationsaffaan-m/ECC | 274k | 3 repos | ~1.9k | Automated safety check: Pass | MIT | |
| DB Review312362115/claude | 107 | — | ~1.8k | Automated safety check: Pass | MIT |
DanielPodolsky/ownyourcode
Reviews schema design, SQL queries, ORM patterns. An agent skill from DanielPodolsky/ownyourcode.
EliasOulkadi/shokunin
Design database schemas with Prisma/Drizzle, PostgreSQL index strategy (B-tree, GIN, GiST, BRIN, Hash), query optimization (EXPLAIN ANALYZE), migration safety (expand/contract, zero-downtime), and…
affaan-m/ECC
Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…
affaan-m/ECC
数据库迁移最佳实践,涵盖模式变更、数据迁移、回滚以及零停机部署,适用于PostgreSQL、MySQL及常用ORM(Prisma、Drizzle、Django、TypeORM、golang-migrate)。
312362115/claude
数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.
affaan-m/ECC
Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…
planetscale/skills
Use the PlanetScale CLI (pscale) from automated agents with --format json, auth check, pscale sql, and per-command --force.
planetscale/skills
Master skill that runs the full PlanetScale safe best-practices assessment — inventory, engine review, Insights, Traffic Control, webhooks, schema recommendations, codebase instrumentation, and…
planetscale/skills
Execute approved PlanetScale changes end-to-end without per-step approval when the operator has explicitly acknowledged the risk.
planetscale/skills
A concise feature matrix for deciding which PlanetScale safety, observability, and automation recommendations apply by engine.
planetscale/skills
Enforce explicit approval gates for any PlanetScale, database, repository, credential, network, or automation mutation.
planetscale/skills
Produce the final PlanetScale best-practices report after running the inventory and relevant review skills.
Categories
Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions. Planetscale Codebase Sqlcommenter Instrumentation is an agent skill from planetscale/skills, published by the product's own GitHub organization. Inspect an application repository connected to PlanetScale and recommend SQLCommenter-compatible query tagging packages and conventions.
Planetscale Codebase Sqlcommenter Instrumentation fits situations like: tasks that involve ORMs and data access; tasks that involve Backend development; tasks that involve Observability.
Run `npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a claude-code`. Or copy the skill folder (planetscale-codebase-sqlcommenter-instrumentation in planetscale/skills) into .claude/skills/planetscale-codebase-sqlcommenter-instrumentation in your project. Claude Code loads it when a task matches its description.
Run `npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a codex`. Or copy the skill folder (planetscale-codebase-sqlcommenter-instrumentation in planetscale/skills) into .agents/skills/planetscale-codebase-sqlcommenter-instrumentation in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add planetscale/skills --skill planetscale-codebase-sqlcommenter-instrumentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/planetscale-codebase-sqlcommenter-instrumentation, .gemini/skills/planetscale-codebase-sqlcommenter-instrumentation, .github/skills/planetscale-codebase-sqlcommenter-instrumentation and .opencode/skills/planetscale-codebase-sqlcommenter-instrumentation in your project.
SKILL.md names no scripts, command-line tools or credentials: Planetscale Codebase Sqlcommenter Instrumentation is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Planetscale Codebase Sqlcommenter Instrumentation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Planetscale Codebase Sqlcommenter Instrumentation: Database Fundamentals (DanielPodolsky/ownyourcode, 290 stars), DB Sculptor (EliasOulkadi/shokunin, 114 stars), Database Migrations (affaan-m/ECC, 274k stars) and Database Migrations (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
planetscale (a GitHub organization, an official publisher) maintains it in planetscale/skills, which has 132 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 3, 2026.
Source: planetscale/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.