Become a…

How to Become a Prompt Engineer: Skills, Portfolio and Path

By the AIJobDesk team · Updated

To become a prompt engineer, learn how language models behave, practice designing and testing prompts systematically, learn enough Python to run evaluations, and build a portfolio that shows measured improvements on real tasks. Dedicated prompt engineer titles are relatively rare, so many people get there through AI engineering, AI training or domain expert roles.

To become a prompt engineer, learn how language models behave, practice designing and testing prompts systematically, learn enough Python to run evaluations at scale, and build a portfolio that shows measured improvements on real tasks. Because dedicated prompt engineer titles are relatively rare, many people get there through AI engineering, AI training or a domain expert role.

A prompt engineer is someone who designs, tests and maintains the instructions and context given to AI models so they produce reliable, useful output for a specific product or task. Good prompt engineering looks less like clever wording and more like software testing: define what good looks like, measure it, change one thing, measure again.

What does a prompt engineer actually do?

Typical tasks include writing system prompts for a product, building example sets that steer model behavior, creating evaluation datasets and grading rubrics, comparing models on the same task, reducing hallucinations and refusals, and documenting prompts so engineers can maintain them. In many teams, the same person also works on retrieval setup and structured output formats.

Honest context: pure prompt engineer job titles make up a small slice of AI hiring, and the role is often folded into others. Our post asking whether prompt engineering is a real job covers this in more depth. You can see current titled openings on the prompt engineer jobs page.

Step 1: Understand how language models work

You will write better prompts if you know why models behave as they do.

  • Tokens and context windows: models read tokens, not words; very long context can dilute attention to key details.
  • Next-token prediction: a model continues text in the most likely way given everything before it, which is why examples and framing matter so much.
  • Instruction tuning and RLHF: why models follow instructions, why they sometimes over-refuse, and why they may agree with you too readily.
  • Sampling settings: temperature and top-p, and when to use deterministic settings.
  • Reasoning models: newer models that think before answering need different prompting than older chat models; overly prescriptive step-by-step instructions can sometimes hurt them.

Read the prompting documentation from the major model providers end to end. It is free, current and written by the people who trained the models.

Step 2: Learn the core prompting techniques

Practice each of these until you know when it helps and when it does not:

  1. Clear role and task framing: who the model is acting as, what the task is, who the audience is.
  2. Few-shot examples: showing two to five input/output pairs, and choosing diverse ones.
  3. Structured output: asking for JSON or XML that matches a schema, and validating it.
  4. Decomposition: splitting a hard task into a chain of simpler prompts.
  5. Giving the model room to reason before the final answer, where the model benefits from it.
  6. Grounding: supplying source documents and requiring citations to reduce invented facts.
  7. Constraints and edge cases: telling the model what to do when information is missing.

Step 3: Learn enough code to test at scale

Writing one good prompt is easy. Proving it works across 500 inputs is the job. Learn:

  • Basic Python: loops, functions, reading CSV and JSON files.
  • Calling a model API with an SDK and handling errors and rate limits.
  • Running a prompt over a test set and saving the results.
  • Simple scoring: exact match, regex checks, JSON schema validation.
  • Using a model as a grader with a written rubric, and checking it against your own judgment.

Tools like promptfoo let you define tests in a config file with very little code. Our Python for AI guide covers the subset you need.

Step 4: Practice evaluation as a discipline

Evaluation is the most valuable and least common skill in prompt work. For every task:

  • Write down what a good output is, in a rubric someone else could apply.
  • Collect real or realistic inputs, including hard and weird cases.
  • Score a baseline prompt, then score every change against it.
  • Track results in a table so you can show the progression.
  • Look at failures by hand. Patterns in failures tell you what to change next.

Step 5: Add a second skill

Prompt engineering alone is a thin moat. Pair it with something employers need:

  • Software engineering, which leads naturally to becoming an AI engineer.
  • Deep domain expertise in law, medicine, finance, education or a technical field, which is valuable for evaluation and specialized product work.
  • Writing and content design, which fits conversational design and model behavior roles.
  • Data and analysis, which fits evaluation and quality roles.

Step 6: Build a portfolio with before-and-after results

Show measured improvement, not screenshots of clever outputs. Good portfolio pieces:

Project What it demonstrates
Improve extraction accuracy from messy documents (invoices, contracts, medical notes) from a baseline to a higher score on 200 test cases Systematic testing, structured output
Compare three models on the same task with a rubric, and recommend one on quality, cost and latency Evaluation, judgment
Build a support assistant with a system prompt, retrieval and a red-team test set of tricky inputs Product prompting, safety
Write a prompt library with documented tests for an open-source project Maintainability, collaboration

