git-upstream-pr-diverged

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

/git:upstream-pr-diverged

Submit a single commit from a heavily-diverged fork back to upstream as a clean, regression-free PR. The simpler /git:upstream-pr covers aligned-fork cherry-picks; this skill handles the case where direct rebase fails.

When to Use This Skill

Use this skill when... Use /git:upstream-pr instead when...
Fork has substantially diverged from upstream Fork and upstream are roughly aligned
Cherry-pick may produce many conflicts on shared modules Single commit applies cleanly
You need patch-id matching for already-applied content You want a quick cherry-pick + cross-fork PR
The change touches files that may be fork-only All touched files exist upstream
The PR needs commit-message scrubbing (fork issue refs, Claude trailers) Commit messages are already upstream-clean
Pre-flight regression check against upstream baseline matters The change is trivial enough to skip pre-flight

Configuration

Per-project configuration lives at .claude/upstream-pr.local.md (gitignored). All fields are optional; sensible defaults apply.

Installs
3
GitHub Stars
58
First Seen
Jul 31, 2026
git-upstream-pr-diverged — laurigates/claude-plugins