StaffCoder
Prompting & Evaluation

Prompt Engineering Practice Exercises

Linux CLI
2 modules · 12 challengesSign up
Modules2 modules · 12 challenges
Module 1 of 2 · 6 challenges

Prompt Engineering

All modules2 modules
Master the craft of prompting: write prompts that hit accuracy targets on test sets — classification, extraction, format control, few-shot, and chain-of-thought.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

6 challenges

Ticket Classification Prompt

Sign up to unlock
50%3 of 6 solvedeasy
About this challenge

Write a prompt that makes the model label support tickets correctly.

Solved in a browser IDE and graded by tests. Sign up to solve

Invoice Field Extraction Prompt

Sign up to unlock
100%2 of 2 solvedeasy
About this challenge

Write a prompt that extracts invoice fields into exact JSON.

Solved in a browser IDE and graded by tests. Sign up to solve

House Style Enforcement Prompt

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Write a prompt that rewrites text into a strict house style.

Solved in a browser IDE and graded by tests. Sign up to solve

Few-Shot Uplift

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Improve a prompt's accuracy by adding well chosen examples.

Solved in a browser IDE and graded by tests. Sign up to solve

Reasoning Versus Direct

Sign up to unlock
100%1 of 1 solvedeasy
About this challenge

Compare a reasoning prompt against a direct one and make the better one pass.

Solved in a browser IDE and graded by tests. Sign up to solve

Triage Desk Prompt

STAR
Solving it completes the module
100%1 of 1 solvedeasy
About this challenge

Write one prompt that categorizes tickets, pulls out their fields, works out refunds and drafts a reply.

Solved in a browser IDE and graded by tests. Sign up to solve

About this path

Learn to design effective LLM prompts and build reliable evaluations to measure, compare, and improve model performance.

This path covers two skills that go together: writing prompts that hit accuracy targets, and building evaluations that measure them. You work in a Linux terminal and should be comfortable running scripts there. No earlier experience with LLMs is needed. The evaluation module covers metrics, model-graded judging and regression checks, and ends with a release gate.

Frequently asked questions

4

What will I practice in this path?

2 modules: Prompt Engineering and Evaluation.

How many prompt engineering exercises are there, and how hard are they?

12 exercises, all easy.

What does this path run on?

Challenges run on Linux CLI.

Do I need to install anything?

No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.