create-pr-from-commits

create-pr-from-commits is a skill for Claude Code from tableau/tableau-mcp. It costs 35 tokens per session (1,969 once invoked), scanned A, original, Apache-2.0.

A workflow for creating a pull request from existing Git commits. A pull request is a request for teammates to review and merge a set of code changes into a shared repository.

In plain words
What is it for?
Preparing and submitting pull requests with commit summaries, template fields, and the repository's GitHub command-line tools.
Why use it?
It removes the repeated work of reading commits, finding the repository's template, and writing the review summary by hand. It helps keep the request accurate and complete when the needed context is already in the commits.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/tableau/tableau-mcp/create-pr-from-commits
Any agent
npx skills add tableau/tableau-mcp --skill create-pr-from-commits
Clone the repo
git clone --depth 1 https://github.com/tableau/tableau-mcp

Made for: Claude Code.

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-pr-from-commits

README.md
[![agentmods](https://agentmods.dev/badge/skills/tableau/tableau-mcp/create-pr-from-commits.svg)](https://agentmods.dev/skills/tableau/tableau-mcp/create-pr-from-commits)
Your own site
<a href="https://agentmods.dev/skills/tableau/tableau-mcp/create-pr-from-commits"><img src="https://agentmods.dev/badge/skills/tableau/tableau-mcp/create-pr-from-commits.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,969 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.1 $0.00035 $0.01969
Opus 5 $0.00017 $0.00984
Sonnet 5 $0.00007 $0.00394
Haiku 4.5 $0.00003 $0.00197

Measured 6d ago against content hash aad536e565a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

create-pr-from-commits 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 6d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/create-pr-from-commits/SKILL.md · 292 lines

How it starts

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

Create PR from Commits

Overview

Automate pull request creation by extracting information from git commits and filling the repository's PR template. This eliminates manual repetition while ensuring PRs contain complete, accurate information.

When to Use

Use when:

  • User asks to "create a PR"
  • User says "make a pull request"
  • User requests "submit this for review"
  • You've created 2+ PRs in the session (proactively offer this workflow)

Don't use when:

  • User wants to manually draft the PR description
  • PR requires special context not in commits
  • Repository has no PR template

Core Workflow

digraph pr_workflow {
    "User requests PR" [shape=doublecircle];
    "Gather git context" [shape=box];
    "Find PR template" [shape=box];
    "Analyze commits" [shape=box];
    "Fill template" [shape=box];
    "Create PR with gh pr create" [shape=box];
    "Return PR URL" [shape=doublecircle];

    "User requests PR" -> "Gather git context";
    "Gather git context" -> "Find PR template";
    "Find PR template" -> "Analyze commits";
    "Analyze commits" -> "Fill template";
    "Fill template" -> "Create PR with gh pr create";
    "Create PR with gh pr create" -> "Return PR URL";
}

Implementation

Step 1: Prompt for GUS ID (Internal Contributors Only)

For internal Tableau contributors, ask for the GUS work item ID:

What is the GUS work item ID for this PR? (Format: W-12345678)
If you're an external contributor, press Enter to skip.

GUS ID format:

  • Starts with @W-
  • Followed by 8 digits
  • Example: @W-22802840

If the user provides just the number (e.g., "22802840"), prepend @W-. If they provide "W-12345678", prepend @.

If no GUS ID provided: Continue without it - external contributors don't need GUS IDs.

Step 2: Gather Git Context (parallel)

Run these commands in parallel with Bash tool:

# Get all commits since main
git log main..HEAD --format="%h %s%n%b"

# Get full diff
git diff main...HEAD

# Get changed files
git diff main...HEAD --stat

# Check branch tracking
git branch -vv

Read the full file on GitHub · 292 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. 6d ago First seen · 292 lines · 35 tokens per session scan A aad536e565a5

Subscribe to this mod's changes

create-pr-from-commits is a skill published in the GitHub repository tableau/tableau-mcp (333 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 1,969 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-08-30.

Related

Other skills, from other repositories

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

memorix-git-memory

Use when the task depends on commit history, what changed, when a fix shipped, or linking engineering evidence to reasoning memory.

AVIDS2/memorix · 31 tokens

rival-search-mcp

Deterministic deep research via RivalSearchMCP. 9 tools: 5-engine web search (DuckDuckGo/Bing/Yahoo/Mojeek/Wikipedia), 9-platform social search (Reddit/HN/StackOverflow/Dev.to/Medium/ProductHunt/Bluesky/Lobste.rs/Lemmy), 5-source news (Google/Bing/Guardian/GDELT/DDG), 5 academic DBs…

damionrashford/RivalSearchMCP · 151 tokens

prepare-release

Prepare a new release for the C# MCP SDK. Assesses Semantic Versioning level (PATCH/MINOR/MAJOR), bumps the version, runs ApiCompat and ApiDiff, reviews documentation, updates changelogs, drafts release notes, and creates a pull request with all release artifacts. Use when asked to prepare a release, start a release…

modelcontextprotocol/csharp-sdk · 88 tokens

publish-release

Publish a GitHub release for the C# MCP SDK after a prepare-release PR has been merged. Refreshes release notes to include any PRs merged since preparation, warns about version or breaking change impacts from late-arriving PRs, and creates a draft GitHub release. Use when asked to publish a release, finalize a…

modelcontextprotocol/csharp-sdk · 87 tokens

verify-release

Verify a published release of the C# MCP SDK. Monitors the Release and Publish Docs workflows triggered by publishing a GitHub release, confirms the packages are listed on NuGet.org, and confirms the versioned documentation site reflects the release. Use when asked to verify a release, check whether a release…

modelcontextprotocol/csharp-sdk · 87 tokens