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

インストールへ移動

ソース情報

リポジトリ
jleechanorg/claude-commands
ソースの最終更新活動
2026年8月2日 01:06
検出された SKILL.md の言語
英語
スター
3
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。