{"id":"003027f6-cef9-4f6a-a7dc-19f1fc58cfc8","shortId":"cc7gWv","kind":"skill","title":"Manage native GitHub stacked pull requests with gh-stack","tagline":"Teach coding agents to split large changes into native GitHub stacked pull requests, keep branch layers rebased, and submit focused reviewable PR chains with the gh stack CLI.","description":"# Manage native GitHub stacked pull requests with gh-stack\n\nTeach coding agents to split large changes into native GitHub stacked pull requests, keep branch layers rebased, and submit focused reviewable PR chains with the gh stack CLI.\n\n## Prerequisites\n\nGitHub CLI 2.0+, gh-stack extension, a GitHub repository with Stacked PRs enabled, and an AI coding agent that can use repository Git commands\n\n## Installation\n\nRequirements and caveats from upstream:\n- Requires the [GitHub CLI](https://cli.github.com/) (gh) v2.0+.\n- | -n, --numbered | Use auto-incrementing numbered branch names (requires --prefix) |\n- Creates a new branch at the current HEAD, adds it to the top of the stack, and checks it out. Must be run while on the topmost branch of a stack. If no branch name is given, prompts for one.\n\nBasic usage or getting-started notes:\n- sh\n- gh extension install github/gh-stack\n- ## AI agent integration\n\n- Source: https://github.com/github/gh-stack\n- Extracted from upstream docs: https://raw.githubusercontent.com/github/gh-stack/HEAD/README.md\n\n## Documentation\n\n- https://gh.io/stacks\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/manage-native-github-stacked-pull-requests-with-gh-stack/)","tags":["manage","native","github","stacked","pull","requests","with","stack","skills","agentskillexchange","agent-skills","ai-agents"],"capabilities":["skill","source-agentskillexchange","skill-manage-native-github-stacked-pull-requests-with-gh-stack","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/manage-native-github-stacked-pull-requests-with-gh-stack","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,228 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:11:15.584Z","embedding":null,"createdAt":"2026-05-18T13:17:40.195Z","updatedAt":"2026-05-18T19:11:15.584Z","lastSeenAt":"2026-05-18T19:11:15.584Z","tsv":"'/)':115 '/github/gh-stack':187 '/github/gh-stack/head/readme.md':194 '/skills/manage-native-github-stacked-pull-requests-with-gh-stack/)':205 '/stacks':198 '2.0':80 'add':137 'agent':13,51,96,182,200 'agentskillexchange.com':204 'agentskillexchange.com/skills/manage-native-github-stacked-pull-requests-with-gh-stack/)':203 'ai':94,181 'auto':122 'auto-incr':121 'basic':169 'branch':25,63,125,132,156,162 'caveat':106 'chain':33,71 'chang':17,55 'check':146 'cli':38,76,79,112 'cli.github.com':114 'cli.github.com/)':113 'code':12,50,95 'command':102 'creat':129 'current':135 'doc':191 'document':195 'enabl':91 'exchang':202 'extens':84,178 'extract':188 'focus':30,68 'get':173 'getting-start':172 'gh':9,36,47,74,82,116,177 'gh-stack':8,46,81 'gh.io':197 'gh.io/stacks':196 'git':101 'github':3,20,41,58,78,86,111 'github.com':186 'github.com/github/gh-stack':185 'github/gh-stack':180 'given':165 'head':136 'increment':123 'instal':103,179 'integr':183 'keep':24,62 'larg':16,54 'layer':26,64 'manag':1,39 'must':149 'n':118 'name':126,163 'nativ':2,19,40,57 'new':131 'note':175 'number':119,124 'one':168 'pr':32,70 'prefix':128 'prerequisit':77 'prompt':166 'prs':90 'pull':5,22,43,60 'raw.githubusercontent.com':193 'raw.githubusercontent.com/github/gh-stack/head/readme.md':192 'rebas':27,65 'repositori':87,100 'request':6,23,44,61 'requir':104,109,127 'review':31,69 'run':151 'sh':176 'skill':201 'skill-manage-native-github-stacked-pull-requests-with-gh-stack' 'sourc':184,199 'source-agentskillexchange' 'split':15,53 'stack':4,10,21,37,42,48,59,75,83,89,144,159 'start':174 'submit':29,67 'teach':11,49 'top':141 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'topmost':155 'upstream':108,190 'usag':170 'use':99,120 'v2.0':117","prices":[{"id":"1e57da91-daa4-4740-aa21-f952fa5d095c","listingId":"003027f6-cef9-4f6a-a7dc-19f1fc58cfc8","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:40.195Z"}],"sources":[{"listingId":"003027f6-cef9-4f6a-a7dc-19f1fc58cfc8","source":"github","sourceId":"agentskillexchange/skills/manage-native-github-stacked-pull-requests-with-gh-stack","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/manage-native-github-stacked-pull-requests-with-gh-stack","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:40.195Z","lastSeenAt":"2026-05-18T19:11:15.584Z"}],"details":{"listingId":"003027f6-cef9-4f6a-a7dc-19f1fc58cfc8","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"manage-native-github-stacked-pull-requests-with-gh-stack","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"0ee81fd0789277c84231fbb83358c5de3d12425c","skill_md_path":"skills/manage-native-github-stacked-pull-requests-with-gh-stack/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/manage-native-github-stacked-pull-requests-with-gh-stack"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Manage native GitHub stacked pull requests with gh-stack","description":"Teach coding agents to split large changes into native GitHub stacked pull requests, keep branch layers rebased, and submit focused reviewable PR chains with the gh stack CLI."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/manage-native-github-stacked-pull-requests-with-gh-stack"},"updatedAt":"2026-05-18T19:11:15.584Z"}}