Out-of-the-box behavior
A general-purpose AI model trained on diverse public data will answer valid questions, but often with broad, surface-level responses. When prompts lack context and constraints, the model returns generic suggestions rather than prioritized, personalized guidance. Example user question:- Plan meals
- Create a shopping list
- Buy in bulk
- Choose store-brand products
What is prompt engineering?
Prompt engineering shapes a model’s output by defining role, intent, constraints, and expected format. The two primary components are:- System message (define role and expertise)
- User prompt (specify the task, constraints, and desired format)
A clear system message gives the model purpose and focus. A specific user prompt supplies constraints and the expected format, which together produce more useful and actionable responses.

Practical prompt-engineering checklist
Use this checklist to convert a vague request into a high-quality prompt:Example: Before vs After
Before (vague prompt):Tips for more advanced prompts
- Break complex requests into step-by-step subtasks (decomposition).
- Provide examples of the desired output format (few-shot prompting).
- Limit or require reasoning chains when needed, e.g., “Show calculations.”
- Use role-play to shift tone or level of expertise (e.g., “Act as a nutritionist and cost analyst.”)
Links and references
- Kubernetes Docs — Concepts (example knowledge resource)
- OpenAI Prompting Guide (practical prompting patterns)
- Prompt Engineering Best Practices (blog) (examples and templates)