with one click
sync
Sync current branch with its remote tracking branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Sync current branch with its remote tracking branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | sync |
| description | Sync current branch with its remote tracking branch |
Syncs the current branch with its remote, handling different scenarios.
git branch --show-current
git pull origin main
Check if we're ahead, behind, or both:
git status -sb
If behind tracking branch: Pull with rebase
git pull --rebase
If ahead of tracking branch: Push
git push
If diverged: Fetch and rebase
git fetch origin
git rebase origin/<branch-name>
If no tracking branch: Set upstream and push
git push -u origin HEAD
✓ Pulled latest main
Already up-to-date.
✓ Pushed 3 commits to origin/feature/add-filters
✓ Rebased on origin/feature/add-filters
✓ Applied 2 local commits
Generate a new React component with Mantine styling
Update documentation after implementing features or making changes
Run a quick architecture review via architect-reviewer agent
Generate mobile-specific React components with platform detection and safe areas
Run a quick security audit on recent changes or specific files
Generate a test file for a component, hook, or utility