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

remote

Skill4 starsChanged 16 days agoApache-2.0View on GitHub

Bring remote changes into local branches across all tracked repositories using fast-forward only, then report what changed. Run only when the user explicitly asks to sync, pull or update their repositories.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. bks-lab/open-bridge★ 16same name
    2. apideck-libraries/api-skills★ 5same name
    3. nguyenthanhtat/screen1-claude★ 2same 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

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    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:

    Start with one or two sentences: how many repos were updated ("updated +N" in Detail) and how many need the user.

    line 28
  3. Very specific:

    Never pull over uncommitted changes, never stash, reset, rebase, merge (other than what the script already did), checkout/switch, force …

    line 33
  4. Very specific:

    Never push. Use /git-parity:local for that.

    line 34

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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: remote

Report (already generated; branches strictly behind their remote were fast-forwarded, nothing else was touched):

!bash "${CLAUDE_PLUGIN_ROOT}/scripts/git-parity.sh" remote $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 remote <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)" remote <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: table, "Clean" line, "Next steps". Translate prose to the user's language; keep names, states and commands verbatim.
  2. Start with one or two sentences: how many repos were updated ("updated +N" in Detail) and how many need the user.
  3. For a DIVERGED row, explain both sides in one line each and offer the options (merge, rebase, or leave it). Run nothing without an explicit yes.

Hard rules

  • Never pull over uncommitted changes, never stash, reset, rebase, merge (other than what the script already did), checkout/switch, force anything or delete a branch on your own.
  • Never push. Use /git-parity:local for that.
  • 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.