AI BASICS

Prompting GenAI Effectively

By the end of this unit, you will be able to apply key principles to craft effective prompts for Generative AI (GenAI) tools, like CUNY Copilot, ChatGPT, Claude, Gemini, etc. to support your academic, research, or administrative tasks responsibly.

Glossary

GenAI (Generative Artificial Intelligence)

A type of artificial intelligence that can create new and original content, such as text, images, audio, video, or computer code. GenAI models learn from vast amounts of data to generate outputs that mimic human creativity and produce content with similar characteristics to the data they were trained on. Instead of just analyzing or categorizing information, GenAI focuses on generating novel artifacts that resemble but do not replicate the original data.

Prompting (in AI)

The process of providing input, typically in the form of text, questions, instructions, or examples, to a Generative AI system to guide its response and elicit a desired output. An effective prompt clearly communicates the user’s intention, setting the context and directing the AI to generate relevant, coherent, and specific content. The quality and detail of the prompt significantly influence the quality of the AI-generated output.

Key Takeaways

  • Be Specific & Provide Context. The more relevant detail you give, the better the output.
  • Define the Task, Role & Format. Guide the AI clearly on what to do and how to present it.
  • Iterate. Your first prompt might not be perfect. Refine it based on the AI’s response. Add detail, change the persona, or clarify the task. Treat it like a conversation.
  • Think Critically. GenAI output is a starting point, not a final product.

Components of a Good Prompt

Effectively interacting with Generative AI (GenAI) tools requires more than simply typing a question into a chat box. Unlike search engines, GenAI responds based on your prompt’s structure, context, and clarity, not just keywords. Prompting is not “googling”; it is a skill that involves intentionally guiding the AI to produce thoughtful, relevant, and usable results. This section outlines the essential components of a good prompt—a practical set of strategies you can apply to improve the quality, reliability, and academic appropriateness of GenAI outputs. You can mix and match these building blocks to generate more accurate, relevant, and context-aware outputs.

Persona (Role-Play)

Assign the AI a role. This shapes its tone, style, and focus.

Example: “Act as a critical peer reviewer…” or “Explain this concept as a teaching assistant to a first-year student…” or “Adopt the persona of a skeptical historian…”

Clarity & Specificity

Be precise. Avoid vague language. What exactly do you want?

Instead of: “Tell me about Foucault.”

Try: “Explain Michel Foucault’s concept of ‘power/knowledge’ as discussed in ‘Discipline and Punish’, suitable for an undergraduate student new to his work.”

Context

Provide necessary background information. What does the AI need to know to answer well?

Example 1: “I am preparing a guest lecture on sustainable urban planning for a Master’s level geography course. The students have already covered theories of urban sprawl.” 

Consider attaching relevant sources, e.g., articles, syllabus in PDF, PowerPoints, etc.

Example 2: “Based on the attached document, generate 20 multiple-choice quiz questions and mark the correct answers.”

Task

Clearly define the action you want the AI to perform. Use strong verbs.

Examples: Summarize, Explain, Compare, Contrast, Brainstorm, Generate, Critique, Outline, Rephrase, Translate, Code, List, Define. 

Format

Specify the desired output structure.

Examples: “…in bullet points.”, “…as a table with columns for [X] and [Y].”, “…in a paragraph of no more than 100 words.”, “…as a JSON object.”, “…as an email draft.”, “…in an academic tone,” “as a grading rubric with 3 levels of achievement.”

Constraints

Set boundaries or quality requirements.

Examples: “Limit the response to three key points,” “focus only on peer‑reviewed sources published after 2018,” “avoid jargon,” “use APA 7th edition citations,” “match this tone: [insert short sample],” “avoid bulleted lists.”

Chain‑of‑Thought (CoT)

Instruct the model to reason step by step before giving the final answer.

Examples: “Think through your reasoning step by step, then provide a concise summary,” “Show your calculations before the conclusion,” “List the logical steps you used to decide.”

Example

Act as an experienced university-level instructional designer specializing in creating engaging online discussions.

