creating-github-pull-requests

Create structured GitHub pull requests from branch commits and templates.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/hoesler/agent-stuff --skill creating-github-pull-requests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-github-pull-requests
Source: https://github.com/hoesler/agent-stuff/tree/main/skills/creating-github-pull-requests
Command: npx skills add https://github.com/hoesler/agent-stuff --skill creating-github-pull-requests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of preparing a GitHub pull request by checking the branch state, gathering context, and structuring the submission correctly.

Core Features & Use Cases

  • PR Preparation: Reviews commits, diffs, and branch status before opening a request.
  • Guideline Compliance: Searches contribution docs and PR templates so the final body matches repository expectations.
  • Safe Draft Workflow: Creates the pull request as a draft first, then waits for explicit approval before publishing.
  • Use Case: A developer finishing a feature branch can use this Skill to produce a clean, convention-aware PR with the right title, issue reference, checklist items, and review-ready summary.

Quick Start

Ask the skill to prepare a draft GitHub pull request from your current branch using the commits, contribution guidelines, and repository PR template.

Frequently Asked Questions about creating-github-pull-requests

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

FAQPage Schema
How do I create a GitHub pull request from an existing branch?

To create a GitHub pull request, this Skill reviews your existing branch commits, diffs, and status, then structures the submission by matching repository contribution guidelines and PR templates to generate a polished request.

What's the best way to ensure my PR matches a repository's contribution guidelines?

The best way to ensure guideline compliance is to automatically search the repository's contribution docs and PR templates, using that context to structure the final PR body so it matches the project's specific formatting and checklist expectations.

Can I use the GitHub CLI with a draft-first pull request workflow?

Yes, the GitHub CLI is supported for draft-first PR creation. The Skill satisfies GitHub CLI usage by preparing the pull request as a draft initially, then publishing it on approval to ensure safe code review submission.

How does this pull request preparation process handle commit history and branch state?

The pull request preparation process reviews your commit history and branch state before opening a request. It analyzes the existing commits and diffs to construct a review-ready summary with the correct title and issue references.

Do I need an existing feature branch to prepare a structured GitHub PR?

Yes, you need an existing branch with commit history. The Skill operates end-to-end by reviewing the current branch state and commits to produce a clean, convention-aware pull request for feature work, bug fixes, or workflow changes.