create-github-pr

Automate GitHub pull request creation with pre-flight checks and approval gates.

6|1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/vladolaru/claude-code-plugins --skill create-github-pr-vladolaru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-github-pr
Source: https://github.com/vladolaru/claude-code-plugins/tree/main/plugins/pirategoat-tools/skills/create-github-pr
Command: npx skills add https://github.com/vladolaru/claude-code-plugins --skill create-github-pr-vladolaru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the end-to-end creation of GitHub pull requests with a structured, phase-driven workflow, reducing manual overhead and ensuring consistency across PRs.

Core Features & Use Cases

  • Phase 0 — Pre-flight checks verify the current branch, status, and base branch alignment.
  • Phase 1 — Parallel context gathering collects commits, branch details, and changelog notes to inform PR content.
  • Phase 2 — Content generation synthesizes a clear PR title and descriptive body from changes.
  • Phase 3 — User approval gate halts until confirmation to proceed.
  • Phase 4 — Draft PR creation to allow review and iteration without disrupting status.
  • Phase 5 — Post-creation steps like optional assignee suggestions and milestone alignment.
  • Phase 6 — Cleanup of temporary artifacts and logs after PR submission. These features enable reliable, repeatable PR creation with guardrails and traceable context.

Quick Start

Run this workflow to guide you through pre-flight checks, context gathering, and drafting a pull request.

Frequently Asked Questions about create-github-pr

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

FAQPage Schema
How do I automate GitHub pull request creation?

The workflow creates draft PRs to allow safe review and iteration before final submission. An approval gate halts the process after content generation, ensuring you maintain control over the proposed title and body before anything is pushed to GitHub.

What is the best way to ensure consistent PR formatting across feature branches?

Yes, this workflow supports standard PR creation scenarios across feature branches, fixes, and updates. It coordinates pre-flight checks and context gathering to handle various branch types while maintaining consistent content generation.

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

Yes, you need the Git and GitHub CLI installed and repository access to automate draft PR creation. The workflow relies on these tools to execute pre-flight checks, gather branch context, and submit the pull request.

What happens before the pull request is submitted to GitHub?

Before submission, the workflow runs pre-flight checks, gathers context, generates content, and pauses at a user approval gate. It then creates a draft PR, suggests assignees, aligns milestones, and cleans up temporary artifacts and logs.