Agent skill

Prepare PR

by pellegre in pellegre/libcrafter

Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

MITAuto-check passedDevelopment

Install Prepare PR

skills CLI
$ npx skills add pellegre/libcrafter --skill prepare-pr -a claude-code

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

GitHub CLI
$ gh skill install pellegre/libcrafter prepare-pr --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/pellegre/libcrafter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/prepare-pr .claude/skills/prepare-pr && 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
prepare-pr
GitHub stars
312
Token cost
~482 tokens
SKILL.md length
242 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

  • Tasks that involve Pull requests
  • SKILL.md covers Branch Name, PR Title, PR Body and Merge Expectations
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Prepare PR is an agent skill from pellegre/libcrafter. Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

Its SKILL.md is about 480 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: A Rust library for constructing, sending, capturing, and decoding network packets. The licence is MIT.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/prepare-pr”

What it can do on your machine

Read from SKILL.md and the folder at commit f9ef000. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

    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

Prepare PR loads about 482 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 242 words of instructions outside code blocks.

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

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 pellegre/libcrafter at commit f9ef000, republished under its MIT licence (© pellegre). 242 words, ~482 tokens.

Download SKILL.mdSave it as .claude/skills/prepare-pr/SKILL.md (or your agent's skills folder).
name
prepare-pr
description
Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

Prepare PR

Use this skill whenever you open, update, title, review, or prepare a pull request for this repository.

Branch Name

Branches created for PR work must follow the repo-local create-branch skill:

text
kind/short-slug

Use typed names such as feature/complete-oracle or fix/normalize-tcp-options, not bare task names such as complete-oracle.

PR Title

The PR title summarizes the preserved commit series and must follow the same Conventional Commits policy as regular commits:

text
type(scope): subject

Allowed types are build, chore, ci, docs, feat, fix, perf, refactor, revert, style, and test.

Scopes are required. Use the narrowest useful scope, such as ci, pcap, validation, interop, docs, net, or a protocol family. Do not include PR numbers, reviewer thanks, or branch metadata in the title.

PR Body

Fill the template with:

  • a concise summary of behavior and scope
  • exact validation commands and their results
  • notes about any skipped validation or known residual risk

Do not mention internal agent workflow unless the user explicitly asks for it.

Merge Expectations

PRs should be rebased onto the latest protected base branch and then landed by fast-forwarding the base branch to the PR head. Do not use GitHub squash merge for normal PR landing.

Every commit in the PR range must pass:

sh
.agents/scripts/check-conventional-commits --range origin/master..HEAD

If a PR targets a renamed default branch such as main, substitute that base in the range.

If a PR accumulates noisy work-in-progress commits, fix up, squash, or reword them before marking the PR ready, then rebase again onto the latest protected base.

© pellegre, 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 .agents/skills/prepare-pr of pellegre/libcrafter.

Open the folder on GitHubat commit f9ef000

Compare with similar skills

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

Prepare PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prepare PR this skillpellegre/libcrafter312—~482Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 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
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

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.

    297k 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
  • 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
  • Record PR Demo

    payloadcms/payload

    A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.

    45k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from pellegre/libcrafter

  • Agent Cargo Publish

    pellegre/libcrafter

    Publish the libcrafter crafter crate to crates.io only after the local release gate, cargo publish dry-run, package summary, ask-tool confirmation, and crates.io/docs.rs verification.

    312 GitHub stars~651 tokensUpdated 5 days ago
    Auto-check passed
  • Commit Changes

    pellegre/libcrafter

    Create, amend, reword, split, squash, or prepare libcrafter commits with the repository's Conventional Commits policy and scoped staging discipline.

    312 GitHub stars~496 tokensUpdated 5 days ago
    Auto-check passed
  • Create Branch

    pellegre/libcrafter

    Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

    312 GitHub stars~412 tokensUpdated 5 days ago
    Auto-check passed
  • Scratch Work

    pellegre/libcrafter

    Use ignored .scratch workspaces for experiments, disposable prototypes, network probes, hardware exploration, generated code, and any task where the user asks for work that should not be committed…

    312 GitHub stars~669 tokensUpdated 5 days ago
    Auto-check passed
  • Packet Validation

    pellegre/libcrafter

    Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

    312 GitHub stars~418 tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Prepare PR

What does Prepare PR do?

Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented. Prepare PR is an agent skill from pellegre/libcrafter. Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

When should I use Prepare PR?

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

How do I install Prepare PR in Claude Code?

Run `npx skills add pellegre/libcrafter --skill prepare-pr -a claude-code`. Or copy the skill folder (.agents/skills/prepare-pr in pellegre/libcrafter) into .claude/skills/prepare-pr in your project. Claude Code loads it when a task matches its description.

How do I install Prepare PR in Codex?

Run `npx skills add pellegre/libcrafter --skill prepare-pr -a codex`. Or copy the skill folder (.agents/skills/prepare-pr in pellegre/libcrafter) into .agents/skills/prepare-pr in your project. Codex loads it when a task matches its description.

Can I use Prepare PR 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 pellegre/libcrafter --skill prepare-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prepare-pr, .gemini/skills/prepare-pr, .github/skills/prepare-pr and .opencode/skills/prepare-pr in your project.

What does Prepare PR need to run?

SKILL.md names no scripts, command-line tools or credentials: Prepare PR is instructions for the agent only.

Does Prepare PR access the network?

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.

Is Prepare PR 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 Prepare PR use?

Prepare PR 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 Prepare PR use?

About 482 tokens (SKILL.md is roughly 1.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 Prepare PR?

Skills that share tags, products or a category with Prepare PR: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prepare PR?

pellegre (a GitHub user) maintains it in pellegre/libcrafter, which has 312 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

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