git-spice

Installation
SKILL.md

git-spice

git-spice manages a stack of dependent branches and their change requests (CRs: pull or merge requests) on GitHub, GitLab, Bitbucket, Gitea, Forgejo, Codeberg and Azure DevOps. It records each branch's base, so it can restack the branches above one you changed and update all their CRs at once.

This skill holds what an agent gets wrong when driving git-spice. For commands and flags, the installed binary is the authority:

Written against git-spice v0.33.0, the latest at the time of writing (2026-11-15). Check the installed version with git-spice --version.

Run it without prompts

  • Call the binary git-spice. The gs binary no longer exists. A user who types gs has a shell alias for it.
  • Name every branch, base and commit yourself, and pass --no-prompt. Left out, git-spice would open an interactive picker. Without a terminal it fails instead ("cannot proceed without a branch name: not allowed to prompt for input"), and --no-prompt makes that hold under a terminal too, so a call never waits on a picker nobody sees.
  • Always supply the commit message. With --no-prompt and no -m, git-spice opens no editor and stops with "Aborting commit due to empty commit message". Repeat -m for more paragraphs, or pass a file with -F <file> for a long message.
  • Read stack state as JSON. git-spice ls --json (one object per tracked branch, on stdout) beats parsing the tree drawing, which goes to stderr.

Stage before committing

Installs
9
First Seen
Mar 7, 2026