원클릭으로
pr-restack
Restacks dependent branches after upstream rebase/merge/force-push changes. Use when a PR stack needs bases realigned.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Restacks dependent branches after upstream rebase/merge/force-push changes. Use when a PR stack needs bases realigned.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Splits a large branch or PR into smaller, independently reviewable units by grouping changes and proposing parallel PRs or a stacked series. Use when a changeset is too big to review well and should be broken up.
Captures the portable, non-secret pi config from a live ~/.pi/agent into this repo's pi/ directory and commits it, without reading or copying secrets. Use when live pi config or extensions have drifted from the repo and need to be synced back.
Refreshes PR titles and descriptions to match the current branch changeset. Use when the PR title or body has drifted from the code.
Reviews the current session for problems and their eventual fixes, then proposes durable improvements to repo skills, scripts, or docs that prevent recurrence. Use when a session hit avoidable friction worth turning into a lasting fix.
Runs discovery and uncertainty resolution for a change, then writes a terse plan document covering purpose, behaviour, validation, architecture, and phased vertical slices. Use before building when a change needs a clear, agreed design.
| name | pr-restack |
| description | Restacks dependent branches after upstream rebase/merge/force-push changes. Use when a PR stack needs bases realigned. |
Rebase a dependent PR stack onto updated upstream branches while preserving each branch's unique commits.
headRefName, baseRefName, PR state).origin/<root-base>.origin/<branch>,/rebase (transplant mode when needed, push=false),/conflicts handle pauses,range-diff, branch log) against plan,--force; use --force-with-lease.Report root base used, plan approval status, per-branch old base -> new base and before -> after SHA, push status, updated PR bases, backups created, and unresolved risks.