draft-pr

Commit staged changes and create draft pull requests with GitHub CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the entire process of committing local changes and creating a draft pull request, streamlining your development workflow.

Core Features & Use Cases

  • Automated Committing: Uses the smart-commit workflow to stage and commit changes.
  • Branch Publishing: Pushes your local branch to the remote repository.
  • Draft PR Creation: Opens a draft pull request using your repository's PR templates.
  • Use Case: Quickly share your work-in-progress for early feedback by turning your latest commits into a draft PR with a single command.

Quick Start

Use the draft-pr skill to commit staged changes and create a draft pull request.

Frequently Asked Questions about draft-pr

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

FAQPage Schema
How do I create a draft pull request from local Git changes?

To create a draft pull request, you can automate the process by committing staged changes, publishing the local branch to a remote repository, and utilizing repository PR templates to open a draft PR for early feedback.

Do I need GitHub CLI to automate draft PR creation?

Yes, GitHub CLI is required to automate draft PR creation. The workflow depends on GitHub CLI alongside Git to push branches and open draft pull requests directly from your local command line environment.

What is the smart-commit workflow for publishing a draft PR?

The smart-commit workflow for publishing a draft PR involves staging local changes, applying specific conventions for branch naming and commit messages, and then automatically pushing the branch to create the pull request.

When should I use a draft pull request instead of a regular PR?

You should use a draft pull request when you need to quickly share work-in-progress code for early feedback. Draft PRs indicate that the changes are not yet ready for merging, allowing reviewers to provide input without approving final code.

Can I use my existing GitHub PR templates when creating a draft PR?

Yes, you can use your existing repository PR templates. The draft PR creation process automatically utilizes your repository's PR templates to populate the pull request description and structure.

Does creating a draft PR automatically push my local branch to remote?

Yes, creating a draft PR automatically pushes your local branch to the remote repository. The workflow commits your staged changes and publishes the branch before opening the draft pull request.