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`.

Ir a la instalación

Datos de origen

Repositorio
jleechanorg/claude-commands
Última actividad en el origen
2 de agosto de 2026 a las 01:06
Idioma detectado de SKILL.md
inglés
Estrellas
3
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.