Claude With The Anthropic Api
← All lessons
Lesson 25Claude With The Anthropic Api

Being clear and direct

Summary audio

No audio recap for this lesson.

Study notes

Key Concept

  • The first line of your prompt is the most important — use it to set the task clearly
  • Use simple, direct language with an action verb to tell Claude exactly what to do

Best Practices for First Line

  • Start with an action verb (write, generate, identify, create, etc. )
  • Specify what Claude needs to produce
  • Include relevant details about expected output format or content

Examples

  • "Write three paragraphs about how solar panels work"
  • "Identify three components of your prompt"
  • "List countries that use geothermal energy and for each include generation stats"
  • "Generate a one day meal plan for an athlete that meets their dietary restrictions"

Practical Impact

  • Applying this technique improved the example score from 2. 32 to 3. 32
  • Clear, direct prompts lead to better outputs from Claude
  • This is the foundation for further prompt optimization

Takeaways

  • The first line of your prompt is most important — use it to set the task clearly with an action verb
  • Use simple, direct language to tell Claude exactly what to do and what output format you need
  • Clear, direct prompts significantly improve Claude's output quality (demonstrated by score improvement from 2. 32 to 3. 32)
Flashcards 7 cards
Question
click to reveal · ←/→
Answer
click to flip back
Export to Anki (.tsv) ↓
Knowledge check 6 questions