All ideasMore in Work

Opus rebuilt a closed grid control from scratch: 500 files and thousands of tests

Opus 5.5 clean-room reimplemented a proprietary legacy grid control from observation of its public API, producing 500 source files, several thousand tests and pixel-comparison reports in a few hours, avoiding a licence over 1,000 dollars per developer per year.

$1,000a year

How it works

  1. Opus studies the public API of the legacy control
  2. Reimplements it from observation
  3. Produces 500 source files and several thousand tests
  4. Pixel-comparison reports check the match

Why it’s worth knowing

Clean-room means it never saw the original code, only how the control behaves.

Where it’s from

Summarized from a public post on news.ycombinator.com. See the original ↗

Upgraded prompt

A ready-to-use prompt for this idea, built from research on what makes AI agents do the job right: who the AI should be, the exact steps, and a check to make sure it was done the way you wanted.

1Who the AI should be
2The prompt, with the steps
3The check when it’s done
Upgraded prompts are coming soon.

Try next

Every idea is a real post from someone who tried it, summarized in our words, with a link to the original. App names are swapped for plain words.