Skip to content
agentusehub

Migrate a password reset flow to modern libraries

A developer had Claude Code migrate a legacy web app's password reset flow; it needed close supervision, drifted off task, and ended up slower than doing it by hand.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

A developer had Claude Code migrate a legacy web app's password reset flow; it needed close supervision, drifted off task, and ended up slower than doing it by hand.

Reported experience

  1. What they did

    Using work API tokens, the developer first built a plan with the Claude Code harness, then had Claude Code with the latest Opus migrate a web app's password reset flow from legacy libraries and architecture to modern ones. He supervised closely, reviewing every proposal, and afterward spent significant time cleaning up the final output.

  2. How it went

    Code was decent at small scale but architecturally off, and it drifted into unrelated changes. It cost about two months of Pro subscription over roughly half a working day, and was a bit slower than doing it by hand.

  3. Worth knowing

    Review and cleanup overhead cancelled the faster code generation; he says it would have made several subtle errors had he not checked everything.

Example prompts

Try with Claude Code
In this repo, migrate the password reset flow in [path or module] from [legacy library or approach] to [modern library]. First write a short plan and list the files you intend to touch, then wait for my approval. Keep changes limited to the reset flow, run the existing tests after each step, and stop when the tests pass and you have summarized the diff. Pause and ask before deleting any files or changing unrelated code.
Software & DevOps

Port a Chrome extension to Safari

The author had ChatGPT take the Session Buddy extension source from Chrome, port it to Safari and install it, taking about 20 minutes.

ChatGPT