logoalt Hacker News

dyllontoday at 5:50 AM4 repliesview on HN

Moving away from codemods and towards LLMs doing migration work is an interesting development.

Even if they’re more deterministic, I wonder if the days of codemods are numbered.


Replies

yard2010today at 6:27 AM

How about leveraging llms to produce deterministic codemods? You can then iterate on this by running the codemods and using other deterministic guardrails, feeding the results back into the llm to improve the codemods?

xyzzy_plughtoday at 1:30 PM

The framing in TFA is a dangerous way to think. Codemods are whatever, I could take em or leave em.

What you want isn't skill files for LLMs, though. Just write docs for humans. Write a migration guide, for humans.

It's going to take us a while to realize they should be the same things, skill files and docs.

tipiiraitoday at 9:17 AM

Sorry, what is codemod here?

show 2 replies
kristianduponttoday at 5:58 AM

I think the two complement each other perfectly and will continue to do so. I keep writing AGENTS.md files for soft rules and custom linter rules for hard ones which IMO is the best of both worlds.