creating-pr-from-branch

creating-pr-from-branch is a skill for Claude Code from qte77/claude-code-plugins. It costs 43 tokens per session (794 once invoked), scanned A, original, Apache-2.0.

A skill for preparing a pull request from the current Git branch. A pull request is a request to merge one line of code changes into another.

In plain words
What is it for?
Use it after committing changes to inspect the branch, review its commits and file changes, prepare the pull-request text, and request approval before publishing it.
Why use it?
It gathers the branch changes and turns them into a concise title and description based on the project’s template when available.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Part of the commit-helper plugin — 1 skill shipped together

Good fit Use it after committing changes to inspect the branch, review its commits and file changes, prepare the pull-request text, and request approval before publishing it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qte77/claude-code-plugins/creating-pr-from-branch
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 qte77/claude-code-plugins --skill creating-pr-from-branch
Clone the repo
git clone --depth 1 https://github.com/qte77/claude-code-plugins

Made for: Claude Code.

Or install commit-helper, the plugin that ships this one along with the rest of its 1 skill.

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 creating-pr-from-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-pr-from-branch/github.svg)](https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch)
Your own site
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-pr-from-branch/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 creating-pr-from-branch

Your own site · 80×15
<a href="https://agentmods.dev/skills/qte77/claude-code-plugins/creating-pr-from-branch"><img src="https://agentmods.dev/badge/skills/qte77/claude-code-plugins/creating-pr-from-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 794 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.
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.00043 $0.00794
Opus 5.5 $0.00017 $0.00318
Sonnet 5.5 $0.00009 $0.00159
Haiku 4.5 $0.00004 $0.00079

Measured 8d ago against content hash 9b98afe8cb70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

creating-pr-from-branch 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 8d 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/commit-helper/skills/creating-pr-from-branch/SKILL.md · 101 lines

How it starts

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

Create PR from Current Branch

Base branch: $ARGUMENTS (default: main)

Step 1: Analyze Branch

Run using the Bash tool:

  • git branch --show-current — current branch name
  • git log --oneline <base>..HEAD — commits to include
  • git diff --stat <base>..HEAD — overall diff stats
  • git remote -v — verify remote exists

If no commits ahead of base, stop and inform the user.

Step 2: Generate PR Title and Body

Title: Derive from commits using conventional commit format.

  • Single commit: use commit subject as-is
  • Multiple commits: synthesize a summary title (type[(scope)]: description)
  • Keep under 72 characters

Body: Use the first PR template found, then populate its sections:

  1. Local repo — pull_request_template.md (any case) in .github/, the repo root, or docs/; or a file in .github/PULL_REQUEST_TEMPLATE/ (ask which one if several).

  2. Owner-level default — the <owner>/.github repo. GitHub applies it only in the web UI, never to gh pr create --body, so fetch it explicitly. The contents API is case-sensitive: try both spellings, and skip on 404 (no repo or no file):

    OWNER=$(gh repo view --json owner --jq .owner.login)
    for f in PULL_REQUEST_TEMPLATE.md pull_request_template.md; do
      t=$(gh api "repos/$OWNER/.github/contents/.github/$f" --jq .content 2>/dev/null) \
        && { printf '%s' "$t" | base64 -d; break; }
    done
    
  3. Last resort — this minimal format:

## Summary

<1-3 bullet points describing what and why>

## Commits

<list commits from git log>

Body guidelines:

  • Fill template checkboxes where applicable (check items that are done)
  • Include Closes #N if the branch name contains an issue number
  • Keep it concise — the diff speaks for itself

Step 3: Pause for Approval

Present the title and body. Ask the user:

  • Approve: "yes", "y", "create", "go ahead"
  • Edit: Provide changes to title or body
  • Cancel: "no", "cancel", "stop"

Read the full file on GitHub · 101 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. 8d ago Changed 9b98afe8cb70
  2. 2mo ago Changed · +2 lines 287e5979c979
  3. 2mo ago Changed · +15 lines b23dd371f1d7
  4. 3mo ago First seen · 84 lines · 43 tokens per session scan A 2e1f94760201

Subscribe to this mod's changes

creating-pr-from-branch is a skill published in the GitHub repository qte77/claude-code-plugins (3 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 794 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-08-31.

Related

creating-pr-from-branch compared with skills from other repositories

creating-pr-from-branch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
creating-pr-from-branchqte77/claude-code-pluginsSkill3todayApache-2.0A43Claude Code
github-cliand3r817/dot-claude-pluginsSkill22mo agoMITA52Claude Code
release-notesphuryn/pm-skillsSkill28k22d agoMITA57Claude Code
glabNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A59Claude Code
version-bumpNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A48Claude Code
workflowclaude-world/director-mode-liteSkill801mo agoMITA52Claude Code
smart-commitclaude-world/director-mode-liteSkill801mo agoMITA49Claude Code