open-pull-request

Create and submit GitHub pull requests using the GitHub CLI.

Updated Jan 7, 2026
One-click install
npx skills add https://github.com/lbussell/agent-skills --skill open-pull-request
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-pull-request
Source: https://github.com/lbussell/agent-skills/tree/main/skills/open-pull-request
Command: npx skills add https://github.com/lbussell/agent-skills --skill open-pull-request

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of creating and submitting pull requests, ensuring clear communication and adherence to best practices for code review.

Core Features & Use Cases

  • Automated PR Drafting: Generates PR titles and descriptions based on commit messages and user input.
  • Best Practice Enforcement: Guides users to follow established conventions for PR titles and descriptions.
  • Use Case: After committing your code changes, use this skill to quickly draft a comprehensive pull request description, including relevant issue links and testing validation, before submitting it for review.

Quick Start

Use the open-pull-request skill to draft a pull request for the main branch, fixing issue number 123.

Frequently Asked Questions about open-pull-request

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

FAQPage Schema
How do I automate pull request creation with GitHub CLI?

Automate pull request creation by using the GitHub CLI to gather target branch, fixes, and validation details, then execute `gh pr create` with specified flags to submit the PR automatically. The skill guides this entire drafting and submission process.

What should a good pull request title and description include?

A good pull request title uses imperative mood and stays under 50 characters, while the description explains what changed and why. Including related issue links and testing validation details ensures clear communication for code review.

How to draft a pull request description from commit messages?

Draft a pull request description from commit messages by gathering user input on fixes, related issues, and pipeline links. The skill enforces best practices to generate comprehensive PR titles and descriptions based on the provided commit context.

Does this pull request automation tool require any dependencies?

This pull request automation tool requires no external dependencies. It operates independently using scripts and references to guide the PR creation process via the GitHub CLI without additional setup or package installations.

Can I include related issues and pipeline links when creating a GitHub pull request?

Yes, you can include related issues and pipeline links when creating a GitHub pull request. The skill guides users through gathering these validation details to draft effective PR descriptions before submitting via the GitHub CLI.