Purpose
- Turn a traced reader journey into one in-site page with curated exits, so the goal is completable without leaving docs.optimism.io except through exits the guide chose on purpose.
- Add the connective decision logic — which option to pick when, and why — that no single component page can own.
- Derive, never duplicate. Each stop links the canonical page and states what to extract from it. Restating a linked page’s steps or facts violates the dual-sourcing ban.
Composition
A solution guide is a composition of the existing taxonomy, not a fifth quadrant: frontmatter carriesdiataxis: how-to (it is goal- and
action-oriented) plus content-type: solution-guide. See
Choose a content type for how
it differs from a plain how-to guide and from a tutorial.
Tone
- Direct and economical. The reader has a goal and a working system; no scene-setting beyond the one-paragraph goal statement.
- Decisions are stated as conditions: “if X, choose Y because W” — never a bare “we recommend Y”.
- Honest about staleness: any exit into hand-maintained or version-pinned material carries an “as of” marker rather than implying freshness.
Required components
Every solution guide must have, in order:- Frontmatter:
title,description,diataxis: how-to,content-type: solution-guide, andlast-reviewed: YYYY-MM-DD(solution guides are curated artifacts and enter the review sweep on merge). - Goal statement: one paragraph naming the outcome, the intended reader, and the components involved.
- Fit test (
## Is this guide for you?): bullet conditions for when to use the guide, plus where to go instead when it doesn’t fit. - Starting state (
## Before you start): the working state and access the guide assumes. A solution guide never contains environment setup — that is tutorial territory; link one if needed. - Sequenced stops (
## Step 1: …,## Step 2: …): numbered##sections, each an imperative action. A stop that derives from another page links it and states exactly what to extract. A stop that is a decision states the decision logic, preferably as an if/choose/because table. - Verification (final step): how the reader confirms the goal is reached.
- Curated exits (
## Curated exits): the deliberate ways out — deeper reference, the normative spec, upstream material — each with a one-line reason and, where the target is version-pinned or hand-maintained, an “as of” marker.
Title grammar
<Imperative verb> <object> in sentence case, naming the reader’s goal:
“Tune batcher costs”, “Run a fault-proof challenger”, “Choose your node
stack”. No “How to” prefix, no gerunds (“Tuning…”), no component-first
titles (“op-batcher cost tuning”).
Template
Copy this template to start a new solution guide:Exemplars
No solution guide exists on the site yet; the first, “Tune batcher costs”, ships with the Use Cases section and must pass review against this spec. Until then, calibrate against:- Configure the batcher — the central stop of the batcher-costs journey: the depth a solution guide links into rather than reproduces.
- Consensus client configuration — in-site precedent for stated decision criteria between options.
- Cloudflare’s documentation content strategy — the published-content-type pattern this contract follows.