Full two-way sync across all tracked repositories - fast-forward local branches from the remote, then offer to push local work and open pull requests, with a confirmation per repository. Run only when the user explicitly asks for a full sync.
2 stars
0 votes
0 copies
1 view
Added November 16, 2026
ai-agentsgoshellbashgit
Works with
claude code
cli
Security analysis
A100/100
Scanned November 18, 2026
$npx -y skills add Dev-Wesley-13/git-parity --skill full --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Full?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dev-wesley-13-full)
---
name: full
description: Full two-way sync across all tracked repositories - fast-forward local branches from the remote, then offer to push local work and open pull requests, with a confirmation per repository. Run only when the user explicitly asks for a full sync.
argument-hint: "[repo-path ...]"
disable-model-invocation: true
allowed-tools: Bash(bash *git-parity.sh*)
---
# git-parity: full
Report (already generated; branches strictly behind were fast-forwarded first, then push candidates were listed; nothing was pushed):
!`bash "${CLAUDE_PLUGIN_ROOT}/scripts/git-parity.sh" full $ARGUMENTS`
If no report appears above (only Claude Code runs that line), run the script once yourself and use its output: `bash <plugin-root>/scripts/git-parity.sh full <arguments the user gave>`, where `<plugin-root>` is two directories above this file.
On Windows the script needs a POSIX shell. When the repositories live in WSL, run this (the quoting is deliberate: write the script's Windows path with forward slashes, no backslashes and no inner quotes, because PowerShell strips the quotes and bash eats backslashes):
`wsl.exe -d <distro> -- bash -c 'bash "$(wslpath -u <windows-path-with-forward-slashes>/scripts/git-parity.sh)" full <arguments>'`
Examples of the path: `C:/Users/me/.codex/plugins/cache/git-parity/git-parity/<version>` or `//wsl.localhost/Ubuntu-24.04/home/me/project/.agents/plugins/git-parity`. Otherwise use Git Bash. Do not reimplement the script in PowerShell, and do not edit line endings: the file already uses LF.
If the output ends with a "Setup" section or a "Note:" about the current repository, no list (or not this repository) is saved yet. After the report, tell the user in one or two sentences which groups were detected, ask about anything listed under "Ask the user about", and ask once whether to save. On a yes, run the printed `add` command(s) exactly; if a command fails, show it so the user can run it. Do not ask again in this session after a no.
## What to do
1. Show the report as is. Translate prose to the user's language; keep names, states and commands verbatim. Open with one or two sentences: updated, needs attention, ready to push.
2. Incoming side: for DIVERGED rows explain both sides and offer options; run nothing without an explicit yes.
3. Outgoing side: if there is a "Push candidates" section, ask which to push (one decision per repo/branch; with a choice widget every question needs at least two options, so offer "push" and "skip" for a single candidate), run exactly the printed command, then offer a pull request (`gh pr create --fill` for GitHub, `glab mr create --fill` for GitLab, when that CLI is installed; otherwise the URL that `git push` showed).
4. End with: updated, pushed, PRs opened, left as is and why.
The goal is that every branch ends in a known, explained state. A branch waiting for review stays ahead of the base on purpose; that is not a problem to fix.
## Hard rules
- Nothing reaches the remote without a yes for that specific repo and branch. Never force, never `--no-verify`.
- Never push a branch that is not under "Push candidates".
- Never commit, stash, reset, rebase, switch branches or delete a branch on your own.
- A skipped repo is a correct outcome. Report it; do not "fix" it.