create-pr-from-staged-changes

create-pr-from-staged-changes is a command for Claude Code from carloshpdoc/ios-workflow-claude. It costs 0 tokens per session (848 once invoked), scanned A, original, Apache-2.0.

A command that creates a GitHub pull request from staged code changes using an iOS team’s standard template. A pull request is a proposal to merge changes into a shared codebase.

In plain words
What is it for?
Committing staged changes when needed, pushing the branch to GitHub, and creating a pull request with testing, documentation, build, accessibility, and behavior sections.
Why use it?
It handles the repeated steps of committing, pushing, and opening the pull request while keeping required checklist and behavior sections consistent.

Command for Claude Code

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

Part of the ios-workflow plugin — 22 commands, 3 agents shipped together

Good fit Committing staged changes when needed, pushing the branch to GitHub, and creating…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/carloshpdoc/ios-workflow-claude/create-pr-from-staged-changes
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/carloshpdoc/ios-workflow-claude

Made for: Claude Code.

Or install ios-workflow, the plugin that ships this one along with the rest of its 22 commands, 3 agents.

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-staged-changes

README.md
[![agentmods](https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/create-pr-from-staged-changes.svg)](https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/create-pr-from-staged-changes)
Your own site
<a href="https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/create-pr-from-staged-changes"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/create-pr-from-staged-changes.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 848 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.00000 $0.00848
Opus 5 $0.00000 $0.00424
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

Measured 7d ago against content hash 2d2618f184d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

create-pr-from-staged-changes 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 7d 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/ios-workflow/commands/create-pr-from-staged-changes.md · 99 lines

How it starts

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

Create Pull Request

Project context: Values in angle brackets below (e.g. <scheme>, <JIRA_KEY>, <flag-key-enum>) are resolved at runtime — detect them from the project (xcodebuild -list -json for the scheme, git/gh for repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.

You are helping to create a pull request following the iOS team's standard template.

Task

When the user asks to create a PR or open a pull request:

  1. Commit staged changes (if not already committed)
  2. Push to remote with -u origin [branch-name]
  3. Create PR using gh with the template below

PR Template

Use this exact template when creating the PR with gh pr create:

## Pull Request Checklist

- [ ] I tested my code (for bug/feature)
- [ ] Documents have been revised and added/updated if necessary (for bug/feature fixes)
- [ ] The build was run locally, and all changes were pushed
- [ ] Feature tested for accessibility

## What is the current behavior?

[Describe the current behavior or link to a relevant issue]

## What is the new behavior?

[Describe the behavior or changes being added by this PR]

## Have any third-party libraries been added or changed?

[Describe what the libraries are, or write "No"]

## Does this change involve any AB testing?

[If so, what is the experiment's name and the link to it in the console? If not, what is the justification for the absence?]

## Evidence

[Screenshots/videos of how the components/functionalities are changed or created]

## Other information

[Any other important information to this PR]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

PR Title Format

Follow this pattern for the title:

[TYPE][<JIRA_KEY>-XXXX] Description

Where TYPE is one of: BUILD, CI, DOCS, FEATURE, FIX, PERF, REFACTOR, STYLE, TEST

PR Label

Every PR must have exactly one report label. Select based on the nature of the change:

Read the full file on GitHub · 99 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. 7d ago First seen · 99 lines · 0 tokens per session scan A 2d2618f184d9

Subscribe to this mod's changes

create-pr-from-staged-changes is a command published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 848 tokens. 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.