Jessie A Ellis
Jul 30, 2026 18:23
GitHub Copilot introduces stacked classes and pull requests, streamlining code updates and collaboration for builders.
GitHub has unveiled a significant productiveness enhance for builders utilizing its AI-powered Copilot app: stacked classes and pull requests. This function goals to simplify how builders handle massive, interconnected initiatives by creating an intuitive workflow for incremental updates.
Cassidy Williams, a senior developer advocate at GitHub, lately shared her expertise modernizing a decade-old venture utilizing the brand new stacked classes function. Fighting outdated dependencies—together with React 15 and Much less for CSS pre-processing—Williams turned to the Copilot app to streamline the method. The consequence: a seamless collection of pull requests that reworked her codebase with out overwhelming her.
At its core, stacked classes enable builders to interrupt down massive duties into manageable items. Every session builds on the earlier one, and the app mechanically organizes these into what GitHub calls “stacked pull requests.” These stacks create a series the place every pull request targets the department of the one beneath it, guaranteeing that adjustments are logically ordered and straightforward to evaluation.
Why Stacked Periods Matter
Updating older initiatives can really feel like untangling an internet of points. Williams described how pre-AI instruments would have made her venture “painful” to modernize, requiring weeks of guide effort. With Copilot, she was capable of offload a lot of this complexity, leveraging AI to research her code and recommend actionable steps.
For instance, when confronted with legacy code points like outdated React-bootstrap parts, the app not solely steered a full migration plan but in addition created a separate session to deal with the scope. This segmentation minimizes scope creep—a typical problem for builders tempted to deal with too many updates in a single pull request.
Developer Workflow, Reinvented
Right here’s how Williams’ workflow unfolded with stacked classes:
- She began by modernizing her code’s styling, utilizing AI to resolve between Tailwind and vanilla CSS.
- When compatibility points arose along with her deployment department, Copilot seamlessly transitioned her updates to the proper department, preserving her work.
- Legacy dependencies like React-bootstrap have been flagged, and a brand new session was created to deal with their alternative with out disrupting different updates.
- Lastly, Copilot stacked the ensuing pull requests, guaranteeing every replace was logically ordered and straightforward to check.
This iterative course of highlights the potential of AI to not solely write code but in addition handle the event lifecycle in ways in which have been beforehand impractical.
What’s Subsequent for GitHub Copilot?
GitHub has positioned Copilot as greater than only a code assistant—it’s a venture administration device for the longer term. Stacked classes and pull requests are at the moment out there within the Copilot app, and builders can discover these options to streamline their workflows. As AI continues to evolve, instruments like these might redefine how collaborative software program growth is completed.
For builders curious to attempt these options, the GitHub Copilot app is accessible now, and stacked pull requests may be examined throughout repositories. Whether or not you’re modernizing legacy code or beginning contemporary, this is perhaps the productiveness enhance you’ve been ready for.
Picture supply: Shutterstock