Dev & Engineering ✓ Microsoft · Official draft-pull-requestgithub-mcpgit-commitcode-reviewbuild-validation

Create Draft Pull Request

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

FollowSkills review · FSRS-2.0
Not recommended
38/ 100 5-point scale 1.9 / 5
Trust10 / 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.

Reliability6 / 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.

Adaptability7 / 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.

Convention6 / 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.

Effectiveness6 / 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.

Verifiability3 / 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.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
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.
See the full review method →

What it does & when to 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.

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

Pros & cons

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 to install

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.

How to use

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.

Compared to similar skills

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.

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

Tool Rename Compatibility Check

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

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

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

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

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

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

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

Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

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

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

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.

Dev & Engineering ✓ Microsoft · Official

VS Code Accessibility Development Guide

A practical specification for accessible interactive features in VS Code.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

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

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

Feedback Action

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

Related skills