Dev & Engineering ✓ Microsoft · Official

Create Draft Pull Request

Validate the current session’s changes and open a draft PR through GitHub MCP.

38/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
draft-pull-requestgithub-mcpgit-commitcode-review
+1build-validation

What does this skill do, and when should you use it?

This skill creates a draft pull request for changes made in the current session. It first runs compile and hygiene tasks and fixes any errors found. If changes remain uncommitted, it uses the /commit skill to commit them. It then reviews the session’s changes, writes a concise area-prefixed title and a review-oriented description, and creates the draft PR through the GitHub MCP server.

Runs compile and hygiene tasks and fixes errors; checks for uncommitted changes and invokes the /commit skill when needed; reviews all changes in the current session; writes a PR title with a short area prefix; writes a description covering what changed, why it changed, and what reviewers should know; and creates a draft pull request through the GitHub MCP server. It explicitly prohibits use of the gh CLI.

Good fit
  • A developer has finished a session of code changes and wants a draft PR before merging.
  • A contributor wants compilation and hygiene checks performed and errors addressed before opening a PR.
  • A developer still has uncommitted workspace changes and needs them committed before creating the PR.
  • A maintainer wants the PR title to include a short area prefix and the description to explain the change and review context.

How do you install this skill?

Before you use it
  • Require explicit user confirmation before committing changes or creating the draft PR, and disclose the target branch, remote repository, uploaded changes, and rollback method.
  • “Run compile and hygiene tasks, fixing any errors” lacks concrete commands and repair boundaries and may authorize unintended code changes.
  • Document GitHub MCP permissions, diagnosable behavior when the service or network is unavailable, and handling for no-change or failed-check cases.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
  • MCP Server
Install first
  • GitHub MCP server
  • /commit skill

The repository bundles 61 skills, but the README provides no separate installation command. The skill is located at src/vs/sessions/skills/create-draft-pr/SKILL.md. Using it also requires an available GitHub MCP server and, when the session has uncommitted changes, the /commit skill.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/src/vs/sessions/skills/create-draft-pr" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Create a draft PR for the current session’s changes.

In an Agent Skills-compatible client with this skill loaded, make a request such as: “Create a draft PR for the current session’s changes.” The skill will run compile and hygiene tasks, commit changes when necessary, review the changes, write the title and description, and create the draft PR through GitHub MCP. The source does not specify the exact compile commands, hygiene commands, or GitHub MCP server configuration steps.

What are this skill's strengths and limitations?

Pros
  • Covers the workflow from compile and hygiene checks through draft PR creation.
  • Requires review of all current-session changes and specifies the expected PR title and description content.
  • Uses the GitHub MCP server explicitly instead of the gh CLI.
Limitations
  • The source does not provide concrete compile, hygiene, or MCP configuration commands.
  • It depends on a GitHub MCP server, but authentication, required permissions, and recovery behavior are not documented.
  • It is scoped to creating a draft PR for current-session changes and does not describe merge, release, or full PR management workflows.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Create Draft Pull Request this page ✓ Microsoft · Official 38 · Not recommended ★ 194k 11d ago MIT
Session Pull Request Assistant ✓ Microsoft · Official 43 · Not recommended ★ 194k 11d ago MIT
Yeet GitHub PR Flow ✓ OpenAI · Official 41 · Not recommended ★ 28k 4mo ago —
CODEOWNERS PR Splitter ✓ NVIDIA · Official 57 · Use with care ★ 3.6k 11d ago Apache-2.0
Codex Pull Request Editor ✓ OpenAI · Official 50 · Use with care ★ 129k 11d ago Apache-2.0

Unlike the gh CLI, this skill explicitly requires the GitHub MCP server to create the draft PR and forbids use of the gh CLI. The source provides no further comparison of their features, permissions, or setup.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
38/ 100 5-point scale 1.9 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust10 / 25 · 2.0/5

The skill restricts GitHub operations to the GitHub MCP server and asks for review of session changes, but it does not define permission scope, data flow, sensitive-data handling, user confirmation, final confirmation before commit/PR creation, or rollback. Committing changes, fixing arbitrary errors, and creating a remote draft PR can have durable external effects, so points are deducted. Microsoft provenance and the MIT license support attribution but do not replace missing safeguards.

2Reliability6 / 20 · 1.5/5

The sequence is coherent and includes compilation, hygiene checks, change review, and PR creation. However, it omits concrete commands, failure handling, abnormal repository states, no-change behavior, and diagnostics when the MCP server is unavailable. “Fixing any errors” can also expand scope. Because this is a static review without executable reproduction evidence for this skill, the score is conservative and capped.

3Adaptability7 / 15 · 2.3/5

The name, description, and primary trigger are clear: create a draft PR from current session changes. Boundaries are incomplete because required inputs, target branch, remote state, permissions, non-fit scenarios, and Chinese-language interaction are unspecified. The core function depends on GitHub MCP, while network reachability and fallback behavior are not documented.

4Convention6 / 15 · 2.0/5

The front matter is concise and consistent with the capability, while repository-level README, MIT licensing, Microsoft attribution, and general maintenance context are available. The skill itself lacks installation/dependency notes, parameter contracts, examples, FAQs, known limitations, versioning, changelog, and an explicit maintenance/update path.

5Effectiveness6 / 15 · 2.0/5

The workflow addresses the core task by checking the codebase, committing session changes, reviewing them, drafting PR metadata, and creating a draft PR. Points are deducted because output format, branch/base selection, the scope of automatic fixes, and acceptance criteria are unspecified, leaving meaningful manual review. Static inspection cannot verify successful completion, so the score stays within the static ceiling.

6Verifiability3 / 10 · 1.5/5

The instructions are directly auditable, and repository scripts and CI provide contextual evidence. There is no dedicated test, execution record, third-party run evidence, or MCP trace for create-draft-pr, and the supplied CI workflows do not cover its key path. Evidence therefore supports only limited verification.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill create a ready-to-merge PR or a draft PR?
It creates a draft pull request rather than a PR presented as ready to merge.
Does it require the gh CLI?
No. The SKILL.md explicitly requires the GitHub MCP server and says not to use the gh CLI.
What happens if there are uncommitted changes?
The skill uses the /commit skill to commit them before continuing with review and draft PR creation.
Which commands or permissions must be configured first?
The source only identifies the GitHub MCP server as a requirement. It does not document its configuration, authentication, or permissions, and it does not provide the exact compile or hygiene commands.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Session Pull Request Assistant

Checks session changes and creates a GitHub pull request through GitHub MCP.

★ 194k FS 43 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Existing Pull Request Updater

Sync the branch, run checks, and publish new changes to an existing pull request.

★ 194k FS 32 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Session Code Review

Review the current session's code changes and place actionable findings directly on the relevant lines.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

★ 194k FS 63 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Telemetry Error Fix Guide

Trace unhandled telemetry errors to invalid-data producers instead of masking the crash site.

★ 194k FS 52 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Feedback Action

Reads current-session feedback and applies the requested code changes.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Code OSS Development Log Viewer

Locate and inspect the latest Code OSS development logs.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Branch Merge Assistant

Safely merges session work from a topic branch back into its base branch.

★ 194k FS 49 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

★ 194k FS 48 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

Azure Pipelines Validation Assistant

Validate VS Code Azure DevOps pipeline changes without waiting for full CI feedback.

★ 194k FS 47 Use with care 11d ago
Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

★ 194k FS 58 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

★ 194k FS 54 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Memory Leak Audit

Systematically find and fix listener, lifecycle, and disposable leaks in VS Code code.

★ 194k FS 52 Use with care 11d ago

Related skills