Skip to main content

pr-cleanup-replay

Recipe for cleaning up an already-polluted PR — one whose branch was created from the wrong base (or merged another PR's full history) and now carries unrelated commits. Produces a fresh branch from origin/main, cherry-picks only the load-bearing diff, and force-pushes the clean replay in place (same PR number) OR opens a new PR when in-place is unsafe. v1.7.0 — Phase -0.5 writable-remote base selection: branching from origin/main (read-only upstream) and pushing to fork (writable, 6000+ commits ahead) creates a 600k-line polluted PR. Recipe: verify `gh api .../permissions.push` per remote, base on the writable remote's main, port upstream patches to the fork's refactored code. Verified jleechanorg/hermes-agent PR #3 polluted → PR #4 clean. Triggered by SOUL.md `## COMMIT: pr-clean-branch-from-main-no-history-bloat`.

Aller à l'installation

Informations de source

Dépôt
jleechanorg/claude-commands
Dernière activité de la source
2 août 2026 à 01:06
Langue détectée de SKILL.md
anglais
Étoiles
3
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.