Elements
- Role
This element tells the AI who it needs to be. This anchors its vocabulary and perspective.
- Example 1: “Role: Act as a veteran tech journalist with 15 years of experience.”
- Example 2: “Role: You are an empathetic customer service manager solving a crisis.”
- Example 3: “Role: As a high school physics teacher specializing in remedial education.”
- Goal
State the explicit action you want the AI to take. [1, 45]
- Example 1: “Write a 300-word product review.”
- Example 2: “Draft a response to an angry client email.”
- Example 3: “Create a step-by-step lesson plan on gravity.”
- Context
Provide the background details so the AI doesn’t have to invent details.
- Example 1: “The product is a wireless mouse that has a short battery life but an ergonomic design.”
- Example 2: “The client is upset because their shipment arrived two days late due to a snowstorm.”
- Example 3: “The students are 14 years old and struggle with advanced mathematics.”
- Constraints
Set strict boundaries on style, tone, and content.
- Example 1: “Do not use (or use) technical jargon. Avoid the words ‘revolutionary’ or ‘game-changing’.”
- Example 2: “Keep the tone professional but highly apologetic. Do not offer a financial refund.”
- Example 3: “Use analogies that do not involve sports. Keep definitions under two sentences.”
- Output Format
Define the visual or structural layout of the response.
- Example 1: “Provide the output as a Markdown table with columns for Pros and Cons.”
- Example 2: “Format this as a standard professional email with a clear subject line.”
- Example 3: “Deliver this as a bulleted list using emojis as visual anchors.”
Markdown Table:
A Markdown table is a lightweight, text-based grid structured entirely with plain-text characters, specifically vertical bars (|) to separate columns and hyphens (-) to separate header rows from content rows. Because it relies purely on standard keyboard symbols rather than complex HTML or visual click-and-drag editors, it integrates seamlessly into code repositories, readme files, and documentation. Developers can easily read, write, and track version control changes on these tables directly within any basic text editor without needing specialized rendering software.