AI and machine learning
Prompt Engineering for Engineers
Learn to write AI prompts for engineering work with output you can check, and test them against a golden set.
Prompt Engineering for Engineers is a free, self-paced online course from EDWartens for engineers, developers and students applying AI to real work. It has 12 modules and takes about 13.2 hours, with written notes, a practice task per module, a practical project and a final assessment of 15 questions (pass mark 60%). Learning costs nothing and needs only a free account. The optional EDWartens Certificate of Completion, verifiable by code, is a one-off US$23.99 for you; it is not a vendor credential. Updated 1 November 2026.
- Free
- Beginner
- 13.2 hours
- Self-paced
- Certificate optional
- Lab practice in your browser
No card, no trial. The course is free for good. Certificate US$23.99, optional.
- Who it is for
- Engineers, developers and students applying AI to real work
- Jobs
- Roles that use this skill: AI engineer, machine learning engineer, data analyst and automation developer. No course guarantees a job.
- Tools
- Any chat tool (ChatGPT, Claude, Gemini, Copilot) or Google Colab with a free OpenRouter key. Hardware: none.
- Updated


After this course you can
By the end you will be able to:
- Write prompts with role, task, context, format and constraints
- Use few-shot examples, chain of thought and decomposition
- Get JSON and CSV out of a model reliably
- Generate engineering documents from data tables with rules against invention
- Build a tested prompt library entry with a golden set and a score
Who it is for, and what you need first
Who it is for
Engineers, developers and students applying AI to real work.
Level: Beginner. Beginner. No coding required for most modules; the scoring examples use a few lines of Python you can paste.
What you need
Software: Any chat tool (ChatGPT, Claude, Gemini, Copilot) or Google Colab with a free OpenRouter key..
Hardware: None.. What to download, and how.
How this course works
Watch the lessons
Short video lessons, one module at a time, at your own pace.
Read the notes
Open the Reading tab for the written notes and diagrams of the module.
Practise in the 3D labOptional
Try the module in the free 3D lab, in your browser.
Check yourself
Answer the questions to see what stuck before you move on.
Final assessment
Pass the final once you have been through the modules.
Certificate, if you want oneOptional
Optional, with a page anyone can use to verify it.
What you learn
12 modules in order, at your own pace. 13.2 hours of video lessons, with written notes and a practice task in each module.
- 1A prompt is a specification, with lab practice: 15m
- 2Zero-shot, one-shot and few-shot examples19m
- 3Thinking step by step24m
- 4System prompts and roles25m
- 5Structured output: JSON and tables, with lab practice: 34m
- 6Context engineering, with lab practice: 20m
- 7Engineering documents from data tables, with lab practice: 42m
- 8Prompting for code45m
Show the other 4 modules
- 9Prompting inside Excel, Word and email16m
- 10Evaluating prompts and the prompt library1h 54m
- 11Safety, confidentiality and injection, with lab practice: 11m
- 12Final assessment
Software you need
What to download, where from, what it costs and how to install it. Every link goes to the maker's own site, never a mirror.
Show what to download (6 tools)
One AI assistant
Any one is enough.
- 01Free plan with limits
ChatGPT
OpenAI, in the browser
- Runs on
- Any modern web browser, plus mobile and desktop apps
- Account
- A free OpenAI account
The Free plan allows everyday text chats. File uploads, image creation, voice and data analysis have tighter limits than paid plans, and ads may appear in some countries. Paid plans raise the limits.
Steps
- 1.Open chatgpt.com.
- 2.Click Sign up and create an account with your email, or a Google, Microsoft or Apple account.
- 3.Verify your email and confirm your details.
- 4.Type your question in the message box.
- Do not paste personal data, passwords or confidential work files.
- ChatGPT tells you when you reach a limit. Wait for it to reset or switch to a lighter task.
Open ChatGPTchatgpt.com - 02Free plan with limits
Claude
Anthropic, in the browser
- Runs on
- Any modern web browser, plus desktop and mobile apps
- Account
- A free Claude account (you must be 18 or over)
The Free plan covers chat on web, desktop and mobile, web search, file creation and Artifacts. Usage limits reset on a rolling five-hour window and depend on message length and features used. Paid plans give more usage.
Steps
- 1.Open claude.ai (or see the plans at claude.com/pricing).
- 2.Sign up with your email or Google account and confirm your email.
- 3.Confirm you are 18 or over and accept the terms.
- 4.Type your question in the message box.
- Long conversations and large files use up your limit faster. Start a new chat for a new topic.
- Do not paste personal data or confidential work files.
Open Claudeclaude.com - 03Free with limits
Google Gemini
Google, in the browser
- Runs on
- Any modern web browser, plus Android and iOS apps
- Account
- A free Google account
Free with a Google account, including a Flash model, limited access to the Pro model, image generation, Deep Research and Gems. Paid Google AI plans give higher limits. Some features require you to be 18 or over.
Steps
- 1.Open gemini.google.com.
- 2.Sign in with your Google account.
- 3.Accept the terms the first time you use it.
- 4.Type your question or upload a file in the prompt box.
- Use a personal Google account. Work or school accounts depend on your administrator's settings.
Open Google Geminigemini.google.com - 04Free
Microsoft Copilot and Microsoft 365 Copilot Chat
Microsoft, in the browser
- Runs on
- Any modern web browser, plus Windows, macOS, Android and iOS apps
- Account
- None needed
Microsoft Copilot is free for individuals; you must be at least 13 (older in some countries). Microsoft 365 Copilot Chat is included at no extra cost for organisations with an eligible Microsoft 365 licence and needs a work or school (Microsoft Entra ID) account.
Steps
- 1.Open copilot.microsoft.com.
- 2.Optionally click Sign in and use your personal Microsoft account.
- 3.Type your question in the message box.
- 4.For work or school use, sign in at microsoft365.com with your organisation account and open Copilot Chat.
- Copilot Chat with a work or school account adds enterprise data protection. Use it for work material if your organisation provides it.
Open Microsoft Copilot and Microsoft 365 Copilot Chatcopilot.microsoft.com
Optional
Useful, not needed to finish the course.
- 05Free, GPU time not guaranteed
Google Colab
Google, in the browser
- Runs on
- Any modern web browser
- Account
- A free Google account
Colab is free to use. In the free version GPUs and TPUs are heavily restricted and not guaranteed, sessions can run for at most 12 hours, and idle sessions are stopped. Paid plans give more reliable access.
Steps
- 1.Open colab.research.google.com and sign in with your Google account.
- 2.Click New notebook (or open the notebook your course links to).
- 3.For a GPU, choose Runtime, then Change runtime type, then pick a GPU if one is offered.
- 4.Type code in a cell and press Shift and Enter to run it.
- Save a copy to your Google Drive so your changes are kept.
- Files on the runtime are deleted when the session ends. Save outputs to Drive.
Open Google Colabcolab.research.google.com - 06Free models with rate limits
OpenRouter
OpenRouter, Inc., in the browser
- Runs on
- Any modern web browser (API works from any language)
- Account
- A free OpenRouter account
Models with IDs ending in :free cost nothing but are limited to 20 requests per minute and 50 requests per day. Buying at least 10 credits raises the daily free-model limit to 1,000 requests.
Steps
- 1.Open openrouter.ai and sign up.
- 2.Go to Keys in your account settings and create an API key. Copy it somewhere safe.
- 3.Pick a model whose ID ends in :free.
- 4.Call it with any OpenAI-compatible client using the base URL https://openrouter.ai/api/v1 and your key.
- Never paste your API key into shared code or public repositories.
- The list of free models changes over time. Check the model page before a class.
Open OpenRouteropenrouter.ai
Checked against each maker's own page on 27 September 2026. Trial lengths and editions change; the maker's page is the final word.
Practise in the 3D lab
Write real prompts and test them: get exact JSON for ten emails, stop the model inventing a missing fact, and defeat an instruction hidden in an email.
- Prompt to specAI Workbench, about 25 minOpen in the lab (opens in a new tab): Prompt to spec
- A safe agentAI Workbench, about 30 minOpen in the lab (opens in a new tab): A safe agent
Optional. Skip it whenever you like: it never blocks your progress or your certificate.
Course project, about 4 hours
A tested prompt library for one real engineering deliverable
Pick one document you produce at work, such as a FAT report section or an I/O description column. Build the prompt that generates it from a data table and test it against a golden set. Then record it as a library entry a colleague could reuse.
- 7documents in the pack
- 6steps to follow
- Laboptional: in the 3D lab
- 5things to hand in
- 4 hof work, at your pace
- PlanPrompt Development Plan: FAT 'Test Results' Section
- RegisterSource Data: FAT Results Sheet (Sample)
- RegisterGolden Set: Twelve Cases with Expected Output
- Test reportScore Record: Prompt Versions 1 to 4
- RegisterPrompt Change Log
- ProcedurePrompt Library Entry FATRES-04: FAT Test Results Section
Do it in the lab: 4 steps.
The project is optional practice. The certificate needs only the modules and the final assessment.
After the course, your next step
Show what you can do, then keep going in the same field.
A certificate you can verify
Finish the modules and pass the final assessment (15 questions, pass mark 60%) and you can add a certificate with a public verification page. One-off, US$23.99 for you. It is not a vendor credential.
Want a free certificate? Do the matching Free internship: 4 weeks, nothing to buy, with a free certificate of completion.

