gh-stack
Manage Stacked GitHub Pull Requests
Large changes become difficult to review when unrelated concerns share one branch. This skill guides dependency-based branch planning and non-interactive stacked PR workflows.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
Review the Skillstore skill "gh-stack" from https://skillstore.io/skills/github-gh-stack.md and its manifest at https://skillstore.io/api/skills/github-gh-stack/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "gh-stack". Plan a stack for a billing feature with schema, API, and interface changes.
Resultado esperado:
- Proposed order: main, billing/schema, billing/api, billing/ui.
- The schema layer defines shared data; the API depends on it; the interface depends on the API.
- Each branch contains one review concern. No branches have been created.
Usando "gh-stack". The sync command returned success but reported Sync aborted. What should I check?
Resultado esperado:
- The documented divergence path can return exit code zero without synchronizing.
- Compare local and remote branch chains and inspect the stack again.
- Choose which composition to keep before resetting tracking or recreating the GitHub grouping.
Usando "gh-stack". I changed API code while working on the frontend branch.
Resultado esperado:
- Inspect stack state and file history to identify the owning API layer.
- Move to the correct owning worktree and stage only the API change.
- After committing, rebase dependent branches and verify the stack before requesting approval to push.
Auditoria de segurança
SeguroAll 72 static findings are false positives from Markdown formatting, ordinary prose, a documentation link, or safe Git command substitutions. No evidence found of prompt injection, credential theft, or unauthorized exfiltration in the four reviewed files. The documented workflow still installs an external extension, modifies Git state, and publishes or merges changes through GitHub.
Fatores de risco
⚙️ Comandos externos (50)
🌐 Acesso à rede (3)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/github-gh-stack/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/github-gh-stack?utm_source=security_passport_badge)Badge HTML
<a href="https://skillstore.io/skills/github-gh-stack?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/github-gh-stack/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Cartão incorporável
<iframe src="https://skillstore.io/embed/skills/github-gh-stack.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
github. (2026). gh-stack security audit report (audit version 1) [Author version 0.2.0]. Skillstore. https://skillstore.io/skills/github-gh-stack/audits/1Citação BibTeX
@techreport{github-github-gh-stack-2026,
author = {github},
title = {gh-stack security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/github-gh-stack/audits/1},
note = {Author version 0.2.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "gh-stack security audit report (audit version 1)"
version: "0.2.0"
type: report
authors:
- name: "github"
date-released: "2026-10-05"
url: "https://skillstore.io/skills/github-gh-stack/audits/1"
identifiers:
- type: other
value: "skillstore:github-gh-stack:audit:1"
description: "Skillstore immutable audit report identifier"
Comparar variantes
2 variantes instaláveisCada autor permanece como um skill instalável separado. A variante recomendada é classificada pelas evidências do Skillstore.
Por que esta variante está em primeiro
github-gh-stack
2026-10-06
jssblck-gh-stack
2026-09-09
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
Split a Feature Into Reviewable Layers
Plan schema, API, and interface branches in dependency order, then submit a linked set of draft pull requests.
Update a Shared Lower Layer
Find the branch that owns a change, commit there, and rebase dependent branches while respecting worktree ownership.
Automate Stack Maintenance
Use explicit targets, structured output, remote selection, and documented recovery paths to maintain stacks without interactive menus.
Teste estes prompts
Inspect my current gh-stack state. Summarize branch order, pull request status, and rebase needs without changing branches or publishing anything.
Plan a stack for [feature]. Propose dependency-ordered branches using repository naming conventions. Explain each review scope and wait for approval before creating branches.
Place [change] in its owning branch. Inspect ownership and worktree state, propose targeted staging and upstack rebasing, and request approval before remote updates.
Diagnose divergence between my local and GitHub stacks. Compare both chains, explain recovery options, and preserve branches. Await approval before regrouping or publishing.
Boas práticas
- Plan branch dependencies before implementation and stage only the files belonging to each layer.
- Select the intended remote explicitly and review publication or merge scope before approving remote changes.
- Use structured view output, verify exit status, and resolve conflicts in the reported owning worktree.
Evitar
- Implement every concern on one branch and expect stack metadata alone to split or reorder commits.
- Invoke interactive menus from automation or parse human-readable status messages as structured stack state.
- Assume exit code zero proves synchronization completed when the output reports Sync aborted.
Perguntas frequentes
What must be installed before using this skill?
Can Claude and Codex use this skill?
Does pushing a stack create pull requests?
Are new pull requests drafts?
Can this skill reorder branches without interaction?
Does this workflow change local or remote data?
Detalhes do desenvolvedor
Autor
githubLicença
MIT
Versão do autor
v0.2.0
Revisão da Skillstore
r1
Repositório
https://github.com/github/gh-stack/tree/d4ab7ab47e5b3e3708a27c8c42abcdf4bc321419/skills/gh-stackReferência
5fa1d077e6c44bb8da33885064d2b6c190282c6e
Atualidade da manutenção
06/10/2026
Uso
0 downloads · 0 visualizações
Estrutura de arquivos