create-pr

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

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/EtanHey/golems --skill create-pr-etanhey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/EtanHey/golems/tree/main/skills/golem-powers/create-pr
Command: npx skills add https://github.com/EtanHey/golems --skill create-pr-etanhey

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of submitting your code for review by automating the steps of pushing your branch and creating a pull request.

Core Features & Use Cases

  • Automated Branch Pushing: Pushes your current Git branch to the remote repository.
  • Pull Request Creation: Creates a new pull request using the GitHub CLI (gh).
  • Intelligent Defaults: Auto-generates PR titles and bodies from commit messages.
  • Use Case: After completing a feature and committing your changes, you can run this skill to instantly create a PR, saving you from manually typing Git commands and navigating to GitHub.

Quick Start

Use the create-pr skill to push the current branch and open a pull request.

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 from the command line?

To create a pull request, this Skill automates pushing your Git branch to a remote repository and opening a request via the GitHub CLI. It handles branch validation, checks for uncommitted changes, and generates PR titles and bodies from commit history.

Can I automatically generate a PR title and body from commit messages?

Yes, you can automatically generate a PR title and body from commit messages. The Skill intelligently parses your commit history to populate the pull request details, eliminating the need to manually write descriptions when submitting code for review.

How do I push a Git branch and open a PR in one step?

You can push a Git branch and open a PR in one step by running this Skill. It streamlines the entire submission process by executing both the remote branch push and the GitHub CLI pull request creation sequentially with a single command.

Do I need the GitHub CLI installed to automate pull request creation?

Yes, you need the GitHub CLI (`gh`) installed to automate pull request creation. The Skill relies on the `gh` command-line tool to handle the actual creation of the pull request on the remote repository after pushing your branch.

Does this pull request automation check for uncommitted changes before pushing?

Yes, this pull request automation checks for uncommitted changes before pushing. It performs branch validation and verifies your working directory state to ensure your local changes are properly committed before pushing to the remote repository.

Can I specify a target base branch when creating a pull request?

Yes, you can specify a target base branch when creating a pull request. The Skill supports directing your pull request to a specific destination branch, ensuring your pushed code is reviewed against the correct branch context.