pr-create

Create draft GitHub pull requests using the gh CLI.

1.2k|105|Updated May 20, 2009
One-click install
npx skills add https://github.com/wincent/wincent --skill pr-create-wincent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-create
Source: https://github.com/wincent/wincent/tree/main/aspects/dotfiles/files/.claude/skills/pr-create
Command: npx skills add https://github.com/wincent/wincent --skill pr-create-wincent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of draft GitHub pull requests, generating titles and bodies from commit history and diffs, streamlining the code review process.

Core Features & Use Cases

  • Automated PR Creation: Creates draft pull requests using the gh CLI.
  • Contextual Generation: Auto-generates titles and bodies based on git log and git diff.
  • Template Integration: Supports and utilizes PR templates if found in the repository.
  • Use Case: After pushing a new feature branch, you can use this Skill to quickly create a draft PR, pre-populated with a summary of your changes, ready for review.

Quick Start

Use the pr-create skill to draft a pull request for the current branch.

Frequently Asked Questions about pr-create

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

FAQPage Schema
How do I create a draft GitHub pull request automatically from my current branch?

To create a draft GitHub pull request automatically, this Skill uses the `gh` CLI to gather your branch's commit history and diffs, generates a title and body, and presents the draft PR for your review before creation.

Can I auto-generate a PR title and body from my git commit history?

Yes, you can auto-generate a PR title and body from your git commit history and diffs. The Skill analyzes your changes to populate the pull request content contextually without manual entry.

Does the PR creation process support repository pull request templates?

The PR creation process does support repository pull request templates. It checks your repository for existing templates and integrates them into the auto-generated draft pull request body.

Do I need the GitHub CLI installed to automate draft PR creation?

You do need the GitHub CLI installed to automate draft PR creation. The Skill relies on the `gh` CLI to determine the default branch, extract commit information, and submit the draft pull request.

What is the best way to streamline code review by drafting pull requests from git diffs?

The best way to streamline code review by drafting pull requests from git diffs is using this Skill to auto-populate titles and bodies from your changes, creating a ready-to-review draft PR instantly.

Can I review the auto-generated pull request before it is created on GitHub?

You can review the auto-generated pull request before it is created on GitHub. The Skill presents the populated draft PR to you for potential revisions prior to final submission.