Dev & Engineering ✓ Microsoft · Official git-rebasebranch-maintenanceconflict-resolutionupstream-syncsession-branch

Upstream Branch Sync

Rebase a stale session branch onto the latest upstream changes.

FollowSkills review · FSRS-2.0
Not recommended
35/ 100 5-point scale 1.8 / 5
Trust7 / 25 · 1.4/5

The skill defines fetching upstream and rebasing, and explicitly says upstream wins during conflicts, providing some operational scope. It does not require user confirmation, disclose the remote data flow, provide a backup or abort/rollback procedure, or address failed partial rebases; automatically committing uncommitted work also creates local state changes, so trust is substantially deducted.

Reliability7 / 20 · 1.8/5

The main workflow is short and internally understandable, including staging resolved files and continuing the rebase. However, it lacks diagnosable handling for unavailable remotes, authentication failure, nonstandard branches, commit failure, unresolvable conflicts, and failed validation; validation is also vague. Static calibration therefore keeps the score below 10.

Adaptability6 / 15 · 2.0/5

The name, description, and workflow fit the scenario of a stale session branch catching up with a significantly advanced upstream. Boundaries, non-trigger cases, required repository state, remote prerequisites, and expected outputs are not specified, Chinese-language support is absent, and reachability of the required Git remote is not established, so points are deducted.

Convention6 / 15 · 2.0/5

The document has front matter and sections for workflow, conflict handling, and validation. Repository-level material supplies MIT licensing, Microsoft attribution, and maintenance context. The skill itself lacks versioning, changelog, ownership/update responsibility, installation and dependency notes, examples, FAQs, explicit limitations, and a clear update path; it also assumes a separate /commit skill.

Effectiveness6 / 15 · 2.0/5

The stated goal—rebasing the current session branch onto current upstream—could plausibly be achieved on the happy path. Nevertheless, automatic commit/rebase effects require review, validation has no concrete acceptance commands, and the skill does not produce a clearly defined recoverable result when session work no longer fits. Static calibration limits this to the 7-point range.

Verifiability3 / 10 · 1.5/5

The instructions expose auditable commands and conflict policy, while the repository includes general CI and test material. That evidence is not specific to this skill's rebase path, and no skill-specific tests, sample outputs, or third-party execution evidence are provided, so verifiability remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
Before you use it
  • Obtain explicit confirmation before committing automatically, fetching from the remote, or resolving conflicts in a way that may discard session-side changes; create a recoverable branch or backup first.
  • Add concrete handling and failure feedback for origin/base-branch discovery, authentication or network failure, unresolvable conflicts, abort/recovery, commit failure, and validation failure.
  • Specify executable validation commands and acceptance criteria tied to the session objective; the supplied repository CI evidence does not demonstrate that this skill path is tested.
See the full review method →

What it does & when to use it

This skill updates a session branch that has fallen behind origin. It first handles uncommitted changes, then fetches upstream and rebases the current branch onto the appropriate base branch, with origin/main as the documented example. When conflicts occur, upstream logic is preserved and session work is adapted around it. After the rebase, the result should be checked for compilation and alignment with the session’s objectives.

Checks for uncommitted changes and, when necessary, uses the /commit skill to commit them; runs git fetch origin; runs git rebase origin/main, or uses the appropriate branch when the base is not main; resolves conflicts by preserving upstream logic, adapting session work, staging files with git add, and continuing with git rebase --continue; then validates compilation and session objectives.

  1. A developer’s session branch is substantially behind origin and needs to catch up before further work.
  2. A developer encounters rebase conflicts where upstream behavior and APIs must take precedence.
  3. A developer wants to verify that session changes still compile and meet their objectives after synchronization.

Pros & cons

Pros
  • Defines a clear upstream-first conflict-resolution policy.
  • Covers local-change handling, fetching, rebasing, conflict continuation, and post-rebase validation.
  • Targets a concrete Git workflow for keeping session branches aligned with origin.
Limitations
  • Requires Git, network access, and local filesystem access.
  • Does not specify exact build or test commands for validation.
  • Conflict resolution may require rewriting session work to fit upstream changes.

How to install

The README says the repository bundles 61 skills, but it does not document a standalone installation command or destination. This skill is located at src/vs/sessions/skills/sync-upstream/SKILL.md.

How to use

Invoke it when the session branch is stale, for example: "Rebase the current session branch onto the latest upstream and resolve conflicts in favor of upstream." The documented workflow uses git fetch origin and git rebase origin/main; use the appropriate base branch if it is not main.

FAQ

Does it preserve session changes over upstream code?
No. Its conflict policy explicitly gives precedence to upstream logic, APIs, and patterns.
Must local changes be committed first?
Yes, when uncommitted changes exist, the workflow says to use the /commit skill first.
Does it support repositories with a base branch other than main?
Yes. The instructions say to use the appropriate base branch when it is not main, although no further repository-specific guidance is provided.

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