What problem does it solve? Graphite stacks often accumulate accidental forks, duplicate PRs, and misplaced branches that make review and merging painful. This Skill inspects the full descendant subtree of a target branch, proposes a clean linear stack, and performs supervised rewrites only after explicit confirmation. ## Core Features & Use Cases - Read-only descendant analysis: Gathers a complete JSON report of descendant branches, commits, diffs, and PR status via ns slot gt exec descendants-report before proposing any change. - Proposal-first workflow: Renders a compact plan covering keep/move/reorder/drop actions per branch, superseded PR title prefixes, and submit consequences, then waits for one explicit confirmation. - Safe mutation with backups: Requires a clean worktree, creates timestamped backup refs for every affected branch, rewrites via gt track/gt restack or cherry-pick rebuilds, runs gt submit --no-interactive, and prefixes superseded PR titles with [superseded-pr] instead of closing them. - Use Case: A developer discovers their Graphite stack forked into three parallel branches with overlapping changes. The Skill identifies which PRs are independent, which are duplicates, proposes a single linear stack, and executes the rebase, submit, and retitling after approval. ## Quick Start Ask the agent to linearize the descendants of a specific Graphite branch, for example: linearize the descendants of branch feature-auth and consolidate any duplicate PRs.