daBongo LMS AI Training Courses

Crafting Effective Prompts for ChatGPT

Lesson 1: The Five-Component Prompt Anatomy

Lesson Objectives

By the end of this lesson, students should be able to:

  • Name and define all five prompt components
  • Write prompts including at least four components for complex tasks
  • Identify which components are most critical for different task types
  • Recognize common prompting failures and trace them to missing components

Lesson Content

Component 1 – Task: What do you want ChatGPT to produce?

The task is the core request – the verb phrase that tells ChatGPT what to do.

Weak: "Help me with this email." Strong: "Write a 250-word follow-up email to a client who has not responded to our proposal in three weeks."

Component 2 – Context: Who are you and what is the situation?

Context gives ChatGPT the background it needs to calibrate the response.

"I am a first-year financial analyst at a mid-size regional bank preparing for my first client presentation…"

Component 3 – Role: What perspective should ChatGPT adopt?

"Act as an experienced UX researcher reviewing this survey design for clarity and bias…" "Act as a skeptical investor evaluating this pitch…"

Role framing produces perspective-specific responses. Note: role framing changes analytical perspective – it does not grant professional credentials. "Act as a lawyer" produces legally-framed analysis; it does not produce licensed legal advice.

Component 4 – Constraints: What are the limits?

Length, tone, exclusions, inclusions, format restrictions. Even one or two specific constraints dramatically improve first-response usability.

"Under 200 words. No bullet points. No corporate jargon."

Component 5 – Format: How should the output be structured?

"Format as a three-column table: Option | Pros | Cons." "Structure as a slide outline: one header and three bullets per slide."

Putting it together.

Task: "Evaluate this marketing strategy…" Context: "…I am a small business owner in the handmade goods sector, revenue under $200k annually, with limited time and no marketing budget…" Role: "Act as a digital marketing specialist with experience working with micro-businesses and tight budgets…" Constraints: "Be honest about what will not work for a business my size. Under 400 words. No recommendations requiring paid advertising." Format: "Section 1: What is working. Section 2: What to stop doing. Section 3: Three specific, free actions to take this month."

Priority when you cannot include all five.

Task and Context are always required. Constraints are the highest-leverage addition. Format is essential when output needs a specific structure. Role is most powerful for perspective-specific feedback.

Jamie Practice Lab

Before moving to the quiz, complete this short applied exercise:

  1. Write one realistic ChatGPT prompt that applies the main idea from The Five-Component Prompt Anatomy to your own work, learning, or daily life.
  2. Add one safety or verification step you would take before acting on ChatGPT's response.
  3. Revise the prompt once to include clearer context, constraints, or success criteria.

Instructor check: A strong answer should show practical use, human review, and awareness that ChatGPT output is assistance – not automatic truth or professional advice.

Added Quiz Enhancement

question_id: auto-enhancement-the-five-component-prompt-anatomy-qjamie001 question_type: short_answer difficulty: applied question: Write one prompt you could use after this lesson, then name one verification or human-review step you would apply before relying on the result. correct_answer: Answers will vary; a strong answer includes a clear task, relevant context, at least one constraint or desired format, and a realistic verification or human-review step based on the stakes of the task. answer_explanation: This applied question checks whether the student can transfer the lesson into real use while maintaining responsible AI habits.

Lesson Quiz

Log in and enroll to take this lesson quiz.

Scroll to Top