Skip to content
Development
Command

/create-pr-from-staged-changes

**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

From plugin
ios-workflow-claude
722 skills3 agents22 commands
Install
$ npx -y skills add carloshpdoc/ios-workflow-claude --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/create-pr-from-staged-changes

Context preview

What this command does when you run it.

**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

Command definition

create-pr-from-staged-changes.md

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 <scheme> 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:

| Label | Use when | |-------|----------| | `report-feature` | New feature or functionality | | `report-improvement-fix` | Bug fix or UX improvement (not a new feature) | | `report-tech-improvement` | Tech debt, CI/CD, refactoring, code removal | | `report-analytics-fix` | Analytics-related changes |

**Auto-inference from TYPE:**

  • FEATURE → `report-feature`
  • FIX → `report-improvement-fix`
  • REFACTOR, BUILD, CI, PERF, STYLE, DOCS, TEST → `report-tech-improvement`

If the label is ambiguous (e.g., a FIX that is actually analytics), ask the user.

Skip CI for Docs-Only PRs

When a PR **only** changes documentation files (`.claude/**`, `docs/**`, `*.md`, `.github/**`), add `[skip ci]` to the commit message to avoid wasting CI resources.

**How:** Include `[skip ci]` at the end of the first line or in the commit body:

[DOCS][<JIRA_KEY>-3271] Update create-tasks skill [skip ci]

**When NOT to skip:** If the PR touches ANY Swift, config, or build file — even alongside docs — do NOT add `[skip ci]`.

Notes

  • Always set `--base dev` when creating the PR
  • Always add `--label "<label>"` to the `gh pr create` command using the selected report label
  • Fill in all sections appropriately based on the changes
  • Include evidence (screenshots/videos) when applicable
  • Add the Claude Code footer at the end of the PR body
Read more
Ships withios-workflow-claude

Reusable Claude Code slash-commands, skills, and workflows extracted from real iOS / backend projects. Packaged as three installable plugins - register the marketplace and /plugin install what you need.

Get the whole plugin, auto-invoked
Stats
7
Stars
0
Views
1
Forks
Maintained
Maintenance
Shell
Language
Apache-2.0
License
2mo ago
Last commit
2mo ago
Created

Repo: carloshpdoc/ios-workflow-claude

Other commands on ios-workflow-claude.