Agent skill

PR Hygiene

by danieljvdm in danieljvdm/effect-cf

Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.

MITAuto-check passedDevelopment

Install PR Hygiene

skills CLI
$ npx skills add danieljvdm/effect-cf --skill pr-hygiene -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install danieljvdm/effect-cf pr-hygiene --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/danieljvdm/effect-cf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tools/effect-cf-repo/skills/pr-hygiene .claude/skills/pr-hygiene && rm -rf skills-src

Use ~/.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/

Facts

Skill name
pr-hygiene
GitHub stars
111
Token cost
~729 tokens
SKILL.md length
394 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.

  • Works in 5 steps: Inspect git status --short and the full… → Add or update the changeset when the… → Run vp check and relevant tests,… → …
  • Tasks that involve Pull requests
  • SKILL.md covers PR title, Changesets, Merging Version Packages PRs and PR body, plus 1 more section
  • Calls git

What it does

PR Hygiene is an agent skill from danieljvdm/effect-cf. Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.

Its SKILL.md is about 730 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 Development, covering Pull requests. The repository describes itself as: Effect-native primitives for Cloudflare Workers and bindings. The licence is MIT.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/pr-hygiene”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Inspect git status --short and the full diff.
  2. Add or update the changeset when the published package changed.
  3. Run vp check and relevant tests, normally vp test.
  4. Use a Conventional Commit PR title.
  5. Ensure the PR body describes the final aggregate change and relevant limitations.

What it can do on your machine

Read from SKILL.md and the folder at commit 0877e66. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Hygiene loads about 729 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 394 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~729

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from danieljvdm/effect-cf at commit 0877e66, republished under its MIT licence (© danieljvdm). 394 words, ~729 tokens.

Download SKILL.mdSave it as .claude/skills/pr-hygiene/SKILL.md (or your agent's skills folder).
name
pr-hygiene
description
Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.

PR Hygiene

Make pull requests pass repository policy on the first try: use a Conventional Commit title, add a changeset when the published package changes, and write consumer-quality release notes.

PR title

Use <type>(optional-scope): <summary>. Allowed types are feat, fix, docs, style, refactor, perf, test, build, ci, chore, and revert. Use ! for a breaking change.

Changesets

Add a changeset only when the PR changes the published package (packages/effect-cf/src or its package.json):

md
---
"effect-cf": minor
---

Add Effect-native Durable Object WebSocket helpers for typed hibernation attachments.

Internal-only PRs (CI, docs, examples, repository tooling, test-only changes) must not add a changeset. Never add an empty changeset: the release workflow publishes only when zero changeset files remain on main, so a leftover changeset silently converts a release into another Version Packages PR and the skipped version number is lost permanently.

Both publishable packages remain on the 0.x release line. Choose patch for compatible fixes and minor for public additions or breaking changes. A major changeset advances a 0.x package to 1.0.0; never use it without the user's explicit instruction to release 1.0.0. Upstream version changes do not determine the local release bump. Write release notes for consumers.

Run vp run changeset status before opening a PR with a changeset and state the exact target versions in the PR body. A ! in the Conventional Commit title can still describe a breaking change within the 0.x release line.

Show full SKILL.md (175 more words)Show less

Merging Version Packages PRs

Merge a Version Packages PR alone, last, and freshly refreshed: after any other PR merges, wait for that merge's Release workflow run to finish updating the Version Packages PR before merging it. Merging a stale Version Packages PR leaves unconsumed changesets on main, which skips the publish and permanently orphans the version it names.

PR body

Follow the open-pull-request skill for concise descriptions and relevant review evidence. Include calculated release versions when the PR has a changeset. Keep validation commands and routine test results in the agent handoff rather than the PR body; disclose material risks or limitations when they affect review.

Before creating or updating a PR

  1. Inspect git status --short and the full diff.
  2. Add or update the changeset when the published package changed.
  3. Run vp check and relevant tests, normally vp test.
  4. Use a Conventional Commit PR title.
  5. Ensure the PR body describes the final aggregate change and relevant limitations.

Changesets release PRs from changeset-release/* are exempt from the title and changeset checks.

© danieljvdm, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in tools/effect-cf-repo/skills/pr-hygiene of danieljvdm/effect-cf.

Open the folder on GitHubat commit 0877e66

Compare with similar skills

PR Hygiene 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.

PR Hygiene compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Hygiene this skilldanieljvdm/effect-cf111—~729Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from danieljvdm/effect-cf

  • Cloudflare Workers

    danieljvdm/effect-cf

    Build, review, or operate Cloudflare Workers, Durable Objects, and Sandbox SDK applications with Wrangler.

    111 GitHub starsUsed in 1 repo~324 tokens
    Auto-check passed
  • Dev Kit

    danieljvdm/effect-cf

    Set up TypeScript repositories, change project tooling, migrate legacy Dev Kit management, or maintain repository skills.

    111 GitHub starsUsed in 1 repo~352 tokens
    Auto-check passed
  • Effect Development

    danieljvdm/effect-cf

    Set up Effect, implement Atom React state, HTTP APIs or CLIs, and review Effect architecture.

    111 GitHub starsUsed in 1 repo~369 tokens
    Auto-check passed
  • Open Pull Request

    danieljvdm/effect-cf

    Prepare, open, update, or land pull requests with concise explanations and relevant review evidence.

    111 GitHub starsUsed in 1 repo~334 tokens
    Auto-check passed
  • Testing

    danieljvdm/effect-cf

    Decide whether committed tests are warranted, design regression tests, or follow explicitly requested TDD.

    111 GitHub stars~248 tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about PR Hygiene

What does PR Hygiene do?

Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository. PR Hygiene is an agent skill from danieljvdm/effect-cf. Use before creating or updating PRs, choosing PR titles, writing PR bodies, or adding changesets for this repository.

When should I use PR Hygiene?

PR Hygiene fits situations like: tasks that involve Pull requests.

How do I install PR Hygiene in Claude Code?

Run `npx skills add danieljvdm/effect-cf --skill pr-hygiene -a claude-code`. Or copy the skill folder (tools/effect-cf-repo/skills/pr-hygiene in danieljvdm/effect-cf) into .claude/skills/pr-hygiene in your project. Claude Code loads it when a task matches its description.

How do I install PR Hygiene in Codex?

Run `npx skills add danieljvdm/effect-cf --skill pr-hygiene -a codex`. Or copy the skill folder (tools/effect-cf-repo/skills/pr-hygiene in danieljvdm/effect-cf) into .agents/skills/pr-hygiene in your project. Codex loads it when a task matches its description.

Can I use PR Hygiene in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add danieljvdm/effect-cf --skill pr-hygiene -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-hygiene, .gemini/skills/pr-hygiene, .github/skills/pr-hygiene and .opencode/skills/pr-hygiene in your project.

What does PR Hygiene need to run?

Going by SKILL.md and its folder, PR Hygiene needs the command-line tools its instructions call (git).

Does PR Hygiene access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Hygiene safe to install?

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.

What licence does PR Hygiene use?

PR Hygiene is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Hygiene use?

About 729 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Hygiene?

Skills that share tags, products or a category with PR Hygiene: Finishing a Development Branch (obra/superpowers, 296k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Hygiene?

danieljvdm (a GitHub user) maintains it in danieljvdm/effect-cf, which has 111 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: danieljvdm/effect-cf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.