A 10-year-old codebase rewritten with Cursor in 2 days, and better
They knew every detail of the old code. Cursor rewrote it in 2 days with less technical debt, they happily archived the old repo, and the experience pushed them to retrain toward AI evals.
Done withCursorSpotted· by HN user billylo· Oct 15, 2026
Result Old repo happily archived
“I came to this realization after I used Cursor to rewrite a 10-year old codebase (I knew every bit of the details.) and it was done in 2 days.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
Used Cursor to rewrite a 10-year-old codebase they knew inside out.
How it went
It was done in 2 days. The result was better, with less technical debt, and they were happy to archive the old repo. The experience pushed them to retrain toward AI training, evals and neuroscience.
Try it yourself with Cursor
We're rewriting [project] from scratch in [language or framework]. First read the whole existing codebase and write a short map of its features, data flows and edge cases. Then propose the new structure. Rebuild it module by module, keeping behaviour identical, with tests that compare old and new outputs, and list anything you deliberately changed.
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.
A data scientist tried Cursor on a real project. Prototyping, code completion and commenting went well, but pandas code kept failing and it deleted a bunch of data files.
A 42k-line site with packages to upgrade: 19 easy, 42 medium and 14 hard, by Cursor's own sort. Cursor cleared the easy and medium ones, then a background agent moved it from Remix v2 to React Router v7.
A MongoDB-like database for a hobby project, written spec-first by Claude, Kiro, Qwen Coder and Cursor. They read zero lines of the code and checked it through tests. The first version took about two weeks, part time.
In SpaceXAI's own guide, engineer Lingxi Li's bots start Cursor cloud agents, check every PR every 30 minutes and merge the low-risk ones. A teammate shipped 2,000+ PRs in a month, they report.
A messy, roughly 900-line Blender script, abandoned. Cursor turned it into a proper repo for all their 3D designs, then built shapes they described in plain language. "These aren't 1-prompt creations", they add.
A huge, convoluted codebase they'd taken over. One prompt in Cursor's Plan mode found the bugs and planned the fix, then the agent made it, where the client's previous team hadn't.