Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Prompt Basics

Write, test and version prompts that state the task, context, examples and output format clearly, return output that code can validate, and improve prompts with measured results.

Intermediate2 roadmaps

4 objectives 6 steps about 105 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Write a prompt with role, task, context, constraints and output format separated by clear delimiters.
  • Apply zero-shot and few-shot prompting, step-by-step reasoning instructions and self-consistency voting, and explain when each helps or hurts.
  • Compare two prompt versions on a fixed set of at least 20 inputs and keep the better one under version control.
  • Request JSON output that matches a schema, using the provider's structured-output mode where available, and validate it in code with a bounded retry before it is used.

Lesson plan

6 steps, about 105 min · 5 of 5 lessons available so far

Practise it

For a ticket-classification task, write a baseline prompt and an improved prompt with examples and a JSON output schema; run both on 20 labeled tickets, validate every output against the schema with at most one retry, report accuracy, schema failures and three failure cases, and commit both versions with the results.

References

Hard prerequisites

None.

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.