railima

Stack List — Git skill for Claude Code

Git community

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

Terminal
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:

  1. Walk the chain from the current branch upward:
    • Start at git rev-parse --abbrev-ref HEAD.
    • Repeatedly read git config branch..stack-parent until you reach main, empty, or detect a cycle (bail with an error if a cycle is found — the user has bad config).
    • You now have an ordere

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 Repository