create-pr

Push a local Git branch and create a pull request via GitHub CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/XiriGo/ecommerce-mobile --skill create-pr-xirigo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/XiriGo/ecommerce-mobile/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/XiriGo/ecommerce-mobile --skill create-pr-xirigo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of pushing code changes and creating pull requests, automating a crucial step in collaborative software development workflows.

Core Features & Use Cases

  • Automated Branch Pushing: Pushes the current local branch to its remote counterpart.
  • Pull Request Creation: Generates a pull request targeting a specified base branch (defaults to develop).
  • Issue Linking: Optionally links the PR to a GitHub issue using the --closes N argument.
  • Auto-Merge: Supports automatic merging of the PR once CI checks pass, if the --auto-merge flag is provided.
  • Use Case: After completing a feature, use this Skill to quickly push your branch and open a PR for review, optionally linking it to the relevant task ticket and setting it up for auto-merge.

Quick Start

Push the current branch and create a pull request targeting the develop branch.

Frequently Asked Questions about create-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a pull request and automatically push my local Git branch?

To create a pull request, this Skill automates pushing your local Git branch to the remote repository and opening a PR using GitHub CLI, targeting the develop branch by default.

Can I link a GitHub issue when creating a pull request?

Yes, you can link a GitHub issue when creating a pull request by using the --closes N argument, which automatically associates the PR with the specified issue number for tracking.

How do I enable auto-merge for a pull request after CI checks pass?

You can enable auto-merge for a pull request by providing the --auto-merge flag, allowing the PR to merge automatically once CI checks complete successfully.

Do I need GitHub CLI to automate pull request creation?

Yes, you need GitHub CLI to automate pull request creation, as this Skill integrates directly with GitHub CLI to handle remote branch pushing and PR operations.

Can I target a specific base branch when opening a pull request?

Yes, you can target a specific base branch when opening a pull request, though the automation defaults to targeting the develop branch if no specific base is defined.