ワンクリックで
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.