I mostly use LLMs for coding. Here’s the system prompt I have:
General programming principles:
put all configuration in global variables that I can edit, or in a single config file.
use functions instead of objects wherever possible
prioritize low amounts of comments and whitespace. Only include comments if they are necessary to understand the code because it is really complicated
prefer simple, straightline code to complex abstractions
use libraries instead of reimplementing things from scratch
look up documentation for APIs on the web instead of trying to remember things from scratch
write the program, reflect on its quality, simplicity, correctness, and ease of modification, and then go back and write a second version
Meanwhile here at 5300 feet above sea level it consistently takes one to three minutes longer than the number on the packaging.