← All skills
git-upstream-pr-diverged
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By laurigates/claude-plugins (GitHub) · coding · 59 stars · scanned at commit 16af2dc
Submit a diverged-fork commit to upstream as a clean PR via cherry-pick with re-derive fallback, message scrubbing, and regression checks. Use when direct rebase fails.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 22 places.
Show 17 more
- git-plugin/skills/git-upstream-pr-diverged/SKILL.md, line 116
git stash push -- <changed-files> - git-plugin/skills/git-upstream-pr-diverged/SKILL.md, line 133
bash "${CLAUDE_SKILL_DIR}/scripts/scrub-commit.sh" --check - git-plugin/skills/git-upstream-pr-diverged/SKILL.md, line 139
bash "${CLAUDE_SKILL_DIR}/scripts/scrub-commit.sh" - git-plugin/skills/git-upstream-pr-diverged/SKILL.md, line 156
git diff <upstream_remote>/main..HEAD - git-plugin/skills/git-upstream-pr-diverged/SKILL.md, line 167
git push origin <branch> - git-plugin/hooks.json, line 10
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/git-drift-probe.sh\"", - git-plugin/hooks.json, line 22
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/validate-pr-issue-links.sh\"", - git-plugin/hooks.json, line 27
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-pr-metadata-on-push.sh\"", - git-plugin/hooks.json, line 32
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-branch-sync-on-push.sh\"", - git-plugin/hooks.json, line 37
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/check-pr-merge-method.sh\"", - git-plugin/hooks/test-check-branch-sync-on-push.sh, line 362
assert_decision "bash -c with a quoted commit script nudges" ask "$(make_json "bash -c 'git commit -m x'")" - git-plugin/hooks/test-check-branch-sync-on-push.sh, line 373
$'echo start\nX' 'out=$(X)' 'echo "$(X)"' "bash -c 'X'" "sh -c 'cd . && X'" 'X &' - git-plugin/hooks/test-check-pr-merge-method.sh, line 145
STUB_METHOD=rebase check "bash -c wrapper is a merge" 2 "bash -c 'gh pr merge 5 --squash'" - git-plugin/hooks/test-check-pr-metadata-on-push.sh, line 568
expect fire "bash -c with a quoted push script fires" "bash -c 'git push origin feature'" - git-plugin/hooks/test-check-pr-metadata-on-push.sh, line 593
$'echo start\nX' 'out=$(X)' 'echo "$(X)"' "bash -c 'X'" "sh -c 'cd . && X'" 'X &' - git-plugin/hooks/test-git-drift-probe.sh, line 193
(cd "$R4/.claude/worktrees/wt1" && bash -c "$cmd") >/dev/null 2>&1 - git-plugin/hooks/test-validate-pr-issue-links.sh, line 365
assert_exit "bash -c with a quoted create script still blocks" 2 \
and 2 more places
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'git-upstream-pr-diverged' ] || [ -L ~/.agents/skills/'git-upstream-pr-diverged' ]; then echo 'A skill folder named git-upstream-pr-diverged already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/laurigates/claude-plugins' "$d" && git -C "$d" checkout --quiet '16af2dca8c1e706bab01e003bf03a7d19192b346' -- 'git-plugin/skills/git-upstream-pr-diverged' && mkdir -p ~/.agents/skills && cp -R "$d"/'git-plugin/skills/git-upstream-pr-diverged' ~/.agents/skills/'git-upstream-pr-diverged' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'git-upstream-pr-diverged' ~/.claude/skills/'git-upstream-pr-diverged' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for laurigates/claude-plugins shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/laurigates/claude-plugins/)
Score history
| Date | Version | Score |
|---|
| 2026-11-09 | 16af2dc | 95 |
| 2026-11-07 | 9d78355 | 95 |