Agent skill

Generate Pull Request

by jrkerns in jrkerns/pylinac

Generate a draft Bitbucket pull request with proper formatting

MITAuto-check passedDevelopment

Install Generate Pull Request

skills CLI
$ npx skills add jrkerns/pylinac --skill generate-pull-request -a claude-code

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

GitHub CLI
$ gh skill install jrkerns/pylinac generate-pull-request --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/jrkerns/pylinac.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/generate-pull-request .claude/skills/generate-pull-request && 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
generate-pull-request
GitHub stars
202
Token cost
~304 tokens
SKILL.md length
157 words
Files
2 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Generate a draft Bitbucket pull request with proper formatting

  • Tasks that involve Pull requests
  • SKILL.md covers Git, Code Check, PR Requirements and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Generate Pull Request is an agent skill from jrkerns/pylinac. Generate a draft Bitbucket pull request with proper formatting

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/pr-examples.md`).

It sits in Development, covering Pull requests. It works with Bitbucket and Python. The repository describes itself as: An image analysis library for medical physics. The licence is MIT.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/generate-pull-request”

Requirements

  • Python 3

What it can do on your machine

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

    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

Generate Pull Request loads about 304 tokens when it runs, and up to ~694 if it reads all its reference files. Until then it costs about 21 tokens; SKILL.md has 157 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~304
With references · SKILL.md plus every file in references/, read only if the agent opens them
~694

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 jrkerns/pylinac at commit c7c039d, republished under its MIT licence (© jrkerns). 157 words, ~304 tokens.

Download SKILL.mdSave it as .claude/skills/generate-pull-request/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
generate-pull-request
description
Generate a draft Bitbucket pull request with proper formatting
disable-model-invocation
true

generate-pull-request

Generating a Pull Request is against the pylinac BitBucket repository. PRs should be created in "draft" mode, not in "ready" mode. Unless otherwise stated, the PR should be against the "master" branch.

Git

The branch name should ideally include the JIRA ticket, but is not required. Prompt me if it does not contain a ticket reference before creating a PR; it's possible there isn't one.

Code Check

If there is a ticket, it will almost always require a changelog entry in changelog.rst. If the changelog entry is missing, prompt me to add it before creating the PR. In cases of infrastructure changes such as CI or tooling, no changelog entry is required.

PR Requirements

  • 2 reviewers
  • Title: ticket + short summary (e.g., "RAM-4567 Proof of concept of using Python .whl files")
  • Description: ticket reference + summary. Screenshots for user-facing features.
  • Author comments on lines with non-obvious logic are encouraged.

References

  • Branch naming examples and PR description templates: references/pr-examples.md

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

Files

SKILL.md and 1 other file (references) in .agents/skills/generate-pull-request of jrkerns/pylinac.

  • SKILL.md
  • references/pr-examples.md

Open the folder on GitHubat commit c7c039d

Compare with similar skills

Generate Pull Request 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.

Generate Pull Request compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generate Pull Request this skilljrkerns/pylinac202—~304Automated safety check: PassMIT
Rota Update Importoracle/graalpython1.7k—~475Automated safety check: PassCustom licence
Graalpython Bitbucket PRoracle/graalpython1.7k—~1.3kAutomated safety check: PassCustom licence
Skyvern Version BumpSkyvern-AI/skyvern23k—~1kAutomated safety check: NotesAGPL-3.0
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Create Cuda Python Pull RequestNVIDIA/cuda-python3.4k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Rota Update Import

    oracle/graalpython

    Official

    Run the GraalPy ROTA import update workflow. An agent skill from oracle/graalpython.

    1.7k GitHub stars~475 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Graalpython Bitbucket PR

    oracle/graalpython

    Official

    Create or continue a GraalPython Bitbucket pull request and drive it through Graal Bot tasks, gate start, gate monitoring, failure investigation, fixes, pushes, and gate reruns.

    1.7k GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Skyvern Version Bump

    Skyvern-AI/skyvern

    Walks through a Skyvern open-source release bump: update the version, rebuild the Python and TypeScript SDKs with Fern, commit, and open a pull request.

    23k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • Official

    Create a CUDA Python pull request from an approved personal or organization-owned fork, including the GitHub CLI GraphQL fallback for renamed organization-owned forks.

    3.4k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from jrkerns/pylinac

  • Pull Request Review

    jrkerns/pylinac

    Review a Bitbucket pull request against the project checklist

    202 GitHub stars~141 tokensUpdated yesterday
    Auto-check passed
  • Clean Up

    jrkerns/pylinac

    Clean up code with lightweight clarity improvements. An agent skill from jrkerns/pylinac.

    202 GitHub stars~146 tokensUpdated yesterday
    Auto-check passed
  • Refactor

    jrkerns/pylinac

    Refactor code for big-picture architectural improvements. An agent skill from jrkerns/pylinac.

    202 GitHub stars~175 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Generate Pull Request

What does Generate Pull Request do?

Generate a draft Bitbucket pull request with proper formatting. Generate Pull Request is an agent skill from jrkerns/pylinac.

When should I use Generate Pull Request?

Generate Pull Request fits situations like: tasks that involve Pull requests.

How do I install Generate Pull Request in Claude Code?

Run `npx skills add jrkerns/pylinac --skill generate-pull-request -a claude-code`. Or copy the skill folder (.agents/skills/generate-pull-request in jrkerns/pylinac) into .claude/skills/generate-pull-request in your project. Claude Code loads it when a task matches its description.

How do I install Generate Pull Request in Codex?

Run `npx skills add jrkerns/pylinac --skill generate-pull-request -a codex`. Or copy the skill folder (.agents/skills/generate-pull-request in jrkerns/pylinac) into .agents/skills/generate-pull-request in your project. Codex loads it when a task matches its description.

Can I use Generate Pull Request 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 jrkerns/pylinac --skill generate-pull-request -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-pull-request, .gemini/skills/generate-pull-request, .github/skills/generate-pull-request and .opencode/skills/generate-pull-request in your project.

What does Generate Pull Request need to run?

SKILL.md names no scripts, command-line tools or credentials: Generate Pull Request is instructions for the agent only. Our summary lists: Python 3.

Does Generate Pull Request 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 Generate Pull Request 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 Generate Pull Request use?

Generate Pull Request 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 Generate Pull Request use?

About 304 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 390 tokens, read only when the agent opens those files.

What are the alternatives to Generate Pull Request?

Skills that share tags, products or a category with Generate Pull Request: Rota Update Import (oracle/graalpython, 1.7k stars), Graalpython Bitbucket PR (oracle/graalpython, 1.7k stars), Skyvern Version Bump (Skyvern-AI/skyvern, 23k stars) and Code Review Skill (awesome-skills/code-review-skill, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generate Pull Request?

jrkerns (a GitHub user) maintains it in jrkerns/pylinac, which has 202 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

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