Generative AI and Prompt Engineering
Eight short weeks of how language models work, prompting that gets better answers, and the risks to manage: notes, diagrams, a few videos and worked exercises. Finish weeks 1 to 4 and the final, then claim a free Internship Completion Certificate with your real dates and study hours, and a QR code anyone can scan to verify it. Training, not employment.
See the internshipPart of a learning path
Courses in a planned order, so each one builds on the last.
More free courses
Roles that use this skill
- AI engineer
- Machine learning engineer
- Data analyst
- Automation developer
These are the kinds of roles where the skill is used. We make no promise of a job or an interview.
Plain notes
- Free: the whole course, the notes, the practice tasks, the final assessment and support from practising engineers.
- Paid, and optional: the course certificate, and the Engineer-verified internship (the Free internship costs nothing).
- No job promise: the course teaches a skill. It does not place you in a job.
- Lessons by: Anthropic, freeCodeCamp.org, IBM Technology, Jeff Su, Tech With Tim, Dave Ebbelaar, Elvis Saravia, CodeEmporium, Kevin Stratvert, edureka!, Simplilearn, Analytics Vidhya, Telusko, Grow with Google, Eye on Tech. Independent creators; the lessons stream from their own channels. EDWartens wrote the study plan, notes, practice tasks and assessments.
Anthropic · freeCodeCamp.org · IBM Technology · Jeff Su · Tech With Tim · Dave Ebbelaar · Elvis Saravia · CodeEmporium · Kevin Stratvert · edureka! · Simplilearn · Analytics Vidhya · Telusko · Grow with Google · Eye on Tech. If you are one of these creators and want a lesson removed or credited differently, write to info@edwartens.com.
Practise what you learn in the free 3D lab
Technical work is judged on what you can do: wiring, commissioning, finding a fault. Doing a task yourself teaches more than watching it a second time, and a lab lets you try it safely before you meet real equipment. It does not replace working on real hardware.
- Practise safely, so a mistake costs nothing.
- The lab checks your work like a site test, so you know when it is right.
- Free, in your browser, with nothing to install.
Why learn with EDWartens
What you get with this course, and what comes after it.
- Free from the first lesson to the final assessment.
- Practice in a free 3D lab in your browser, with nothing to install.
- Video lessons with written notes and a project.
- An optional certificate that anyone can verify online.
- Free internships to keep practising afterwards.
Common questions
Is prompt engineering still a useful skill?
Yes, but the useful part is not clever wording. It is defining what a correct answer looks like and testing the prompt against it. Anthropic's own documentation for Claude says that before prompt engineering you should have a clear definition of the success criteria for your use case. You also need some way to test empirically against those criteria. That is the habit this course builds. It ends with a prompt that is checked against a golden set and given a score.
How do you test whether a prompt works?
Run it against a fixed set of inputs whose correct outputs you already know, and score how many it gets right. OpenAI's developer documentation calls these tests evals. It describes them as testing model outputs to ensure they meet style and content criteria that you specify. In the course you test a prompt against ten or more cases with known answers and iterate to a score. You also score a tag-list converter by exact match.
How do I stop an AI model from inventing values in engineering documents?
Give it the source data, tell it to use only that data, and give it a way to say information is missing. Anthropic's guide to reducing hallucinations recommends allowing the model to say I don't know. It also recommends grounding answers in direct quotes and verifying claims with citations. These techniques reduce hallucinations but do not eliminate them. The course applies the idea to documents and code generated from data tables. You still check the output.
Is this just tips for ChatGPT?
No. It works in ChatGPT, Claude, Gemini, Copilot or any model through an API, and the point is the discipline of specifying, constraining and testing, not the tool. Every module ends with a prompt you keep.
Do I need to code?
Not to start. Most modules need no code. The scoring examples (module 8 most of all) use a few lines of Python that are given to you, and a couple of optional pages use a little more; if you have never coded, paste the code or score by hand in a spreadsheet.
What is the project in the Prompt Engineering for Engineers course?
You take one document you actually produce, such as a FAT report section, a procedure or a fault-code guide. You build the prompt that generates it from a table and test it against ten or more cases with known answers. You iterate to a score. Then you write it up as a prompt-library entry a colleague could reuse. A second short project scores a tag-list converter by exact match.
Do I need a paid AI account?
No. Any free chat tool works for most modules, and the scoring modules use OpenRouter's free models with a free key.
Is the Prompt Engineering for Engineers course really free?
Yes. Every module, practice task, project and assessment. You create an account so your progress is saved and the assessments can be marked. The certificate is the only paid item, and only if you want it.
What certificate does the Prompt Engineering for Engineers course give?
An EDWartens Certificate of Completion, issued when you have finished the modules and passed the final assessment (the project is optional practice), with a verification code anyone can check. It is not a vendor credential and is never described as one.
Who made the video lessons in the Prompt Engineering for Engineers course?
The creators named in the Credits block at the foot of this page, on their own YouTube channels. EDWartens did not make the videos and the creators are not affiliated with EDWartens. What EDWartens wrote is the study plan, the notes, the practice tasks, the projects and the assessments.
Do I have to use the lab?
No. The lab is optional practice. You can skip it whenever you like, and it never blocks your progress, the final assessment or your certificate.
Is the lab free?
Yes. Every lab level for this course opens in your browser, free, with nothing to install.
What topics does the Prompt Engineering for Engineers course cover, module by module?
The Prompt Engineering for Engineers course has 12 modules. It opens with "A prompt is a specification", goes through "Zero-shot, one-shot and few-shot examples", "Structured output: JSON and tables", "Prompting for code" and "Safety, confidentiality and injection" and ends with "Final assessment". The full list with minutes is under "What you learn" on this page.
What can I do after the Prompt Engineering for Engineers course?
After the Prompt Engineering for Engineers course: Write a five-part prompt with a refusal rule that turns invention into a visible blank; Fix output format with few-shot examples and get JSON with a schema at temperature 0; Make calculations checkable with chain of thought, and run the arithmetic as code. These are the practical outcomes the course is written around, and the final assessment of 15 questions checks them.
What software and hardware do I need for the Prompt Engineering for Engineers course, and does it cost anything?
For the Prompt Engineering for Engineers course, software: Any chat tool (ChatGPT, Claude, Gemini, Copilot) or Google Colab with a free OpenRouter key. Hardware: none. The course itself is free.
Is the Prompt Engineering for Engineers course suitable for me, and what level is it?
Prompt Engineering for Engineers is rated beginner. Beginner. No coding required for most modules; the scoring examples use a few lines of Python you can paste. It is written for engineers, developers and students applying AI to real work, and takes about 13.2 hours at your own pace.
Which jobs use the skills from the Prompt Engineering for Engineers course?
Skills from the Prompt Engineering for Engineers course (for example: write a five-part prompt with a refusal rule that turns invention into a visible blank) are used in roles such as AI engineer, machine learning engineer, data analyst and automation developer, and in machine learning engineer work. The course gives you practical evidence of the skill; it does not promise a job, and employers decide on experience and interview.
Start free today
Prompt Engineering for Engineers, at your own pace. Add the certificate only if you want one.