Skip to content

Add gh-stack skill for stacked pull requests - #26339

Merged
dalexsoto merged 1 commit into
mainfrom
copilot/devcopilotgh-stack
Jul 29, 2026
Merged

dalexsoto merged 1 commit into
mainfrom
copilot/devcopilotgh-stack

Conversation

Copilot AI commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Mirrors dotnet/android#12255, adding the upstream gh-stack v0.0.8 agent skill to macios.

Changes

  • Added .github/skills/gh-stack/SKILL.md.
  • Documented stack creation, navigation, synchronization, rebasing, and recovery.
  • Captured non-interactive agent requirements, including explicit branch arguments, submit --auto, and view --json.

Example

gh stack submit --auto
gh stack view --json

Co-authored-by: dalexsoto <204671+dalexsoto@users.noreply.github.com>
Copilot AI changed the title [skills] add gh-stack skill for stacked PRs Add gh-stack skill for stacked pull requests Jul 28, 2026
Copilot AI requested a review from dalexsoto July 28, 2026 21:18
@dalexsoto
dalexsoto marked this pull request as ready for review July 28, 2026 21:19
Copilot AI review requested due to automatic review settings July 28, 2026 21:19
@dalexsoto
dalexsoto requested a review from rolfbjarne July 28, 2026 21:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the upstream gh-stack skill documentation to this repo, providing agent-focused guidance for creating and managing stacked branches/PRs non-interactively via the gh stack CLI extension.

Changes:

  • Added a new skill document describing gh stack concepts, non-interactive “agent rules”, and end-to-end workflows.
  • Included quick-reference command tables, exit codes, and recovery guidance (rebase conflicts, divergence, squash-merge recovery).

Comment thread .github/skills/gh-stack/SKILL.md Resolved
Comment thread .github/skills/gh-stack/SKILL.md Resolved
@dalexsoto
dalexsoto merged commit 601d0e4 into main Jul 29, 2026
12 checks passed
@dalexsoto
dalexsoto deleted the copilot/devcopilotgh-stack branch July 29, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants