git-draft-pr

Automate GitHub pull request creation with scope detection and human approval.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/williamw/agent-skills --skill git-draft-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-draft-pr
Source: https://github.com/williamw/agent-skills/tree/main/skills/git-draft-pr
Command: npx skills add https://github.com/williamw/agent-skills --skill git-draft-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, updating, and managing GitHub pull requests (PRs) by ensuring proper scope, structured formatting, and human approval, eliminating common issues in PR creation and management.

Core Features & Use Cases

  • Scope Detection: Automatically identifies in-scope and excluded commits for the PR, allowing for accurate PR creation.
  • Structured Formatting: Provides a clear and structured PR body format with narrative overview, issue link, summary, and notes sections.
  • Human Approval Gates: Ensures that the PR body and scope are confirmed by a human before proceeding, reducing errors and improving PR quality.
  • Use Case: Ideal for developers who need to create or update PRs for their projects, ensuring that each PR is well-scoped, properly formatted, and has human oversight.

Quick Start

Use the git-draft-pr skill to create a new draft PR for your branch. Provide the skill with the necessary context and it will guide you through the process, from scope detection to PR creation.

Frequently Asked Questions about git-draft-pr

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

FAQPage Schema
How do I automate GitHub pull request creation with proper scope detection?

Automate GitHub pull request creation by using a tool that guides you through structured scope detection, PR body formatting, and human approval steps. It automatically identifies in-scope and excluded commits to ensure accurate PR generation.

What is the best way to format a pull request body for project maintainers?

The best way to format a pull request body is using a structured format with narrative overview, issue link, summary, and notes sections. This ensures PR quality and adherence to project standards before submission.

How do I ensure human approval before submitting a pull request?

Ensure human approval before submitting a pull request by implementing human approval gates. This mechanism requires a human to confirm both the PR body and detected scope before proceeding, reducing errors and improving PR quality.

Can I exclude specific commits when drafting a pull request?

Yes, you can exclude specific commits when drafting a pull request. The scope detection feature automatically identifies in-scope and excluded commits, allowing you to review and confirm exactly which changes are included before creation.

Does this pull request management workflow require any external dependencies?

No, this pull request management workflow does not require any external dependencies. It operates independently using scripts to guide you from scope detection through PR creation without needing additional packages.

Why do my GitHub pull requests keep getting rejected for poor formatting?

Your GitHub pull requests may get rejected due to poor formatting and lack of structured scope. Using a guided workflow that enforces a structured PR body and human approval gates eliminates common issues in PR creation and management.