Skip to content
Development
Skill

/create-draft-pr

Create a draft pull request for the current session. Use when the user wants to open a draft PR with the session's changes.

From plugin
vscode
189k26 skills
Install
$ npx -y skills add microsoft/vscode --skill create-draft-pr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/create-draft-pr

Context preview

The summary Claude sees to decide when to auto-load this skill.

Create a draft pull request for the current session. Use when the user wants to open a draft PR with the session's changes.

SKILL.md

create-draft-pr.SKILL.md
name: create-draft-pr
description: Create a draft pull request for the current session. Use when the user wants to open a draft PR with the session's changes.

<!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->

Create Draft Pull Request

Use the GitHub MCP server to create a draft pull request — do NOT use the `gh` CLI.

1. Run the compile and hygiene tasks (fixing any errors) 2. If there are any uncommitted changes, use the `/commit` skill to commit them 3. Review all changes in the current session 4. Write a clear, concise PR title with a short area prefix (e.g. "sessions: …", "editor: …") 5. Write a description covering what changed, why, and anything reviewers should know 6. Create the draft pull request

Ships withvscode

Visual Studio Code

Get the whole plugin
Stats
188,563
Stars
41,517
Forks
Active
Maintenance
TypeScript
Language
MIT
License
58m ago
Last commit
10y ago
Created

Repo: microsoft/vscode