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

local

Skill4 starsChanged 16 days agoApache-2.0View on GitHub

Find local work that is not on the remote yet across all tracked repositories and offer to push it and open a pull request, one confirmation per repository. Run only when the user explicitly asks to push or publish their local work.

  • Commits and pushes

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. kagenti/kagenti★ 304same name
    2. 0-shiv/secondstep-claude-skills★ 2same name
    3. dynos-fit/dynos-work★ 2same name
    4. Seth090502/osanwe-public★ 0same name
    5. Sylad/claude-code-codex★ 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. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    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. Very specific:

    Never push a branch that is not listed under "Push candidates" (base branches and never-push entries are excluded on purpose).

    line 36
  3. Distinctive:

    Never commit for the user.

    line 37

“Common” is measured: kept by at least 6 in 10 of the 4 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: local

Report (already generated, nothing was changed):

!bash "${CLAUDE_PLUGIN_ROOT}/scripts/git-parity.sh" local $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 local <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)" local <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.
  2. If there is a "Push candidates" section, ask which ones to push. One decision per repository/branch; "all" is acceptable only if the user says so explicitly. When asking with a choice widget, every question needs at least two options: for a repository with a single candidate, offer "push" and "skip".
  3. For each approved candidate, run exactly the command printed for it. Never add --force, --force-with-lease or --no-verify.
  4. After a successful push of a non-base branch, offer a pull request. If the user agrees: gh pr create --fill in that repo for a GitHub remote, glab mr create --fill for a GitLab remote, when that CLI is installed; otherwise print the URL that git push showed. Ask for title/body changes before creating.
  5. End with a short list: pushed, PR opened (with URL), skipped.

Hard rules

  • Nothing reaches the remote without a yes for that specific repo and branch.
  • Never push a branch that is not listed under "Push candidates" (base branches and never-push entries are excluded on purpose).
  • Never commit for the user. For DIRTY repos, show what is pending and let the user decide.
  • DIVERGED branches are not pushed: explain and stop.

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.