Skip to content
Development
Skill

/update-pr

Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

From plugin
vscode
189k26 skills
Install
$ npx -y skills add microsoft/vscode --skill update-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/update-pr

Context preview

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

Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

SKILL.md

update-pr.SKILL.md
name: update-pr
description: Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

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

Update Pull Request

Update the existing pull request for the current session. The context block appended to the prompt contains the pull request information.

1. Check whether the pull request has any commits that are not yet present on the current branch (incoming changes). If there are any incoming changes, pull them into the current branch and resolve any merge conflicts 2. Run the compile and hygiene tasks (fixing any errors) 3. If there are any uncommitted changes, use the `/commit` skill to commit them 4. If the outgoing changes introduce significant changes to the pull request, update the pull request title and description to reflect those changes 5. Update the pull request with the new commits and information

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