Developers who work on forked projects need to keep their code up to date. This skill helps you sync your local main branch with the latest code from the official source. It handles both projects you forked and projects you own directly.
The tool checks for a remote named official first. If it exists, it fetches the latest code, resets your local main branch to match, and pushes safely to your fork. If there is no official remote, it pulls the latest changes from origin instead.
You do not need to remember complex git commands. The skill guides you step by step. It even verifies the sync by showing the last few commits. Developers using GitHub forks will find this especially helpful.
Global
mkdir -p ~/.claude/skills/git-sync-mainProject
mkdir -p .claude/skills/git-sync-mainSource Repository
Caveman Commitjuliusbrussee/caveman
Generate ultra-compressed commit messages with Conventional Commits format
Verification Before Completionobra/superpowers
Always run fresh verification before claiming work is complete or passing
Git Guardrails Claude Codemattpocock/skills
Stop dangerous git commands from running automatically with safety hooks
Setup Pre Commitmattpocock/skills
Automate code formatting type checking and tests before every commit
Using Git Worktreesobra/superpowers
Isolate your feature work with git worktrees and keep your main branch safe
Finishing A Development Branchobra/superpowers
Finish your development branch with merge, pull request, or cleanup options
Resolving Merge Conflictsmattpocock/skills
Resolve Git merge conflicts step by step preserving both intents
Git Commitgithub/awesome-copilot
Automatically write standardized git commits by analyzing your code changes