Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a trick to improve code quality from LLMs. I only use the ones where I have control of the system prompt.

I use a prompt that convinces the LLM they are a Staff Engineer at Google and care deeply about best practices and writing clean, quality code.

While not perfect, it does improve the code quality.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: