
GitHub's stacked pull requests feature allows developers and AI coding agents to break large feature implementations into smaller, independently reviewable layers—each addressing data, API, wiring, or UI—instead of shipping a single massive pull request.
Since coding agents are expected to drive 50% productivity gains across software development by 2028, the ability to enforce small, scoped pull requests through stacked PRs addresses a real bottleneck: giant diffs that reviewers delay and that often land under-reviewed.
Teams can start using the feature today through CLI or GitHub's native UI.
What happened
GitHub's stacked pull requests feature (available via CLI and native UI) enables breaking large AI-generated code changes into smaller, logically-ordered pull requests that each address a single concern—data layer, API, wiring, UI—rather than shipping everything in one 1,000+ line diff.
Why it matters
Coding agents are projected to drive a 50% productivity gain across every SDLC stage by 2028 according to Gartner, but they default to shipping whole features in massive pull requests that reviewers avoid and that sit unmerged. Stacked PRs give both humans and agents a native decomposition pattern, making each layer small enough to hold in a reviewer's head, speeding approval and reducing under-reviewed code landing in production.
What to watch
Teams can adopt stacked PRs immediately using `gh extension install github/gh-stack` (CLI) or GitHub's native pull request UI; agents can learn the pattern with `gh skill install github/gh-stack`. The workflow uses `gh stack push` to send layers remote, `gh stack rebase` locally for conflict resolution (safer than the web button if branch protection requires signed commits), and `gh stack sync` to cascade changes through the entire stack.
Ask the AI about this article →
Coding agents are becoming a mainstream productivity tool, and Gartner projects they will drive a 50% productivity gain across every SDLC stage by 2028. However, agents trained on how code has historically been written default to shipping entire features in single large pull requests—a pattern that creates a genuine review bottleneck. A 1,000+ line diff generates reviewer fatigue, loss of context, reduced feedback quality, and ultimately code that lands under-reviewed or sits in limbo. This is not a new problem for human developers, but agents amplify it because they work at scale and speed; what once took a developer days now takes an agent minutes, flooding the review queue with massive, hard-to-parse diffs.
GitHub's stacked pull requests feature addresses this by offering a native decomposition structure: instead of one giant PR, a feature is split into a dependency chain of small, logically-ordered pull requests, each scoped to a single concern (data, API, wiring, UI). The body provides a concrete example: a product search feature for a shopping assistant that would normally land as a 1,721-line change is broken into four layers—catalog data, search API, chat integration, and grounded UI—each with its own review checkpoint and its own reviewer audience. This structure has immediate benefits for review quality (smaller diffs are easier to reason about), merge speed (no single PR blocks the stack), and conflict resolution (layers above an updated branch can be rebased and synced in one command). For agents, stacked PRs create an explicit scoping discipline; agents must learn the pattern (via `gh skill install`), but once they do, they enforce small, single-concern pull requests by default rather than treating the entire feature as one atomic unit of work.
For example, today's edition would include:
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. Q&As are published on this page for other readers too.
OpenClaw creator Peter Steinberger and co-developers announced OpenClaw 2.0 over the weekend, describing it as…

AI coding has moved through three stages—prompt engineering, context engineering, and now harness engineering—…

Workday is integrating its AI agents with Google Cloud's Gemini Enterprise, letting employees start tasks like…
Over the last two years, writing code syntax has become much easier, with tools like Cursor, Claude Code, and…

Meta released Pocket, a mobile app that lets users create interactive games and 'gizmos' by typing text prompt…

Z.ai, a Beijing-based AI startup, made public the details of its latest model on Friday
