Sync your current branch with upstream by pulling, rebasing, pushing, or publishing.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "sync" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/vscode/main/src/vs/sessions/skills/sync/SKILL.md 2. Save it as ~/.claude/skills/sync/SKILL.md 3. Reload skills and tell me it's ready
Sync my current branch with its upstream, pull the latest changes, and rebase if needed so it is up to date.
The current branch is synced with upstream, with a report on pull, rebase success, or any conflicts.
Push my current branch to the remote repository, and sync it directly if an upstream is already configured.
The current branch is pushed successfully, with the target remote branch and result reported.
Publish my current local branch to the remote and set its upstream so future pull and push commands work directly.
The local branch is published to remote and linked to an upstream for future sync operations.
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
--force, --force-with-lease) without explicit user approval.--no-verify)./commit skill to commit them before continuing.git fetch <upstream-remote>
3.2. Check ahead/behind counts. If the branch is already in sync (0 ahead, 0 behind), stop and report that no sync is needed.
git rev-list --left-right --count HEAD...@{u}
3.3. If behind, rebase onto the upstream tracking branch.
git rebase @{u}
3.4. If there are merge conflicts, resolve them by preserving the intent of both sides. Stage the resolved files and continue the rebase.
git add <resolved-files>
git rebase --continue
If conflict resolution is unclear, ask the user how to proceed. If the user wants to stop the rebase, abort it:
git rebase --abort
3.5. If the branch has local commits (ahead > 0), push them to the remote after a successful rebase.
git push
If the push is rejected because the rebase rewrote history, explain the situation to the user and ask for approval before force-pushing.git push -u <remote> HEAD
After the workflow completes, validate the result with explicit checks:
git status --porcelain
git rev-list --left-right --count HEAD...@{u}
git rev-parse --abbrev-ref --symbolic-full-name @{u}
Generate or update chat customization files for AI coding agents.
Merge session branch changes back into the base branch cleanly.
Create and maintain screenshot test fixtures for UI components effectively.
Launch VS Code OSS in isolation for automation and multi-process debugging.
Configure and manage agents, skills, prompts, and integrations in the editor.
Investigate failed PR checks and iteratively fix CI issues faster.
Rebase a stale session branch onto upstream while preserving latest upstream changes.
Monitor main branch updates and safely sync your branch with AI-assisted conflict handling.
Create, switch, and verify Git branches before starting implementation work.
Create a pull request from the current session's code changes.
Create a draft pull request from the current session’s code changes.
Update an existing pull request with new changes from the current session