AI Spark Academy Logo

AI Prompting Course

Master the Art of Prompt Engineering

Module 4Lesson 1
12 min

The COSTAR Framework

COSTAR is a comprehensive framework for structuring prompts to ensure all necessary components are included.

Components

  • C - Context: Background information
  • O - Objective: The specific task
  • S - Style: Tone and writing style
  • T - Tone: Emotional resonance
  • A - Audience: Who is this for?
  • R - Response: Format of the output

Example

"Act as a senior marketing manager (Context). Write an email to the team (Objective) in a professional and encouraging style (Style/Tone) for all employees (Audience) announcing the new remote work policy. Format as a standard email (Response)."

Exercise

Rewrite a vague prompt using the COSTAR framework.

0% Complete