How to write clear LLM prompts with goals, constraints, and success criteria

Study Clearline, a conceptual track on writing prompts that models can follow reliably with instructions, constraints, output format, success criteria.

  • Difficulty Intermediate
  • Parts 10
  • Stack instructions, constraints, output format, success criteria

What you are learning

Clearline is a conceptual track on writing prompts that models can follow reliably. The teaching focus is Fundamentals (instructions, constraints, output format, success criteria).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Clearline GitHub repo โ†’

Parts in order

Each chapter below is one checkpoint in this track.