Publish the prompts, the test set, the scores and a short write-up. Our AI portfolio projects guide has presentation tips.

Step 7: Choose the right entry route

Since titled roles are scarce, use the doors that are open:

  • AI trainer and evaluator work: writing and grading prompts for AI labs is direct prompt practice and pays while you learn. See how to become an AI trainer.
  • Inside your current job: become the person who builds AI workflows for your team, then formalize it.
  • AI engineer roles: if you code, this is where most prompt-heavy jobs are.
  • AI startups: small teams often hire generalists who can own prompts, evaluation and product details. Our guide to getting hired at an AI startup helps.

Expect interviews to include a live prompting exercise: improving a weak prompt, designing an evaluation, or debugging a failure case. Prepare with our LLM interview questions.

A 30-day starter plan

If you are starting from zero, this first month builds the habits that matter:

  1. Week 1: Read two model providers' prompting guides. Run the same 10 prompts on two different models and note how they differ.
  2. Week 2: Pick one task (summarizing support tickets, extracting fields from receipts). Write a 30-case test set with expected outputs.
  3. Week 3: Write a baseline prompt, score it, then make five single changes and score each. Keep a results table.
  4. Week 4: Learn to run the test set with a short Python script or promptfoo, add 20 harder cases, and write up what improved results and what did not.

At the end you have your first portfolio piece and a repeatable method you can apply to any task.

Realistic timeline

Starting point Time to a prompt-heavy role
Writer or domain expert, no code 3 to 6 months to AI trainer or evaluator work; longer for titled roles
Some coding experience 3 to 9 months
Working software engineer 1 to 4 months, often through AI engineer roles

How much do prompt engineers make?

Titled prompt engineer listings in the US currently show pay that varies widely by company and level. Pay depends heavily on whether the role also requires engineering. See the prompt engineer salary post for details, and the prompt engineer vs AI engineer comparison for how the two roles differ in scope and pay.

Mistakes to avoid

  • Collecting "magic prompts." Prompt templates from social media rarely transfer. Testing does.
  • No measurement. A portfolio without numbers looks like opinion.
  • Ignoring model differences. A prompt tuned for one model may behave differently on another; always test on the target model.
  • Over-long prompts. More instructions are not always better. Cut what does not change results.
  • Paying for certificates instead of building. Hiring managers want to see your work.
  • Relying on one title. Search for AI engineer, AI trainer, conversation designer and model behavior roles too.

Next step

Start by picking one real task, writing a 50-case test set and improving a prompt against it this week. When you have two or three of those projects, browse the prompt engineer jobs page, which tracks new roles every week right now, and widen your search to AI engineer openings where most prompt-heavy work lives.

Ready to apply? Browse Prompt Engineer jobs

Frequently asked questions

Can you become a prompt engineer without coding?
You can do prompt-heavy work without coding, especially in AI training, content and domain expert roles where you write and grade prompts. Most job postings titled prompt engineer, however, expect at least basic Python so you can call model APIs, run test sets and automate evaluation. Learning a small amount of code widens your options a lot.
Do you need a degree to be a prompt engineer?
Usually not a specific one. Employers care about demonstrated skill: clear writing, systematic testing and evidence that your prompts improved results. Degrees in linguistics, computer science, philosophy, or a specialist field like law or medicine can help, particularly for roles that need domain judgment, but a strong portfolio carries more weight.
Is prompt engineering a real job?
Yes, though it often appears under other titles. Standalone prompt engineer roles exist at AI labs, AI startups and some enterprises, but much prompt work is now part of AI engineer, AI product, AI trainer and content design jobs. Treat prompt engineering as a core skill that can lead to several job titles rather than one narrow role.
How long does it take to become a prompt engineer?
The basics take weeks. Becoming hireable takes longer, typically three to nine months of building and testing real prompt systems, depending on whether you already code or have deep expertise in a field. Software engineers and subject experts tend to move fastest because they bring a second skill employers want.
Are prompt engineering certifications worth it?
Most certifications in prompt engineering carry little weight with hiring managers, because the skill is easy to demonstrate directly. Free provider documentation and courses teach the material well. Spend the time you would put into a paid certificate on a public project with before-and-after results instead.
Can I become a prompt engineer for free?
Yes. Model providers publish free prompting guides, most offer free or cheap API tiers, and open-weight models can run on a laptop with tools like Ollama. A full portfolio can be built for a few dollars of API usage. Paid courses are optional.

Sign in to AIJobDesk

Save jobs, track applications and get new matches by email. Free.

or

No password. We email you a 6-digit code.