{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"}],"enrichment":{"capability":"ghstack submits stacks of local Git commits to GitHub as separate pull requests, each with its own branch structure and automatic interdiff tracking.","skillfed_tags":["git-workflow","github-automation"],"use_cases":["Land a large refactoring as a series of logically independent but stacked PRs for easier review.","Update an existing stacked PR by editing the commit and running ghstack again to push the interdiff.","Rebase a local commit stack against the upstream main branch while preserving ghstack PR metadata.","Automate PR description generation using Claude or Codex when pushing stack updates.","Merge a completed stack of PRs in dependency order using ghstack land instead of GitHub's UI."],"what_it_does":"ghstack is a command-line tool that transforms a linear stack of local Git commits into a series of interdependent pull requests on GitHub. Instead of manually creating and managing multiple PRs that depend on each other, you prepare commits sequentially on a branch and run ghstack once; it pushes each commit as a separate PR with synthetic base and head branches, automatically tracking interdiffs on subsequent runs. This workflow is particularly useful for large features or refactorings that are easier to review in logical chunks but need to land as a coherent stack.\n\nThe tool manages three branches per commit (base, head, and orig), handles rebasing and modification of commits in the stack, and provides a `ghstack land` command to merge stacked PRs in the correct order. It integrates with GitHub's API via a personal access token and supports optional AI-powered commit message generation via Claude or Codex. The package is actively maintained, has low installation friction, and carries no known security vulnerabilities.","worth_installing":"Yes, if you regularly work with feature branches that benefit from logical subdivision into reviewable chunks and want to avoid manual PR choreography. The tool is actively maintained, has no known vulnerabilities, and low install friction. Not necessary for simple single-commit workflows or teams that prefer squash-and-merge strategies."},"id":"ghstack","links":{"html":"https://skillfed.io/packages/ghstack","md":"https://skillfed.io/packages/ghstack.md","pypi":"https://pypi.org/project/ghstack/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-29","license_spdx":"MIT","license_treatment":"permissive","name":"ghstack","python_support":"supports_current","summary":"Stack diff support for GitHub"},"popularity":{"monthly_downloads":169870,"position":10406,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.17.0"}
