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
1 2 3 4 5 6
1Trust7 / 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.

2Reliability7 / 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.

3Adaptability6 / 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.

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

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

6Verifiability3 / 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
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.
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 does this skill do, and when should you 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.

What are this skill's strengths and limitations?

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 do you install this skill?

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 do you use this skill?

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

Git Branch Sync

Safely sync an upstream branch or publish the current session branch to a remote.

Dev & Engineering ✓ Microsoft · Official

Branch Merge Assistant

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

Dev & Engineering ✓ Microsoft · Official

Feedback Action

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

Dev & Engineering ✓ Microsoft · Official

Author Contribution Audit

Trace an author’s files across a branch, including contributions carried through renames.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

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

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Session Code Review

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

Dev & Engineering ✓ Microsoft · Official

Copilot Session Troubleshooter

Explain unexpected Copilot CLI behavior from session-log evidence.

Dev & Engineering ✓ Microsoft · Official

Repository Learning Capture

Turn important repository discoveries into reusable skills or instructions.

Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

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

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

Dev & Engineering ✓ Microsoft · Official

Session Pull Request Assistant

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

Dev & Engineering ✓ Microsoft · Official

Chronicle Copilot Session Analyst

Turn Copilot session history into standups, usage advice, and searchable records.

Dev & Engineering ✓ Microsoft · Official

Create Draft Pull Request

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

Dev & Engineering ✓ Microsoft · Official

Existing Pull Request Updater

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

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.

Related skills