Prompt Engineering Study Guide
Introduction
Prompt engineering is the practice of designing clear, structured instructions for AI models to obtain
reliable, useful outputs.
Core Principles
Be specific, provide context, define the desired output format, include constraints, and iterate based
on results.
Common Prompt Types
Zero-shot, one-shot, few-shot, role prompting, structured-output prompting, and step-by-step task
decomposition.
Best Practices
State the goal, provide necessary background, specify tone and audience, ask for tables or JSON
when needed, and verify important outputs.
Example
Role: You are a civil engineering tutor. Task: Explain RCC beam design for a diploma student using
simple language, diagrams in ASCII, and five practice questions.
Use Cases
Education, programming, writing, research, business, customer support, image generation, and
data analysis.
Checklist
Clear objective; sufficient context; desired format; constraints; examples if needed; review and
refine.