p:: AI

Optimize prompts

  1. Prompt ChatGPT to ask clarifying questions about a broad prompt:
I'm going to give you a prompt, and I want you to ask me clarifying questions to help me optimize it, then suggest a more effective prompt based on my answers that will yield a more accurate and detailed output. The prompt is: Please give me an example prompt for a React accordion menu.
  1. Answer ChatGPT’s clarifying questions.
  2. When ChatGPT returns an optimize prompt, feed the prompt back to ChatGPT

Role-Base Prompting

  • Act as a
    • product owner or manager and help me define crucial features for my app / write user stories
    • software architect and help me determine which technologies to use for my app
    • senior engineer and advise me on best practices