Stack List — Git skill for Claude Code
Show the current stack — the chain of branches from the current branch up to main, plus any descendants below the current branch, with PR status from GitHub when available.
How to install Stack List
Installs to ~/.claude/skills/railima-claude-personal-skills-stack-list/SKILL.md
mkdir -p ~/.claude/skills/railima-claude-personal-skills-stack-list && curl -fsSL https://raw.githubusercontent.com/railima/claude-personal-skills/HEAD/commands/stack-list.md -o ~/.claude/skills/railima-claude-personal-skills-stack-list/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Stack List does
Show the current stack — the chain of branches from the current branch up to `main`, plus any descendants below the current branch, with PR status from GitHub when available. Read-only.
Steps:
- Walk the chain from the current branch upward:
- Start at
git rev-parse --abbrev-ref HEAD. - Repeatedly read
git config branch..stack-parentuntil you reachmain, empty, or detect a cycle (bail with an error if a cycle is found — the user has bad config). - You now have an ordere
- Start at
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Fullstack Dev Skills — by jeffallan - A comprehensive Claude Code plugin with 65 specialized skills covering full-stack development a 7k ★
- Container Use — by dagger - Development environments for coding agents 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Stack Sync
Cascade-rebase the current branch and all its descendants onto the new main, after a parent PR has merged. Use
Stack Link
Retroactively register the parent of the current branch in the stacked-PRs system. Use this when you have an e
Gh Issue Show
List GitHub issues in the current repository, or show details of a specific issue. Use when the user wants to
PR Checks
Show current PR's check status; pull failure logs if any are red
Git Context
!git status --short !git branch --show-current !git log -3 --oneline !git diff --stat --- Based on the changes
Dev Status
Show current git branch, uncommitted files, and recent commits
Related Agents
Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer
Integration Guardian
Manages PR merges to main branch ensuring all tests pass and no conflicts exist. Handles progressive integrati
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes