create-github-pr

create-github-pr is a skill for Claude Code, Codex from vladolaru/claude-code-plugins. It costs 40 tokens per session (1,927 once invoked), scanned A, original, MIT.

A guided process for creating a GitHub pull request, which is a proposed code change submitted for review.

In plain words
What is it for?
Use it when opening a pull request to inspect the relevant changes, follow repository templates, describe the work, and document how it was tested.
Why use it?
It checks the branch and repository state first, then helps produce a complete description and testing summary with an approval step.

Skill for Claude CodeCodex

Part of the pirategoat-tools plugin — 22 skills shipped together

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.

agentmods
npx agentmods add skills/vladolaru/claude-code-plugins/create-github-pr
Any agent
npx skills add vladolaru/claude-code-plugins --skill create-github-pr
Clone the repo
git clone --depth 1 https://github.com/vladolaru/claude-code-plugins

Made for: Claude Code, Codex.

Or install pirategoat-tools, the plugin that ships this one along with the rest of its 22 skills.

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 create-github-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladolaru/claude-code-plugins/create-github-pr.svg)](https://agentmods.dev/skills/vladolaru/claude-code-plugins/create-github-pr)
Your own site
<a href="https://agentmods.dev/skills/vladolaru/claude-code-plugins/create-github-pr"><img src="https://agentmods.dev/badge/skills/vladolaru/claude-code-plugins/create-github-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.01927
Opus 5 $0.00020 $0.00963
Sonnet 5 $0.00008 $0.00385
Haiku 4.5 $0.00004 $0.00193

Measured yesterday against content hash 14fd10c63192, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-github-pr 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 yesterday.

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.

plugins/pirategoat-tools/skills/create-github-pr/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create GitHub PR

Structured workflow for creating high-quality GitHub pull requests with proper context, testing steps, and user approval.

When to Use

  • Creating a new pull request
  • Asked to "open a PR" or "submit for review"
  • Branch is ready to merge

PR Template

FIRST: Check for .github/PULL_REQUEST_TEMPLATE.md

  • If template exists: use it, fill all sections, complete checklist
  • If NO template: use description template from Phase 2 below
  • Template sections override generic guidelines

PR Creation Workflow

Phase 0 — Pre-flight Checks

HALT if any fail:

  1. git branch --show-current - Must NOT be on trunk (or default branch)
  2. git status - No uncommitted changes
  3. Identify <base_branch>:
    • Run: git log --oneline --decorate --all --graph -20 to visualize branch structure
    • Run: git merge-base --fork-point <likely_base> HEAD to find fork point
    • The base branch is typically where the current branch was created from (may differ from repo default)
  4. git log <base_branch>..HEAD - Has commits to include
  5. git fetch && git status - Up to date with remote
  6. Check for existing PR:
    gh pr view --json url,state 2>/dev/null || echo "NO_EXISTING_PR"
    
    • If a PR already exists, show the URL and state. Ask user whether to update the existing PR or create a new one. HALT until answered.

Phase 1 — Gather Context

Run in parallel:

  • git log --oneline <base_branch>..HEAD - List commits
  • git diff <base_branch>...HEAD - Code changes
  • git rev-parse --abbrev-ref HEAD - Branch name

Phase 2 — Generate PR Content

Issue Detection from Branch Name:

  • Linear issue: feature/PROJ-123-descCloses PROJ-123
  • GitHub issue: fix/issue-123-bugCloses #123
  • Common patterns: WOOPLUG-123, WOOPMNT-456, TRAPLAT-789, DEVELOPER-321

Wrap analysis in <pr_analysis> tags:

<pr_analysis>
- Branch name: What issue/feature does it reference?
- Issue number: Extract from branch (Linear ID or GitHub #number)
- Commits: List significant ones (skip style/misc fixes)
- Code changes: What functionality changed?
- Testing: What coverage exists? What manual testing needed?
</pr_analysis>

Read the full file on GitHub · 238 lines

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. yesterday First seen · 238 lines · 40 tokens per session scan A 14fd10c63192

Subscribe to this mod's changes

create-github-pr is a skill published in the GitHub repository vladolaru/claude-code-plugins (8 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,927 once invoked, about $0.0002 per session on Opus 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-03.

Related

Other skills, from other repositories

git-commit

Generate well-formatted git commit messages following conventional commit standards.

ThinkInAIXYZ/deepchat · 15 tokens

test-repo

Use this skill to test strategy changes against a fresh test repository. Invoke when the user asks to "test against a test repo", "validate the changes", or wants to verify session hooks, commits, and checkpoint creation work correctly.

entireio/cli · 50 tokens

commit-push-pr

Commit selected local changes, push the branch, and create or update a GitHub pull request with BitFun attribution. Use when the user asks to 提交 PR、提代码、commit and push、开 PR、create a pull request, or wants a Claude Code-like one-command PR publishing flow from BitFun.

GCWing/BitFun · 68 tokens

commit

Commit current changes with a clear, descriptive message.

NVIDIA-NeMo/DataDesigner · 11 tokens

contributing

How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…

HugoRCD/evlog · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens