Awesome Reviewers

Reviewer · Documentation

Scope version-specific documentation precisely

When documenting a feature that differs by stack version, deployment type (self-managed vs. serverless), or release stage, avoid embedding raw version numbers or platform assumptions in prose that every reader sees regardless of their context. Use structured `applies_to` tags (or an `applies-switch` block) to scope each conditional sentence to exactly the...

Instruction

When documenting a feature that differs by stack version, deployment type (self-managed vs. serverless), or release stage, avoid embedding raw version numbers or platform assumptions in prose that every reader sees regardless of their context. Use structured applies_to tags (or an applies-switch block) to scope each conditional sentence to exactly the versions/platforms it applies to, instead of writing a long untagged sentence and hoping readers skip the parts that don’t apply to them. For example, prefer:

:   Elastic's managed OAuth flow for Gmail. This is the recommended option. ...

    {applies_to}`stack: experimental =9.5` To use it on self-managed , set `xpack.actions.auth.ears.enableExperimental` to `true`.

over a single paragraph that mixes the 9.5-only requirement with general-purpose text.

Keep each requirement, credential, or setup step in one canonical location (e.g., a “Requirements” or “Get API credentials” section) and link to it from elsewhere rather than repeating or paraphrasing it — duplicated or three-times-repeated information drifts out of sync and can contradict itself (e.g., listing a credential as both a “prerequisite” and a later “setup step”). When linking to that canonical section, name the specific action in the link text (e.g., “configure the Elastic-managed OAuth service”) instead of vague phrases like “needs extra settings.”

Finally, describe what the reader must do and what the feature does, not transient UI state the reader can already see on screen (badge placement, option ordering, dropdown position) — that text goes stale as the UI changes and adds no actionable information. Also avoid introducing non-standard UI terminology (like “picker”) that isn’t used elsewhere in the product or docs.