stacked-prs
Installation
SKILL.md
Use gh stack; REFERENCE.md covers commands, external-link mode, and recovery.
Contract
- Each layer is independently reviewable against its parent.
- One Conductor workspace owns one stack; unrelated work uses another.
- Test each layer, review
<parent>...HEAD, and reportgh stack view --json. - Honor the requested plan, local, push, draft, open, or merge endpoint.
Establish mode
Check gh, auth, repo support, branch, remotes, cleanliness, and git worktree list --porcelain. If missing, suggest gh extension install github/gh-stack; never install without permission. With multiple remotes, pass --remote origin.
Default to native mode: one workspace owns and switches the whole stack. Before structural commands run:
"${CLAUDE_PLUGIN_ROOT:-.}/scripts/stack-worktree-conflicts.sh"