reedom-gh:create-draft-pr

Generate a structured PR draft payload from repository diffs and commits.

Updated Dec 6, 2025
One-click install
npx skills add https://github.com/reedom/claude-code-commands --skill reedom-gh-create-draft-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reedom-gh:create-draft-pr
Source: https://github.com/reedom/claude-code-commands/tree/main/gh/skills/create-draft-pr
Command: npx skills add https://github.com/reedom/claude-code-commands --skill reedom-gh-create-draft-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Drafting PRs can be repetitive and error-prone. This Skill assembles a complete PR title/body from diffs and commits.

Core Features & Use Cases

  • Generates a consistent PR title and body in the required format.
  • Supports preceding PR updates and language-aware headers.

Quick Start

Run the collect-info script to produce a ready-to-use PR payload, then refine as needed.

Frequently Asked Questions about reedom-gh:create-draft-pr

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

FAQPage Schema
How do I generate a complete PR title and body from my git commits and diffs?

This Skill generates complete PR content by collecting commits and diffs against your target branch, composing a title and body in the required format, and outputting a structured JSON payload ready for draft PR creation. Run the collect-info script to produce the ready-to-use PR payload.

Can I automate PR drafting with language-aware headers and preceding PR updates?

Yes. The Skill supports language selection for PR headers and incorporates preceding PR updates when present, allowing you to draft PRs with consistent formatting and context from related changes in a single automated step.

What does the PR payload from this Skill include?

The payload contains current_branch, target_branch, pr (title and body), existing_pr data, preceding_pr context when applicable, and error handling. This structured output is ready to refine and submit as a draft pull request.

How do I avoid manual PR composition errors when working with multiple commits?

Drafting PRs manually from diffs and commit messages is error-prone and repetitive. This Skill assembles a consistent PR title and body automatically from your repository changes, reducing composition mistakes and saving setup time.

Does this Skill work with non-main target branches?

Yes. The Skill generates diffs against a configurable target branch (default origin/main), allowing you to draft PRs for any branch in your workflow.

Can I add a custom prefix to my auto-generated PR title?

Yes. The Skill accepts an optional title prefix parameter, enabling you to prepend organization-specific labels, ticket IDs, or category tags to your PR title automatically.