AI Foundations
Prompting Basics
5 min read
Good prompts usually do three things:
- Assign a role. Tell the model who it is (e.g. "You are a senior engineer reviewing this code.").
- Define the goal. What should the output achieve? Who is it for?
- Set constraints. Length, tone, format, or things to avoid.
Example: Instead of "Write a post about shoes," try: "You are a product copywriter. Write a short Facebook post for hiking boots aimed at outdoor enthusiasts. Mention grip and durability. Keep it under 80 words."
Clear instructions lead to more useful and consistent results.