devkit.github.create-pr

devkit.github.create-pr is a command for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 26 tokens per session (3,150 once invoked), scanned A, original, MIT.

A command for preparing and submitting a GitHub pull request, which is a proposed set of code changes sent for review. It handles the surrounding branch and commit workflow and creates a detailed description.

In plain words
What is it for?
Use it when changes are ready to share for review on GitHub. You can provide an optional title, target branch, and description language.
Why use it?
It gathers the repository state and packages completed changes into a reviewable request. This reduces the manual work of checking the branch, commits, changed files, and target branch.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the developer-kit plugin — 8 skills, 6 commands, 7 agents, 1 hook shipped together

Good fit Use it when changes are ready to share for review on GitHub. You can provide an optional title, target branch, and description language.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-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.

Clone the repo
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit, the plugin that ships this one along with the rest of its 8 skills, 6 commands, 7 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-pr/github.svg)](https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-pr)
Your own site
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-pr"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-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 devkit.github.create-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-pr"><img src="https://agentmods.dev/badge/commands/giuseppe-trisciuoglio/developer-kit/devkit.github.create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,150 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.00026 $0.03150
Opus 5.5 $0.00010 $0.01260
Sonnet 5.5 $0.00005 $0.00630
Haiku 4.5 $0.00003 $0.00315

Measured 1mo ago against content hash 36f33cc8fc08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devkit.github.create-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 1mo 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/developer-kit-core/commands/devkit.github.create-pr.md · 540 lines

How it starts

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

Create GitHub Pull Request

Overview

Creates a GitHub pull request with branch creation, commits, and detailed description. Use when you need to submit changes for review.

Usage

/devkit.github.create-pr $ARGUMENTS

Arguments

Argument Description
$ARGUMENTS Combined arguments passed to the command

Current Context

  • Current Branch: !git branch --show-current
  • Git Status: !git status --porcelain
  • Remote Repository: !git config --get remote.origin.url
  • Modified Files: !git diff --name-only

Execution Instructions

Agent Selection: To execute this GitHub task, use the following approach:

  • Primary: Use general-purpose agent with GitHub CLI expertise and code analysis capabilities

Configuration

Arguments received: $ARGUMENTS

$1: PR title (optional - will be generated if not provided) $2: Target branch (optional - defaults to main or master) $3: Language for PR description (optional - defaults to en)

Supported languages: en, it, es, fr, de

Phase 1: Pre-Flight Validation

1.1 Check Working Directory

Verify git repository and working directory status:

# Verify git repository
if ! git rev-parse --git-dir > /dev/null 2>&1; then
    echo "Error: Not a git repository"
    exit 1
fi

# Check for uncommitted changes
if [ -z "$(git status --porcelain)" ]; then
    echo "Error: No changes to commit"
    exit 1
fi

# Verify remote repository exists
if ! git config --get remote.origin.url > /dev/null 2>&1; then
    echo "Error: No remote repository configured"
    exit 1
fi

# Check GitHub CLI authentication
if ! gh auth status > /dev/null 2>&1; then
    echo "Error: GitHub CLI not authenticated. Run: gh auth login"
    exit 1
fi

1.2 Determine Target Branch

# Detect default branch
TARGET_BRANCH="${2:-$(git remote show origin | grep 'HEAD branch' | cut -d' ' -f5)}"
if [ -z "$TARGET_BRANCH" ]; then
    TARGET_BRANCH="main"
fi

echo "Target branch: $TARGET_BRANCH"

Read the full file on GitHub · 540 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. 1mo ago First seen · 540 lines · 26 tokens per session scan A 36f33cc8fc08

Subscribe to this mod's changes

devkit.github.create-pr is a command published in the GitHub repository giuseppe-trisciuoglio/developer-kit (360 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 3,150 once invoked, about $0.0001 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-30.