draft-pr

Automate staging, committing, pushing, and opening draft pull requests.

6|3|Updated Sep 13, 2017
One-click install
npx skills add https://github.com/tomholford/dotfiles --skill draft-pr-tomholford
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: draft-pr
Source: https://github.com/tomholford/dotfiles/tree/main/claude/skills/draft-pr
Command: npx skills add https://github.com/tomholford/dotfiles --skill draft-pr-tomholford

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stage, commit, push, and open a draft pull request can involve multiple manual steps. This Skill consolidates them into a repeatable workflow to reduce context switching and human error.

Core Features & Use Cases

  • Stage changes with git add
  • Commit with a meaningful, conventional message
  • Push the current branch to the remote
  • Open a draft pull request on GitHub or an equivalent on other platforms

Quick Start

Stage changes, commit with a clear message, push to the remote, and open a draft PR.

Frequently Asked Questions about 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 from local changes?

Automating a draft pull request involves staging local changes, committing with a conventional message, pushing the branch to the remote, and opening the PR. This Skill consolidates these manual git steps into a repeatable workflow to reduce human error.

Does this draft PR automation work with Gitea remotes?

Yes, draft PR automation works with Gitea remotes. The Skill detects the platform from your git remotes and uses the appropriate command, such as mcp__gitea__pull_request_write for Gitea or gh pr create for GitHub.

What's the best way to stage, commit, and push a feature branch for a draft PR?

The best way to stage, commit, and push a feature branch is using an automated workflow that handles git add and git commit sequentially. This ensures your feature, bugfix, or chore branch is pushed correctly before opening the draft pull request.

Do I need git authentication configured to open a draft PR?

Yes, you need git authentication and a configured remote to open a draft PR. The Skill requires valid credentials to push your current branch to the remote and to authorize the platform-specific API calls for creating the pull request.

Can I use this to open draft PRs for bugfix and chore branches?

Yes, you can use this to open draft PRs for bugfix and chore branches. The Skill is designed to handle typical feature, bugfix, and chore branches, automating the end-to-end workflow for various types of development tasks.

Why does opening a draft pull request involve multiple manual steps?

Opening a draft pull request involves multiple manual steps because you must separately stage changes, commit, push the branch, and trigger the PR creation command. Consolidating these actions into a single automated workflow reduces context switching and potential human error.