pr-hygiene

pr-hygiene is a skill for Claude Code, Codex from matebenyovszky/agentplaybooks. It costs 45 tokens per session (205 once invoked), scanned A, original, MIT.

A pull-request readiness checklist covering scope, title, explanation, tests, secrets, and unrelated file noise. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it before opening a pull request or while reviewing one to check that the change is focused, explained, tested, and free of secret-looking data.
Why use it?
It catches common reasons a change is hard to review or unsafe to share, such as mixed purposes, missing verification, credentials, or generated-file clutter.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it before opening a pull request or while reviewing one to check that the change is focused, explained, tested, and free of secret-looking data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matebenyovszky/agentplaybooks/pr-hygiene
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add matebenyovszky/agentplaybooks --skill pr-hygiene
Clone the repo
git clone --depth 1 https://github.com/matebenyovszky/agentplaybooks

Made for: Claude Code, Codex.

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 pr-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/matebenyovszky/agentplaybooks/pr-hygiene/github.svg)](https://agentmods.dev/skills/matebenyovszky/agentplaybooks/pr-hygiene)
Your own site
<a href="https://agentmods.dev/skills/matebenyovszky/agentplaybooks/pr-hygiene"><img src="https://agentmods.dev/badge/skills/matebenyovszky/agentplaybooks/pr-hygiene/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 pr-hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/matebenyovszky/agentplaybooks/pr-hygiene"><img src="https://agentmods.dev/badge/skills/matebenyovszky/agentplaybooks/pr-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 205 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.
Origin original 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.00045 $0.00205
Opus 5.5 $0.00018 $0.00082
Sonnet 5.5 $0.00009 $0.00041
Haiku 4.5 $0.00005 $0.00020

Measured 21d ago against content hash e8f0e98bdb4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-hygiene 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 21d 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.

examples/coding-agent-baseline/.agents/skills/pr-hygiene/SKILL.md · 19 lines

What it actually says

PR hygiene

Use this before opening a pull request or when reviewing one.

  1. Scope — one purpose. Split unrelated refactors into another PR.
  2. Title — matches the change. Imperative mood (Add, Fix, Document).
  3. Description — why the change exists, how to verify it, and any follow-ups.
  4. Tests — name what you ran, or why the change cannot be tested yet.
  5. Secrets — no API keys, tokens, .env files, or credential-looking strings.
  6. Noise — no generated lockfile churn, editor junk, or unrelated formatting.

If any item fails, fix it before asking for review.

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. 21d ago First seen · 19 lines · 45 tokens per session scan A e8f0e98bdb4b

Subscribe to this mod's changes

pr-hygiene is a skill published in the GitHub repository matebenyovszky/agentplaybooks (9 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 205 once invoked, about $0.0002 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-09-27.

Related

Other skills, from other repositories

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

github

GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available)…

opensquilla/opensquilla · 101 tokens

git

Git and code hosting platform management — GitHub, GitLab, Codeberg, Forgejo. Zero barrier — install x-cmd and manage repos from the terminal. Use for "git", "github", "gitlab", "repo", "pull request", "code hosting".

x-cmd/x-cmd · 58 tokens

meta-codereview-current-diff

Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.

opensquilla/opensquilla · 73 tokens

05-review

Reviews a change or a diff and says whether it is ready to ship, naming every problem with its fix. Use when the user wants a change checked before it ships. Not for fixing what the review finds, and not for auditing a whole codebase.

ai-driven-dev/framework · 54 tokens

issue-work-loop

Run Herdr loops for one open GitHub issue (resolve→review→fix) or an existing PR (review→lazy fixer) until CLEAN. Don't use for plain resolution without review, review-only/no-fix requests, backlog automation, or merging.

luongnv89/skills · 55 tokens