Doxabot

Doxabot instructions

Guide Doxabot with custom instructions for tone, scope, and structure across generations

What Doxabot instructions do

Doxabot reads your repository and writes the pages of your docs site. Instructions are the notes we leave for it about how those pages should sound, what they should cover, and how they should be organized. With instructions saved, every generation follows them, from the first read of the code to the last page.

We find the instructions page in the dashboard under Doxabot, then Instructions. Each saved change creates a new numbered version. The header of the page shows the current version and reminds us that it is used by the next generation.

Sections on the instructions page

The editor is split into sections. We fill in the ones that matter for our project and leave the rest empty.

SectionWhat we write there
Readers and voiceWho the docs are for and the tone to use, such as friendly and direct or formal.
TerminologyPreferred names for products, features, and concepts, so Doxabot uses them the same way on every page.
PagesWhich topics to cover, which to leave out, and how the pages should be grouped.
Writing rulesStyle rules for how pages are written, such as sentence length or how to address the reader.
Project contextBackground about the project that helps Doxabot explain it correctly.

A side panel shows a prompt preview, which is the text Doxabot receives from our instructions, along with the limits for each field and the version history.

Write and save instructions

We need to be a project owner or admin to change instructions. Other members can read the page, but the editor is disabled for them.

1

Open the instructions editor

Go to the project in the dashboard, open Doxabot, then Instructions.

2

Fill in the sections

Add instructions in one or more sections. Keep each rule specific, for example: "Address the reader as we. Use short sentences. Do not document internal test tooling."

3

Check the prompt preview

The preview on the side shows how our instructions read to Doxabot. Remove anything that conflicts with another line.

4

Save the new version

Select Save. The version number goes up by one, and the next generation uses the new version. To drop unsaved edits, use Discard instead.

Unsaved changes:

We cannot restore an older version while the editor has unsaved changes. Save or discard the edits first.

What a saved change affects

A saved change applies to the next generation. It does not change the published site by itself, and it does not rewrite pages that are already live.

  • A new generation. Doxabot runs the analysis again under the new instructions and builds a new structure. The structure is anchored to the published one, so pages keep their place where the instructions allow it.

  • Pages that Doxabot can rewrite. Each page is edited from its published text using the new instructions. Pages are written fresh when the planning or writing rules have changed as well.

  • Pages that a person locked. A locked page stays as we left it and does not catch up with new instructions. The generation review flags it so we can decide what to do.

  • Pages that fall behind. If a page was kept after an earlier failure, a later generation with the same instructions tries it again. After three failed attempts under the same instructions, Doxabot stops retrying that page and adds a notice to the run log and the review.

A generation can also remove or merge pages that the instructions rule out, such as pages outside the scope we set. Those removals appear in the generation reviews before they go live.

Restore an earlier version

The history card lists each saved version. To go back, we choose a version and restore it. Restoring makes that version the current one, so the next generation uses its instructions. We can restore only when there are no unsaved changes.

Check the result

After saving, we start a generation and review what Doxabot wrote. The Generations page shows progress and opens the preview. If a page does not match our instructions, we can edit it in the content editor or adjust the instructions and generate again.