yugabyte-db: Skill for Claude Code

.claude/skills/pg-code-style-guide/SKILL.md

pg-code-style-guide is a skill for Claude Code from yugabyte/yugabyte-db. It costs 282 tokens per session (2,780 once invoked), scanned A, original, no licence file.

A set of coding rules for changes under YugabyteDB’s PostgreSQL source directory. It explains which PostgreSQL conventions to follow and how to mark YugabyteDB-specific differences.

In plain words
What is it for?
Use it when editing files under src/postgres in the YugabyteDB codebase, especially when preparing changes that may be merged or compared with PostgreSQL.
Why use it?
It helps keep PostgreSQL changes consistent and prevents tools or future PostgreSQL updates from confusing YugabyteDB code with upstream code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is yugabyte/yugabyte-db's own configuration. It tells Claude Code how to work on yugabyte-db itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything yugabyte-db configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yugabyte/yugabyte-db. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yugabyte/yugabyte-db/master/.claude/skills/pg-code-style-guide/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yugabyte/yugabyte-db

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pg-code-style-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/yugabyte/yugabyte-db/pg-code-style-guide/github.svg)](https://agentmods.dev/skills/yugabyte/yugabyte-db/pg-code-style-guide)
Your own site
<a href="https://agentmods.dev/skills/yugabyte/yugabyte-db/pg-code-style-guide"><img src="https://agentmods.dev/badge/skills/yugabyte/yugabyte-db/pg-code-style-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pg-code-style-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/yugabyte/yugabyte-db/pg-code-style-guide"><img src="https://agentmods.dev/badge/skills/yugabyte/yugabyte-db/pg-code-style-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 282 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00282 $0.02780
Opus 5.5 $0.00113 $0.01112
Sonnet 5.5 $0.00056 $0.00556
Haiku 4.5 $0.00028 $0.00278

Measured 1mo ago against content hash 30e88c7a5bf1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pg-code-style-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/pg-code-style-guide/SKILL.md · 213 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 30e88c7a5bf1
  2. 1mo ago Changed · +16 lines · +2 tokens per session 3b6124f46c17
  3. 2mo ago First seen · 195 lines · 280 tokens per session scan A 0bfe200414bf

Subscribe to this mod's changes

pg-code-style-guide is a skill published in the GitHub repository yugabyte/yugabyte-db (10,636 stars, last pushed today), with no licence file. It adds 282 tokens to every session and 2,780 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ui-visual-regression

Automates visual regression testing for DB Console UI changes. Compares screenshots and network requests between the current branch and its merge base using roachprod, playwright-cli, and ImageMagick. Use when the user wants to verify UI changes haven't introduced visual or behavioral regressions.

cockroachdb/cockroach · 61 tokens

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

draft-release-notes

Author the committed release-notes file for a Prisma 8 release (stable or 8.0.0-rc.N) by enumerating the merged PRs since the previous release v tag (stable or -rc.N), resolving opaque TML-NNNN: titles via Linear context (never copied verbatim), triaging public-worthiness, and writing categorized notes — breaking…

prisma/orm · 174 tokens

publish-npm-version

Cuts the next release of Prisma 8: bumps the root package.json version (on the v8 RC line: 8.0.0-rc.N → rc.N+1), propagates it to every workspace package, and opens a PR titled "chore(release): bump to ". When the maintainer merges the PR, the Publish to npm workflow runs automatically and ships the new version to npm…

prisma/orm · 182 tokens

triage-contributor-pr

Triage open pull requests from external contributors to prisma/orm and produce a per-PR verdict with evidence. Use when a maintainer asks to triage, evaluate, assess, or review the queue of incoming contributor PRs, to decide whether a fork PR is safe to run CI on, to check whether a PR is in scope for its version…

prisma/orm · 131 tokens

contrib-pr

Open a high-quality external contributor PR against prisma/orm. Use when the user is an outside contributor (not a Prisma maintainer) and wants to submit a change as a pull request from a fork. Encodes the contribution flow from CONTRIBUTING.md so the resulting PR passes review on the first round.

prisma/orm · 65 tokens