I am teaching an undergraduate online asynchronous course titled 'Digital Ethics in the 21st Century.' The current module is 'Algorithmic Bias and Social Justice.' Students have already read chapters on the definition of algorithms, sources of bias in AI, and case studies of discriminatory algorithms in hiring and criminal justice. They have a foundational understanding but need to engage more deeply with solutions and personal reflections.

Your task is to generate one thought-provoking discussion forum prompt. This prompt should encourage students to critically analyze potential solutions to algorithmic bias and reflect on their own roles and responsibilities in addressing these issues.
Please structure your output as follows:
-Discussion Prompt Title: (A concise and engaging title)
-Prompt Instructions: (The full text of the prompt for students, including guiding questions)
-Learning Outcomes Addressed: (List 2-3 specific learning outcomes this prompt would help achieve, related to critical thinking and ethical reasoning)
-Suggested Grading Criteria (Brief): (Provide 2-3 key elements a TA might look for when assessing student responses, e.g., depth of analysis, connection to course materials, constructive engagement with peers). Present these criteria as bullet points.
The prompt instructions should be between 150-200 words.

It must explicitly ask students to propose at least one concrete solution or mitigation strategy for algorithmic bias.It should also prompt students to consider the ethical responsibilities of different stakeholders (e.g., developers, policymakers, users).
Avoid overly technical jargon; the language should be accessible to undergraduates from diverse disciplinary backgrounds.

Do not suggest solutions that have already been extensively covered in the hypothetical readings mentioned above. Focus on prompting novel thinking or deeper application.

Prompting AI Agents

In addition to the core components of a good prompt, specifying a structured output format can significantly improve the usability of AI-generated responses, especially when writing instructions for AI agents. These agents are specialized AI tools designed to assist with specific tasks, such as drafting content, summarizing information, or generating step-by-step guides.

One particularly effective format to request is Markdown. Markdown is a lightweight plain-text formatting language that uses simple symbols to create structure, such as headers, bullet points, bold text, and links.

# stands for top-level header

## is a second-level header

** bold text

– bullet polint

Including a request for Markdown in your prompt helps the agent deliver well-formatted, ready-to-use output.

Markdown

Make it easy for AI to identify sections, steps, or requirements within a prompt.

“Write output in a markdown format.”

Quiz – Prompting GenAI Effectively

Choose the best answer. You will earn a badge if you answer all questions correctly.

1. 
Clarity & Specificity and Context 

Anya is preparing a presentation on the impact of social media on youth activism. She wants GenAI to help her brainstorm potential case studies. Her initial prompt is: "Give me case studies for social media and youth activism."

Which of the following revised prompts best incorporates the principles of Clarity & Specificity and Context to get more useful results?

2. 
Getting the best of AI

Kenji is struggling to understand a complex theoretical concept from a dense academic paper. He wants to ask GenAI to explain it. He knows he needs to provide the AI with enough background.

Which prompt component is Kenji primarily focusing on if he includes a paragraph summarizing the paper's main argument and the specific section he finds confusing before asking his question?

3. 
Essential prompt components for drafting an email

Maria, an administrative assistant, needs to draft an email to faculty about an upcoming deadline for grant submissions. She wants the email to be professional, concise, and clearly outline the key dates and requirements.

To ensure the AI generates the email in the appropriate style and structure, which two prompt components are MOST crucial for Maria to specify?

4. 
Using the AI output

A research group wants to use GenAI to generate a structured literature review outline on "the use of virtual reality in medical training." They want the AI to think through the logical flow and structure before presenting the outline, and they want the final output to be easy to copy into a document with clear headings and subheadings.

Which two prompt components are being specifically leveraged if their prompt includes: "First, identify key themes in VR for medical training. Then, organize these themes into a logical structure with main sections and potential sub-sections. Finally, present this outline using Markdown formatting."?

  • IntroEssential AI Skills
  • Unit 1What You Need to Know About GenAI
  • Unit 2Prompting GenAI Effectively
  • Unit 3The Context Window
  • Unit 4Assessing AI-Generated Content
  • Unit 5What does Ethical Use of GenAI Mean for Faculty and Students?
  • RecapEssential AI Skills: Recap

0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*

Log in with your credentials

Forgot your details?