Handles the common workflow of syncing your local main branch with the latest upstream code. It checks if you have an "official" remote configured (for forked repos) or falls back to origin (for your own projects), detects whether you're using main or master, fetches the latest changes, and resets your local branch accordingly. For forks, it force pushes to your origin with the safer force-with-lease flag. For your own repos, it does a straightforward pull. The bilingual documentation is thorough, and I appreciate that it prompts you to handle uncommitted changes first instead of just stomping over them. Saves you from typing the same five git commands every time you want to catch up with upstream.
npx skills add https://github.com/zc277584121/mygitplugin --skill git-sync-main