AI Prompting 101

SecAI+ Domain

1.0: Basic AI Concepts Related to Cybersecurity

SecAI+ Objectives

1.1: Understand important AI concepts

Overview

Prompting 101 

Prompting 101 introduces learners to the art and science of crafting effective prompts for AI tools, focusing on clarity, tone, and context. Through hands-on exercises and guided practice, participants learn to write structured prompts, control the format and personality of AI output, and analyze the impact of prompt specificity. This lab empowers users to recognize how context and structure influence output accuracy, and to assemble a starter prompt library for professional or everyday use.

Lab Objectives 

In this lab, you will learn to:

  • Write structured prompts with clear roles and instructions.

  • Adjust prompts to control tone and format of AI output.

  • Compare vague vs. precise prompts and analyze results.

  • Recognize how prompt context influences accuracy.

Key terms and descriptions

Prompt Engineering
The practice of designing clear and specific instructions or questions for an AI system to produce useful, targeted responses.
Structured Prompt
A prompt that uses a defined format, including roles or guidance, to direct how the AI should respond (e.g., "You are a cybersecurity analyst...").
Context
Background information or details included in a prompt that help the AI understand the setting, audience, or purpose of the request.
Tone
The style or attitude (formal, informal, friendly, neutral, etc.) specified in a prompt to adjust how the AI communicates.
Role Assignment
Telling the AI to take on a certain persona or expertise in the response such as teacher, analyst, or support agent.
Vague Prompt
A request or question that lacks detail, often resulting in general or unfocused AI responses.
Precise Prompt
A highly detailed prompt that focuses the AI's response on specific facts, style, or requirements.
Iteration
The process of refining a prompt multiple times until you get the intended quality and clarity in responses.
Prompt Library
A personal or organizational collection of effective prompts saved for repeated use across similar tasks or workflows.
Audience Awareness
Adjusting the prompt's language or structure to meet the needs or understanding level of your target reader or user.