SkillNavora
AI Product Management · GenAI Launchpad · Skill 1 of 7

Prompt & Context Engineering

Make every AI request precise and evidence-based: clear instructions, the right context, structured outputs, task decomposition, long-context compression, reading documents and scans, citing sources and organising knowledge.

Free PDF · 13 classes · basic to advanced

Prompt & Context Engineering

Make every AI request precise and evidence-based: clear instructions, the right context, structured outputs, task decomposition, long-context compression, reading documents and scans, citing sources and organising knowledge.

Download the PDFAsk the AI TutorPractise in the AI PM Toolkit

In one line

Prompt engineering is how you ask; context engineering is what the AI gets to see when it answers: your instructions, examples, documents, data, memory and tools. Getting both right is the first and most useful AI skill.

The 13 classes (click a class to read it in full)

Basic · Class 1

From prompts to context

See why the information you give the AI matters more than clever wording.

  • Context (documents, data, examples) usually matters more than wording.
  • Goal, audience, context, constraints, format, quality bar.
  • Ask for citations and 'not in data' when unsure.
Open the full class →
Basic · Class 2

Prompt patterns that work

Use proven patterns: examples, step-by-step, roles, critique and iteration.

  • Show examples of what good looks like.
  • Separate instructions from data with clear delimiters.
  • Version and test prompts like product features.
Open the full class →
Intermediate · Class 3

Structured outputs: JSON, tables and fixed sections

Get predictable output other tools and people can use directly.

  • Structure makes outputs reusable and testable.
  • Give a schema plus an example.
  • Validate and spot-check structured output.
Open the full class →
Intermediate · Class 4

Task decomposition and chaining

Break big jobs into steps the AI can do reliably.

  • Big tasks → small steps with checkable outputs.
  • Pass only needed context between steps.
  • Insert review steps before sharing.
Open the full class →
Intermediate · Class 5

System prompts and standing instructions

Write the instructions an assistant or AI feature follows on every request, so it behaves the same way every time.

  • The system prompt is the context that never changes: role, inputs, rules, format, unknowns, examples.
  • Give reasons and a priority order for rules.
  • Version the prompt and re-test after every change.
Open the full class →
Intermediate · Class 6

Retrieval: getting the right documents into context

Understand how AI features find and insert the right passages (RAG), and what a PM decides about it.

  • RAG = split, index, search, rank, generate with citations.
  • PMs own scope, freshness, permissions and the 'not found' behaviour.
  • Test retrieval and answer quality separately.
Open the full class →
Intermediate · Class 7

Long context: compression, summaries and memory

Keep long projects accurate when chats and documents get large.

  • Long chats drift; summarise and restart.
  • Pin a project brief; retrieve documents instead of pasting.
  • Compression must keep numbers, names and decisions exact.
Open the full class →
Intermediate · Class 8

Documents, PDFs, scans and OCR

Get reliable information out of PDFs, slides, spreadsheets and images.

  • AI reads PDFs, slides and images; tables need checking.
  • Ask for 'UNREADABLE' instead of guesses.
  • Cross-check totals and spot-check samples.
Open the full class →
Advanced · Class 9

Source attribution, fact-checking and knowledge graphs

Make AI outputs traceable to evidence and organise knowledge by relationships.

  • Every important claim should point to evidence.
  • Use SUPPORTED / NOT FOUND / CONTRADICTED checks.
  • Knowledge graphs capture relationships that plain search misses.
Open the full class →
Advanced · Class 10

The context budget: tokens, order and what to leave out

Plan what goes into a limited context window, in what order, and what to drop.

  • Context is a budget: quality, speed and cost suffer as it fills.
  • Rules first, sources next, the question last; reserve space for the answer.
  • Trim tool results, old turns and duplicates.
Open the full class →
Advanced · Class 11

Prompt injection and context security

Stop untrusted text in the context from taking control of your AI, and keep private data out of places it should not go.

  • Any text the AI reads can carry instructions.
  • Layer defences: mark data, limit tools, require approvals, check outputs, test.
  • Keep secrets and unneeded personal data out of the context.
Open the full class →
Advanced · Class 12

Context engineering for products and agents

Design what your AI feature or agent sees, and test it.

  • Design every layer the model sees.
  • Less but relevant context beats more context.
  • Measure context changes with evals.
Open the full class →
Advanced · Class 13

Capstone: write a context spec for a real feature

Produce the one-page document that defines what an AI feature sees, and the tests that prove it works.

  • A context spec defines everything an AI feature sees, in one page.
  • It covers prompt, sources, retrieval, memory, tools, budget, safety and tests.
  • Every rule needs at least one test case.
Open the full class →

Further reading and tools

Anthropic: prompt engineering overview ↗Anthropic: effective context engineering for AI agents ↗OpenAI: structured outputs ↗Google: prompting guide (Gemini) ↗Prompting Guide ↗Neo4j: what is a knowledge graph ↗

Interview questions

Prompt vs context engineering?

Prompting is the wording of the request; context engineering is designing all information the model sees: instructions, documents, data, memory, tools and examples.

How do you reduce hallucinations?

Provide sources, restrict answers to them, ask for citations and 'not in data', use retrieval, and verify with fact-check evals.

Why use structured output?

It makes outputs predictable, machine-readable, comparable and easy to grade; useful for dashboards, automation and evals.

What is task decomposition?

Breaking a complex task into smaller steps with clear inputs and outputs, often chained, with review steps.

How do you handle very long chats?

Summarise decisions and facts, start fresh with the summary, pin a project brief and retrieve documents instead of pasting everything.

How do you extract data reliably from PDFs or scans?

Ask for a fixed schema, 'UNREADABLE' instead of guessing, arithmetic cross-checks, and measure accuracy on a sample.

What is a knowledge graph?

A store of entities and their relationships that answers connected questions plain keyword or vector search may miss.

How do you decide how much context to give?

Test variants against an eval set and choose the smallest context that meets quality, cost and latency bars.

All 14 questions with answers, templates and the cheat sheet are in the PDF.

Refer & earn