# Docs style guide

URL: https://wolfoverride.mrdemonwolf.dev/docs/development/style-guide/

How to write a page on the WOLF OVERRIDE guide so anyone can scan it in 10 seconds: the 15 rules, the blocks to use and a page to copy.

**What this page is for:** how to write a page on this site so anyone can scan it in 10 seconds.

- **Who it is for:** anyone who adds or changes a page in `apps/docs`, people and coding agents alike.
- **Repository rules** are in the [project instructions](https://github.com/MrDemonWolf/wolf-override/blob/main/AGENTS.md).

## The 15 rules

| # | Rule | In one line |
| --- | --- | --- |
| 1 | Start with one line | `**What this page is for:** ...` under the title. One sentence. |
| 2 | One idea per bullet | Under about 25 words. |
| 3 | Numbered steps | One action per step. |
| 4 | Short sections | A heading every 3 to 6 bullets. |
| 5 | Plain words | Define a term the first time, or link the glossary. |
| 6 | Tables for comparisons | One short line per cell. |
| 7 | Callouts for warnings and status | Warnings stand out; status stays calm. |
| 8 | Details for depth | Long notes fold away. |
| 9 | One home per fact | Link to it; never copy it. |
| 10 | Be honest about testing | Say how it was checked. |
| 11 | Spoiler-free outside the walkthrough | Walkthrough pages open with a spoiler callout. |
| 12 | Story wording is Nathanial's | Do not reword story text; ask. |
| 13 | No walls | No paragraph over about 60 words. |
| 14 | Changelog lines | Every change adds its lines under Next version. |
| 15 | Tailwind and Fumadocs only | No new bespoke CSS. |

Each rule is explained below.

## Open the page

- **Rule 1.** Put one line under the title: `**What this page is for:** ...`. A TL;DR line works too.
- **Keep it to one sentence.** The reader decides from it whether to stay.
- **Fill in the front matter** `description` too. It feeds search results and link previews.
- **Make the description 80 to 160 characters,** about 110 to 155 is best. The build fails outside that range, because search results cut it off.
- **Short menu title?** Add `seoTitle` with the words people search for, up to 44 characters, such as `"Controls: keyboard, controller and touch"`. Only search results and link previews show it.
- **Quote a front matter value** that contains a colon and a space, or the page will not build.

## Write bullets, steps and sections

- **Rule 2: one idea per bullet.** If a bullet needs "and also", make two bullets.
- **Aim for under 25 words** per bullet.
- **Start a bullet with its point in bold** when a list has several kinds of thing, as this list does.
- **Rule 3: numbered steps** for anything the reader does, one action per step. Write them as a Markdown numbered list (`1.`, `2.`).
- **Rule 4: short sections.** Add a heading every 3 to 6 bullets.
- **Headings say what the reader gets,** such as "Open a test build on macOS", not a topic word such as "macOS".

## Use plain words

- **Rule 5.** Say it the way you would to a friend who has never seen the game.
- **Define a game or tech term** the first time it appears on the page.
- **Or link the glossary:** the FAQ explains the game's own words.
- **Use the on-screen name** of a button or setting, in bold capitals, as the game shows it: **TEXT SIZE**, **RETRY**.

## Keep the guide current

- Link readers to the [project guide](/docs/) for current status.
- Put development history in the [changelog](/docs/changelog/).
- Keep public copy spoiler-free. Nathanial approves story wording.
- Use the existing Tailwind tokens and Fumadocs components.
- Label historical examples with their revision.
- Distinguish headless checks, rendered captures, hands-on play and device tests.

## A page to copy

```mdx
---
title: Open a test build
description: One sentence for search results and link previews, 80 to 160 characters long.
---

**What this page is for:** one sentence.

## Do the first thing

1. One action.
2. The next action.

## Know the limits

- **One idea** per bullet.
- **Another idea** per bullet.

<Callout type="warn" title="Careful">
  One or two short sentences.
</Callout>
```

## Before you open the pull request

1. Read the page at phone width.
2. Check it against the [15 rules](#the-15-rules).
3. Run the docs checks on Testing and CI.
4. Add your lines under Next version on the [changelog](/docs/changelog/).