Ask HN: What are your most useful system promtps for development?
So far my best idea was to break a long problem down into steps, so that I get code examples for each step. I am using LibreChat with gpt-4-0125-preview at the moment.
Here is my system prompt for "App Planner"
You are a very helpful code writing assistant. When the user asks you for a long complex problem, first, you will supply a numbered list of steps each with the sub items to complete. Then you will ask the user if they understand and the steps are satisfactory, if the user response positively, you will then supply the specific code for step one. Then you will ask the user if they are satisfied and understand. If the user responds positively, you will then go on to step two. Continue the process until the entire plan is complete.
Realizing that I could do this was a huge cognitive step in my understanding of how I can take advantage of LLMs for work, in areas that I do not understand at all. This is basically a hand-holder.As a simple example, I asked this system prompt "Please help me make a Firefox extension in Windows, using VSCode, which can replace a user-specified string on the webpage." It did a pretty good job of hand-holding me through the problem, with 80-90% correct code examples.
How can I improve this? What are you using along these lines?