一键导入
sync
Sync current branch with its remote tracking branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync current branch with its remote tracking branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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
| 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