Tutorial

A guided lesson in which the learner does something real and succeeds. It’s a specialization of task.

When to use it

Write a tutorial for a reader who is new to the product, or to a part of it, and learns best by doing. The writer takes responsibility for the learner’s success: if the learner follows the steps, they finish with something that works.

A tutorial differs from a task in who it serves. A task serves a reader who already knows what they want and takes the shortest path. A tutorial serves a learner, chooses the path for them, and shows them at every step that it worked.

Required parts

Prerequisites and next steps are optional. Most tutorials have both.

PartElementWhat it holds
Title<title>What the learner will build, starting with a verb.
Purpose<shortdesc>One sentence on what the learner will build and learn.
Outcome<outcome>What the learner will have at the end, concrete enough that they can tell when they’re done, and how long it takes.
Steps<lessonSteps>The numbered steps, one path, no choices.
Action<cmd>In each step, the one action the learner takes.
Visible result<visibleResult>In each step, what the learner sees when the step has worked.
What you built<whatYouBuilt>A close that names what the learner made and what it showed them.

Rules

Each rule links to the style guide rule it restates, which gives the rule’s tier, check type, and examples.

  • Build something real. The result should be useful, or the first version of something useful, not a toy. (type-tut-real-result)
  • Make every step produce a visible result, and say what it is. (type-tut-visible-result)
  • Keep explanation to a sentence at most, and link to the concept for the rest. The learner is here to do, not to read. (type-tut-minimal-explanation)
  • Choose the path. Offer no options or alternatives; mention them in the next steps instead. (type-tut-one-path)
  • Test the tutorial from a clean start, in the product as it ships, before you publish it and after every release. A tutorial that fails is worse than none. (type-tut-tested)
  • End by naming what the learner built. (type-tut-name-what-you-built)

The grammar requires the outcome, at least one step, a visible result in every step, and the closing summary.

Example

Set up a room and take a booking takes a new branch administrator from an empty room record to a tested booking, in a fictional room-booking app.