agentleFS
Dev-Wesley-13Dev-Wesley-13/git-parity/skills/full/SKILL.md

full

Skill4 starsChanged 16 days agoApache-2.0View on GitHub

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.

  • Commits and pushes

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. MarvinJWendt/skills★ 1same name
    2. mahirhacks/mstack★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If no report appears above (only Claude Code runs that line), run the script once yourself and use its output: bash …

    line 15
  2. Distinctive:

    Never push a branch that is not under "Push candidates".

    line 37
  3. Distinctive:

    Never commit, stash, reset, rebase, switch branches or delete a branch on your own.

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.