In my limited experience you can ask some (I tried with chatgtp and gemini) llms to prompt themselves. Both came up with good prompts that achieved the goals we had in mind.