Prompt Engineering Basics
The difference between a mediocre AI response and a genuinely useful one usually comes down to how you ask. Prompt engineering is the skill of writing clear, effective instructions for AI tools. You do not need a technical background to get good at it. These practical techniques will immediately improve the results you get from any AI assistant.
Technique 1: Be Specific
Vague prompts produce vague answers. The more specific you are about what you want, the better the output will be.
- Specify the format you want (bullet points, paragraph, table, email)
- State the length (two paragraphs, 200 words, one page)
- Define the audience (patients, executives, technical staff, the general public)
- Include relevant constraints (must include these three points, must not exceed 500 words)
Before and After: Specificity
Before: "Write something about cybersecurity for our employees."
After: "Write a 200-word email to non-technical employees at a healthcare clinic explaining why they should not click links in unexpected emails. Use a friendly but serious tone. Include three specific warning signs to look for. End with instructions on how to report a suspicious email to IT."
The second prompt gives the AI everything it needs to produce something you can actually use with minimal editing.
Technique 2: Provide Context
AI does not know about your business, your industry, or your situation unless you tell it. Providing context dramatically improves relevance.
- Describe your role and organization ("I manage IT for a 50-person dental practice in San Antonio")
- Explain the situation ("We are migrating from on-premises Exchange to Microsoft 365 next month")
- Share relevant background ("Our staff ranges from age 25 to 65 and most are not comfortable with technology changes")
Before and After: Context
Before: "Create a change management communication plan."
After: "I am the IT manager at a 50-person dental practice in San Antonio. We are migrating from on-premises Exchange to Microsoft 365 next month. Most of our staff are dental hygienists and front desk coordinators who are not very tech-savvy. Create a communication plan with four messages: an announcement two weeks before migration, a reminder one week before, day-of instructions, and a follow-up one week after. Each message should be no more than 150 words and written at an 8th-grade reading level."
Technique 3: Use Examples
Showing the AI what you want is often more effective than describing it. Provide an example of the desired output format or style, and the AI will match it.
- Paste a sample of writing you like and ask the AI to match the tone and style
- Show the format you want by providing a template with one entry filled in
- Share an example of a previous document and ask the AI to create a new one following the same structure
Before and After: Examples
Before: "Write descriptions for our IT services."
After: "Write service descriptions for our IT company's website. Here is an example of the style and format I want:
Network Monitoring: We keep an eye on your network 24/7 so problems get fixed before they become emergencies. Our monitoring covers servers, switches, firewalls, and wireless access points. When something looks wrong, we get an alert and start working on it, often before you even notice.
Now write similar descriptions for these three services: Help Desk Support, Backup and Disaster Recovery, and Cybersecurity Assessment."
Technique 4: Iterate
You do not need to get the perfect result on the first try. Treat AI conversations like a collaboration, not a one-shot query.
- Start with your best prompt and review the result
- Ask for specific changes: "Make the tone more formal" or "Add a section about compliance requirements"
- Ask the AI to improve its own output: "What is missing from this? What would make it stronger?"
- If the result is way off, rephrase your original prompt rather than trying to fix the output through follow-ups
Technique 5: Role Prompting
Telling the AI to act as a specific role helps it draw on the right knowledge and adopt the right perspective.
- "Act as a HIPAA compliance consultant reviewing our data handling procedures."
- "You are an experienced IT project manager. Help me create a timeline for this server migration."
- "Respond as if you are explaining this to a small business owner with no technical background."
Role prompting works because it helps the AI narrow down the relevant knowledge and adjust its communication style to match the persona.
Technique 6: Chain-of-Thought
For complex problems, ask the AI to think through its reasoning step by step. This produces more accurate and thoughtful responses.
- "Think through this step by step before giving your recommendation."
- "Walk me through your reasoning for each option before making a final suggestion."
- "Before answering, consider the pros and cons of each approach."
Before and After: Chain-of-Thought
Before: "Should we use Azure or AWS?"
After: "We are a 30-person healthcare practice in San Antonio. We use Microsoft 365 for email and Office apps. We run an on-premises EHR system that we plan to keep on-premises for now. We need cloud backup, a VPN solution, and eventually a test environment for a new patient portal. Our IT staff of two people both have Windows Server backgrounds but no cloud certifications. Our budget for cloud services is approximately $800/month. Think through the pros and cons of Azure versus AWS for our specific situation step by step, then give a recommendation with your reasoning."
Common Mistakes to Avoid
- Being too broad. "Tell me about cybersecurity" will give you a generic essay. Narrow it down.
- Assuming the AI knows your context. It starts every conversation with zero knowledge of your business.
- Accepting the first response. The first draft is rarely the final draft. Iterate.
- Sharing sensitive data. Never paste PHI, passwords, API keys, or confidential business data into AI tools unless you are on an enterprise plan with appropriate data protections.
- Trusting without verifying. AI can generate confident-sounding but incorrect information. Always verify facts, especially for compliance, legal, or medical topics.
Want hands-on prompt engineering training for your team?
We run practical workshops that teach your staff to get real value from AI tools in their daily work.
Book a Session