Claude splits one Terraform PR into 40, and 38 can merge at once
One tiny requested change could hold up a whole Terraform pull request. Claude now splits each PR into the smallest mergeable units, stacked on dependencies. The result may be 40 PRs, with 38 ready to merge at once.
Done withClaudeSpotted· by HN user 0xbadcafebee· Oct 23, 2026
Result 80% rated small-change, vs 10% for the article's author
“The result may be 40 PRs, but 38 of them can be approved and merged immediately.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
At work, one big Terraform pull request could plan changes across many root modules, so one tiny requested change held up a lot of work that didn’t need to wait. They added Claude rules and skills telling the agent to break each PR into the smallest possible functional, mergeable units of work, one PR per unit, stacked on their dependencies.
How it went
A change may become 40 PRs, but 38 of them can be approved and merged immediately. More changes land sooner, so others start from more current work, with less rework and fewer rebase fixes.
Try it yourself with Claude
Add a project rule or skill telling your coding agent: break this change into the smallest possible functional, independently mergeable units for [your infrastructure tool, e.g. Terraform], one pull request per unit, stacking PRs on their dependencies so most of them can be approved and merged immediately.
A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.
Wanting Claude's help with Haiku software and OS issues, they spent $30 of Claude API credit on a USB UAC 2 audio driver for Focusrite Scarlett devices. Haiku's AI policy keeps it from going upstream.
Copy-pasting others' TLA+ specs risked missing attribution. Claude built a small Rust package manager that renames modules to avoid collisions. It took about 30 minutes of fighting, but it worked.
A $5-a-month product, then $20, then a rewrite at $10 and $50 a month. A day after launch came a $360 payment: a Yearly option on the $50 plan, with a discount, that Claude had added without them realizing.
Harvest's ~$100/yr Solo time-tracking plan went up 2.5x for a more restricted plan, or $20,000/yr to keep the old one. With their data downloaded, Claude vibecoded a fully-featured clone in one evening.
Asked for a web-based Rust email client from scratch that could talk to a JMAP server, Claude wrote it in about 20 minutes. It needed some bugs pointed out and lacks features, but it works.
A tag-based file recommender kept missing the mark with Claude. ChatGPT turned the problem into one precise paragraph. Handed back to Claude, it clicked, and a working solution came out without any drama.