create-github-pr

create-github-pr is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

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

Good fit Use it when opening a pull request to inspect the relevant changes, follow repository templates, describe the work, and document how it was tested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vladolaru/claude-code-plugins/create-github-pr
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 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.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 143
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00040 $0.01927
Opus 5.5 $0.00016 $0.00771
Sonnet 5.5 $0.00008 $0.00385
Haiku 4.5 $0.00004 $0.00193

Measured 2mo ago against content hash 14fd10c63192, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

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-desc → Closes PROJ-123
  • GitHub issue: fix/issue-123-bug → Closes #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. 2mo ago 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 5d ago), licensed MIT. It adds 40 tokens to every session and 1,927 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-03.

Related

create-github-pr compared with skills from other repositories

create-github-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-github-prvladolaru/claude-code-pluginsSkill85d agoMITA40Claude Code
review-implement-phaseprisma/ormSkill48ktodayApache-2.0A38Claude Code
github-pr-workflowpaperclipai/paperclipSkill113ktodayMITA39Claude Code, Codex
review-deltatirth8205/code-review-graphSkill33kyesterdayMITA24Claude Code
github-contributordaymade/claude-code-skillsSkill1.5ktodayMITA105Claude Code, Codex
git-pr-workflows-git-workflowrmyndharis/antigravity-skillsSkill2.0k4d agoMITA37Claude Code, Codex
hero-diff-highlightUnclecheng-li/AI_AnimationSkill1.8k16d agoMITA0Claude Code, Codex