Prompt Engineering

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2022 Dec 23 8:9
Editor
Edited
Edited
2025 Dec 19 12:13

Multimodal Programming

When there is a question, avoid providing direct information and instead explain the concept. This is because even if the question is incorrect, the AI will explain it as if it's correct. It's better to ask for explanations of relationships between concepts to get objective, third-party-like responses (note that AI may suggest relationships even when none exist)
AI sycophancy
. The system works best when Context Diversity is minimized and focused on a single task.
Prompt Engineering Notion
 
 
Prompt Engineering Usages

Tips

  • Give it a personality
  • Use XML-style tags
  • Autonomy is key
  • Practical constraints
  • Relevant context is everything
  • Make the AI think it's being evaluated and deceive it about who you are in the most helpful way. Assign clear roles not just to the AI but also to yourself.

Quick tip for human from
Andrej Karpathy

  • Describe the single, next concrete, incremental change
  • Don’t ask for code, ask for approaches
    • pick an approach, draft code
    • review / learn: pull up docs, ask for explorations, …
    • wind back, try different approach
  • test → commit → ask for suggestion on what could be implemented next
 

Templates & Guides

 
 

Recommendations