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.
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
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.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「gh-stack」を使用しています。 Plan a stack for a billing feature with schema, API, and interface changes.
期待される結果:
- 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.
「gh-stack」を使用しています。 The sync command returned success but reported Sync aborted. What should I check?
期待される結果:
- 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.
「gh-stack」を使用しています。 I changed API code while working on the frontend branch.
期待される結果:
- 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.
セキュリティ監査
安全All 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.
リスク要因
⚙️ 外部コマンド (50)
🌐 ネットワークアクセス (3)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/github-gh-stack/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/github-gh-stack?utm_source=security_passport_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>埋め込みカード
<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>学術引用 (APA · BibTeX · CFF)
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/1BibTeX形式の引用
@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"
バリアントを比較
インストール可能なバリアント 2 件各作者のスキルは個別のインストール項目として維持されます。推奨バリアントは Skillstore の証拠で順位付けされます。
このバリアントが首位の理由
Skillstore スコア
このスコアの理由 証拠の信頼度: 中作成できるもの
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.
これらのプロンプトを試す
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.
ベストプラクティス
- 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.
回避
- 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.
よくある質問
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?
開発者情報
作成者
githubライセンス
MIT
作者バージョン
v0.2.0
Skillstore リビジョン
r1
リポジトリ
https://github.com/github/gh-stack/tree/d4ab7ab47e5b3e3708a27c8c42abcdf4bc321419/skills/gh-stack参照
5fa1d077e6c44bb8da33885064d2b6c190282c6e
メンテナンスの新しさ
2026/10/6
利用状況
10 ダウンロード · 0 閲覧
ファイル構成