create-draft-pr

Commit changes, push a branch, and open a draft pull request.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/Noisemaker111/Jonsoc --skill create-draft-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-draft-pr
Source: https://github.com/Noisemaker111/Jonsoc/tree/main/.opencode/skills/create-draft-pr
Command: npx skills add https://github.com/Noisemaker111/Jonsoc --skill create-draft-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of creating a focused draft pull request by guiding you through committing changes, pushing a branch, and generating a concise PR body.

Core Features & Use Cases

  • Automated Draft PR Creation: Commit changes, push a feature branch, and open a draft PR with a focused summary.
  • Guided PR Body: Provides a structured PR description format to keep changes clear.
  • Use Case: When finishing a feature or bug fix, run this Skill to quickly generate a draft PR with a succinct narrative ready for review.

Quick Start

  1. Stage and commit changes with a concise message, e.g., git add -A; git commit -m "Short description"
  2. Create and push a new branch, e.g., git checkout -b feature/your-change; git push -u origin feature/your-change
  3. Create a draft PR using GitHub CLI, e.g., gh pr create --draft

Frequently Asked Questions about create-draft-pr

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

FAQPage Schema
How do I automate creating a draft pull request with git and GitHub CLI?

To automate a draft pull request, stage changes, create a feature branch, push to the remote repository, and run GitHub CLI commands to open a draft PR with a structured summary.

What is the purpose of opening a draft pull request for feature branches?

A draft pull request signals work in progress on a feature branch. It provides a structured PR body for concise narratives, allowing teams to view changes and start quick review cycles before finalizing.

What do I need to set up before pushing a branch and opening a draft PR?

You need standard Git installed, a configured remote repository, and the GitHub CLI or equivalent tooling available in your environment to stage, push, and generate the draft pull request.

How do I write a structured PR body for a bug fix or feature update?

Write a structured PR body by summarizing the bug fix or feature update concisely. Automation guides this process to ensure the pull request narrative remains focused for reviewers.

Can I use this automation to generate draft PRs for documentation updates?

Yes, you can generate draft PRs for documentation updates. The automation stages your doc changes, pushes the branch, and opens a draft pull request with a focused summary for quick review.