create-draft-pr

Creates a draft pull request on GitHub with the current session's changes.

Updated Aug 30, 2026
One-click install
npx skills add https://github.com/Tyrizx/Tyrizx --skill create-draft-pr-tyrizx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-draft-pr
Source: https://github.com/Tyrizx/Tyrizx/tree/main/src/vs/sessions/skills/create-draft-pr
Command: npx skills add https://github.com/Tyrizx/Tyrizx --skill create-draft-pr-tyrizx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning a coding session's changes into a reviewable pull request involves several manual steps: running compile and hygiene checks, committing leftover changes, writing a title and description, and opening the PR. This Skill automates that entire flow so a draft PR is created consistently every time. ## Core Features & Use Cases - Automated pre-PR checks: Runs compile and hygiene tasks and fixes errors before opening the PR. - Session change handling: Commits any uncommitted changes via the /commit skill, then reviews all session changes. - Structured PR authoring: Generates a concise title with an area prefix (e.g. "sessions: ...") and a description covering what changed, why, and reviewer notes. - Use Case: After finishing a bug fix in a VS Code session, ask for a draft PR and get a ready-to-review GitHub pull request without touching the CLI yourself. ## Quick Start Create a draft pull request for the changes in this session.

Frequently Asked Questions about create-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 a coding session?

Invoke the create-draft-pr skill after finishing your changes. It runs compile and hygiene tasks, commits any uncommitted work, writes a title and description, and opens the draft PR using the GitHub MCP server or gh CLI.

What tools are used to open the pull request?

The skill prefers the GitHub MCP server when available and falls back to the gh command-line interface otherwise. No other GitHub tooling is required.

What happens if there are uncommitted changes in the session?

Uncommitted changes are committed first using the /commit skill before the pull request is created, so the draft PR always contains the complete set of session changes.

Does the skill run checks before creating the PR?

Yes. It runs the compile and hygiene tasks first and fixes any errors they report, ensuring the branch is in a clean, buildable state before the draft PR is opened.

How is the pull request title and description generated?

The skill reviews all session changes, writes a concise title with a short area prefix such as "sessions:" or "editor:", and composes a description covering what changed, why, and notes for reviewers.