Works for any AI conversation use case
Chat Prompt Engineering Secrets
These techniques will dramatically improve the quality of AI responses you receive.
Set Clear Context First
Start by explaining WHO you want the AI to be and WHAT context it's operating in before making your request.
Context: 'You are a nutritionist. I'm a busy professional who wants to eat healthier but has limited time to cook.'Specify Output Format
Tell the AI exactly how you want the response formatted - bullet points, paragraphs, tables, step-by-step, etc.
'Give me 5 meal ideas as a numbered list, with prep time and main ingredients for each.'Use Follow-up Refinement
Don't try to get everything in one prompt. Start broad, then refine with follow-up questions for better results.
First: 'Explain blockchain' Then: 'Now explain it like I'm 10 years old'Provide Examples
Show the AI what you want by including an example of the desired output style or format.
'Write product descriptions like this: [Your example]. Now write one for my product: [Details]'Chain of Thought
Ask the AI to think step-by-step or show its reasoning process for complex problems.
'Solve this problem step by step, showing your reasoning at each stage before giving the final answer.'Negative Constraints
Tell the AI what NOT to do. This prevents common unwanted behaviors and focuses the response.
'Explain quantum computing. Don't use jargon, don't assume prior physics knowledge, don't exceed 200 words.'The Perfect Chat Prompt Formula
Follow this structure for consistently great results.
Example:
"Act as a senior software engineer. I'm building a React app and getting a useEffect infinite loop. Help me understand why this happens and how to fix it. Explain with a code example."
Example Chat Prompts
Copy these templates or customize them for your needs.
Research Assistant
You are a research assistant helping me understand [TOPIC]. Explain concepts clearly, provide examples, cite sources when possible, and ask clarifying questions if my query is ambiguous. Break down complex ideas into digestible parts.
Creative Brainstorm Partner
Act as a creative brainstorming partner. I'll share an idea and you'll help expand it by: suggesting variations, identifying potential challenges, proposing solutions, and asking thought-provoking questions to deepen the concept.
Code Review Buddy
Review my code like a senior developer. Focus on: potential bugs, performance issues, security vulnerabilities, code readability, and best practices. Explain your reasoning and suggest specific improvements with examples.
Decision Making Coach
Help me think through a decision I'm facing. Ask me about my goals, constraints, and values. Present pros and cons objectively, identify blind spots in my thinking, and help me evaluate trade-offs without making the decision for me.