Coding

Split a huge legacy codebase into modules with an agent

  • Level Advanced
  • Setup1–3 hrs (estimated)
  • Evidence Anecdotal
  • CostNot stated in source
  • No-codeNo
DevinSource-linkedNeeds verification

What they did

Nubank used Devin to break up an eight-year-old ETL monolith with millions of lines of code. The work was split into many small sub-tasks, and Devin was fine-tuned on earlier migrations that engineers had done by hand.

How it went

Cognition reports that the fine-tuning doubled task completion and cut each sub-task from about 40 minutes to 10, with an 8–12x efficiency gain, more than 20x cost savings, and the project cut from an estimated 18 months to weeks.

Worth knowing

  • Vendor case study.
  • It worked because the job was broken into many similar, repeatable sub-tasks, with human-made examples to learn from.

Prompt

Cleaned version rewritten from the source — not a direct quote.

Migrate [module] out of the monolith following the pattern in [example PRs]. Keep behavior identical, run [tests], and open one PR per [unit] with a summary of what moved.

Recommended

Try it in Grok Bot

  1. Copy the prompt (button below).
  2. Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
  3. Connect the listed tools (as needed) as connectors when Grok Bot asks.
  4. If the task repeats, ask: "Make this a daily routine."

Alternatives: the same prompt works in Devin, Claude, ChatGPT Agent, OpenClaw.

Set it up

Stack: Devin

  1. Read the original source for full context.
  2. Connect the tools your agent needs.
  3. Paste the prompt and replace [bracketed] placeholders.
  4. Run once manually and check the output before scheduling it.

Generic suggested steps, not from the source.

Evidence

Vendor case study. It worked because the job was broken into many similar, repeatable sub-tasks, with human-made examples to learn from

Source: Web · Verified by us: not yet · Report broken or outdated

Related use cases

CodingX · 2026-10

Hermes Agent Nearly Doubled Speech-to-Text Accuracy on Hard Words: 99 to 183 of 240

A user turned his 15K saved Wispr Flow dictations into a test set for the local Whisper model behind his Hermes Agent. The agent turned his Wispr dictionary into a hint list, diffed raw vs corrected text to find words Whisper keeps mishearing, made find-and-fix rules, and tested every rule against the full history. With no fine-tuning, dictionary words went from 99/240 to 183/240 on Wispr clips and 19/45 to 43/45 on sentences he read aloud. It now archives the data nightly and looks for new fixes weekly.

  • Level Advanced
  • Setup1–3 hrs*
  • Evidence Strong evidence
Hermes AgentSource-linked
CodingReddit · 2026-10

1 Minute to 1 Second: Claude Code Built a Faster Plex App for a Samsung TV

On a 2022 Samsung TV the official Plex app took about a minute to open and search lagged about 10 seconds. A Redditor used Claude Code to build a free, open-source web-app client that opens in about a second, searches as you type and plays 98.7% of his library directly in hardware.

  • Level Advanced
  • Setup1–3 hrs*
  • Evidence Strong evidence
Claude CodeSource-linked
CodingReddit · 2026-10

30 MLB Clubs in a 1994 Cartridge: Claude Code Expanded Ken Griffey Jr. Baseball With a Franchise Mode

Over about two weeks, a fan and Claude Code turned the 1994 SNES game Ken Griffey Jr. Presents Major League Baseball into a free patch with all 30 of today's clubs and 2026 rosters. It adds season and franchise modes (players age and retire, 300 real prospects) that fit in the cartridge's original 8 KB save, plus browser play.

  • Level Advanced
  • Setup1–3 hrs*
  • Evidence Strong evidence
Claude CodeSource-linked