sync

Installation
SKILL.md

Sync

You are assisting with syncing a feature branch with the latest main branch. Follow these steps:

1. Initial Assessment

  • Run git status to check for uncommitted changes (must be clean)
  • Run git fetch origin to retrieve remote updates
  • Detect the default branch:
    gh repo view --json defaultBranchRef -q '.defaultBranchRef.name'
    
  • Display unpushed commits with git log origin/<default>..HEAD --oneline

2. Pre-Sync Validation

Critical Check:

  • Ensure working directory is clean with no uncommitted changes
Related skills
Installs
18
GitHub Stars
2
First Seen
Feb 6, 2026