All 4,799 reports

YesClaude · 20 Jul 2024

With the right prompt, it produced extremely clean and workable code

miguelspizza on Hacker News

~20 controller files and over 100 route handlers were converted in about 20 minutes and 5 dollars

In the thread “Converting Codebases with LLMs”

Helped: Providing an example conversion and relevant context in the prompt.

… I got Claude to write a regex that would match the handler to the route and called the Claude 3.5 api with an example conversion and some other relevant context. With the right prompt, it produced extremely clean and workable code. ~20 controller files and over 100 route handlers were converted in about 20 minutes and 5 dollars. …