gh-stack
Skill1.1k starsChanged 59 days agoMITView on GitHub
Manage dependent branches and pull requests with the gh-stack extension. Use only for explicit requests to create, inspect, navigate, rebase, sync, or publish a stack.
43 other projects use a version of this.
Adopted by
Most recently taken up by
- githubnext/chopintheir own version, first seen Nov 8, 2026
- ErikaAX08/erikas-skillstheir own version, first seen Nov 8, 2026
- devantler-tech/ksailtheir own version, first seen Nov 7, 2026
- theexperiencecompany/gaiatheir own version, first seen Nov 3, 2026
- cloudposse/atmostheir own version, first seen Nov 1, 2026
- Egoushka/agent-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use gh-create-pr, gh-commit and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ant-designSkillgh-create-pr
使用 GitHub CLI (gh) 推送当前分支并创建或更新 PR。在用户说「提 PR」「新建 PR」「用 gh 建 PR」「submit PR」「create pull request」时使用。
Also in 4 projects that use this
kelvincushmanSkillgh-commit
Create well-formatted commits with conventional commit format.
Also in 3 projects that use this
kelvincushmanSkillprek
Use when setting up or running hooks with prek in any repository. prek is a Rust drop-in alternative to pre-commit for running Git hooks that check, format, lint, and validate code and repository files. Prefer it when speed, workspace mode, built-in hooks, shared toolchains, or native TOML configuration matter.
Also in 3 projects that use this
carapace-shSkillbun
Use when working with the bun CLI — Bun's all-in-one JavaScript runtime and toolkit. Covers the CLI command reference (install, add, remove, run, build, test, x, create, init, pm, upgrade, link, unlink), bunfig.toml configuration, environment variables, the package manager and lockfile, the test runner, the bundler, the Bun runtime API (Bun.serve, Bun.file, Bun.spawn, Bun.write, hashing, transpiler), the Bun shell ($ template literal), module resolution and loaders, and globals. Triggers on: "bun", "bunx", "bun install", "bun add", "bun remove", "bun run", "bun build", "bun test", "bun x", "bun create", "bun init", "bun pm", "bun upgrade", "bun link", "bun unlink", "bunfig.toml", "bun.lock", "Bun.serve", "Bun.file", "Bun.write", "Bun.spawn", "Bun.hash", "Bun.password", "bun:test", "Bun.build", "Bun.Transpiler", "bun shell", "$ template", "import.meta", "JavaScriptCore", "Bun.serve", "HTMLRewriter", "Bun.SQL", "Bun.RedisClient", "Bun.Glob", "Bun.plugin", "bun:ffi".
Also in 3 projects that use this
xfstudioSkilltypescript-expert
TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling. Use PROACTIVELY for any TypeScript/JavaScript issues including complex type gymnastics, build performance, debugging, and architectural decisions. If a specialized expert is a better fit, I will recommend switching and stop.
Also in 3 projects that use this
xfstudioSkilltypescript-advanced-types
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.
Also in 4 projects that use this
Other versions43 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 43
- vercel/next.js★ 143ksame name
- remotion-dev/remotion★ 72ksame name
- CherryHQ/cherry-studio★ 53ksame name
- Arize-ai/phoenix★ 12ksame name
- trycompai/crm★ 12ksame name
- CherryHQ/cherry-studio-app★ 4.1ksame name
- dotnet/macios★ 2.9ksame name
- dotnet/android★ 2.1ksame name
- github/gh-stack★ 1.8ksame name
- cloudposse/atmos★ 1.4ksame name
33 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- check-prodSkill
- debug-deploySkill
- query-prod-dbSkill
- reset-prod-submissionsSkill
- review-pr-commentsSkill
- review-terraformSkill
- ship-itSkill
- write-migrationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use the installed extension's help and upstream documentation for command details rather than maintaining a command manual here.
- Very specific: line 28
Use view --json for inspection and submit --auto for authorized publishing.
- Distinctive: line 30
Check the installed command's help if flags or behavior differ.
- Distinctive: line 40
Before these operations, explain which branches will be rewritten or published and obtain explicit authorization for force-with-lease on …
- Very specific: line 46
Before each push, require uv run poe check to pass for every changed layer being published at its final rebased head.
“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stacked Pull Requests
This is the repository's stacked-PR workflow, not the ordinary ship-it flow.
Use the installed extension's help and upstream documentation
for command details rather than maintaining a command manual here.
Before changing a stack
Inspect the branch, worktree, remotes, and existing stack. Preserve unrelated
changes. Confirm gh authentication and extension availability; if the
extension is missing, report the prerequisite rather than silently installing
it or substituting ad-hoc history rewrites.
Agree on the dependency order before creating branches. Each layer should be
independently reviewable, with its code, tests, and directly related docs
together. Use repository branch prefixes and deliberate git add/git commit,
not shortcuts that stage every change.
Non-interactive commands
- Supply explicit branch names to
init,add, andcheckout. - With a configured prefix, pass only the suffix to
add. - Use
view --jsonfor inspection andsubmit --autofor authorized publishing. - Select the intended remote explicitly when multiple remotes exist.
- Check the installed command's help if flags or behavior differ. Stop rather than entering an interactive prompt or tearing down a conflicting stack.
Publishing and history changes
Viewing or navigating a stack does not authorize commits, rebases, pushes, PR changes, or branch deletion. A request to create a stack does not authorize publishing it.
push and submit use force-with-lease; sync combines rebasing and pushing.
Before these operations, explain which branches will be rewritten or published
and obtain explicit authorization for force-with-lease on those feature
branches. Never force-push main, use plain --force, or treat an ordinary
"ship it" request as authorization to rewrite history. Stop on divergence or
unexpected remote changes rather than bypassing lease protection.
Before each push, require uv run poe check to pass for every changed layer
being published at its final rebased head. Follow
Quality Gates for additional
checks. Do not use combined sync when it would push rebased heads before these
checks; separate rebase, validation, and publishing.
Review each layer's diff and use the required commit trailers. Ensure each PR
targets its immediate parent branch, with the bottom PR targeting main.
Inspect the resulting stack and monitor checks on every published PR.
Merging, pruning branches, and removing local or remote stack metadata require
separate explicit requests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

