Write Prompts That Get Results

Great prompts are clear, specific, and structured. The way you phrase your prompt shapes the AI’s response—so let’s break down the anatomy of an effective prompt!

Syntax Cheat Sheet

bash
# Example Prompt Structure
[Instruction/Goal]: Write a short story about teamwork.
[Context/Details]: Set it in a futuristic city.
[Style/Tone]: Make it optimistic and energetic.
[Constraints]: 100 words or less.

Elements of a Good Prompt

  • Instruction/Goal: What do you want the AI to do?
  • Context/Details: Add background or specifics to guide the response.
  • Style/Tone: Specify the mood, personality, or style you want.
  • Constraints: Set limits (e.g., word count, format, language).

Good vs. Bad Prompts

Do
Write a friendly email inviting my team
to a project kickoff meeting. Keep it
concise and upbeat.

Summarize the following article in 3
bullet points for a high school audience.

Explain the process of photosynthesis
step by step, using simple language.
Don't
Email about meeting.

Summarize article.

Explain photosynthesis.

Try in Playground

Experiment with prompt structure and see how small changes affect the AI’s output. Practice makes perfect!

Go to Playground
Back: Introduction to Vibe Coding Next: Vibe Playground