logoalt Hacker News

Verdexyesterday at 1:15 PM2 repliesview on HN

If the LLM is a high level language, then why aren't we saving the prompts in git?

Last I checked with every other high level language, you save the source and then rerun the compiler to generate the artifact.

With LLMs you throw away the 'source' and save the artifact.


Replies

dgb23yesterday at 1:43 PM

Some people do to a degree. Just not quite in the sense that this headline suggests.

There are now approaches were the prompt itself is being structured in a way (sort of like a spec) so you get to a similar result quicker. Not sure how well those work (I actually assume they suck, but I have not tried them).

Also some frameworks, templates and so on, provide a bunch of structured markdown files that nudges LLM assistance to avoid common issues and do things in a certain way.

andaiyesterday at 1:30 PM

The "prompt" is a guy who wrestled with Claude Code for several hours straight.

show 1 reply