Skip to content

Best practices

The prompts of the library put these rules into words. Tick them while you read an agent's answer: a box you cannot tick is a question to send back.

The brief

The brief is the only part of a prompt you write each time. An agent fills a missing field by guessing; the prompts ask it to infer the field from the catalogue and to say so.

The brief

0 / 5 checked

The fact sheet

Phase 1 ends with a table, never with slides. Each fact gets its source page and one of three statuses: observed (measured or seen in the source), declared (stated by someone, not measured) or to prove. A fact to prove stays in the deliverable as an open question.

A fact sheet, as phase 1 hands it over
FactSourceStatus
Lorem ipsum takes 12 s to buildpages/benchmarks.mdobserved
Dolor ships before the spring releasepages/roadmap.mddeclared
Sit amet halves the review timenone yetto prove

The plan

The plan is in the agent's answer, so you can correct it before anything is written. Read its titles alone, in order: they should tell the whole story.

Label

Architecture

Title sentence

One source feeds every format

A label says what kind of slide follows; a title sentence says what the slide proves.

The plan

0 / 6 checked

For the budget, count about 30 seconds to a minute per slide, then check it against the estimate Récit computes from the words of each slide and its notes, at 140 words a minute.

On screen and in the notes

The screen holds what the audience reads; the notes hold what the speaker says. These are the limits the build checks (see the density rules): 40 words, 6 bullets, 4 cards and 3 columns per slide. Set rules: { enforceAntiOverload: true } in the front matter and a slide over a limit fails the build instead of printing a warning.

MarkdownMarkdown
--- title: Lorem ipsum author: Lorem Ipsum date: 2026-11-03 lang: en register: R2 duration: 10 audience: Practitioners of lorem ipsum colorMode: system rules: enforceAntiOverload: true --- --- { "layout": "cover", "id": "cover" } # Lorem ipsum keeps one source for every format :::notes The spoken development, in full sentences. Source: pages/lorem.md R1: the short version for decision makers. :::

Writing

0 / 6 checked

Registers

A register is the level of the audience: how much it already knows and what it needs to decide. You define the scale once for the project and every deck names its own, for example R1 for decision makers, R2 for practitioners and R3 for specialists.

  • The register is in the brief and in the front matter (register: R2). Récit accepts the key without reading it: it is there for the agent, the reviewer and the next rework.
  • It decides the title sentences. For R1 a title states a consequence or a decision; for R3 it can name the mechanism.
  • It decides what is explained. Jargon the register does not share is explained in the notes or removed, never left on screen.
  • A deck has one register. When another audience needs other words, the notes carry the variants as R1:, R2: and R3: lines; when it needs another order or other slides, it is another deck (the adapt prompt).

The R1: lines are a writing convention, not Récit syntax: they stay in the notes as text, for the speaker who knows the room.

Prudence with numbers

  • An estimate is said as one: "about", "estimated at", with its source.
  • No figure is invented to fill a slide. A missing figure is a question in the deliverable.
  • A figure is rounded only as its source rounds it: 12.4 stays 12.4, not "about 12".
  • A translation changes the notation (12,4 in French), never the value.

The proof loop

Phase 4 runs the real commands. Each one checks something the next one does not.

StepCommandIt checks
1recit validate slides.mdthe story against its schema, nothing more; prints ✅ slides.md (markdown) or each diagnostic
2recit build slides.md -o <dir>density (✖ with enforceAntiOverload, else ⚠), alt text, Mermaid titles; exits 1 on an ✖
3recit dev slides.md --port 3100serves the deck with hot reload at http://localhost:3100, the HUD shown on every slide
4Playwright, http://localhost:3100/?slide=Nevery slide at 1280×720, light then dark, and axe's heading-order rule; N starts at 1
5http://localhost:3100/?mode=presenterthe presenter console: the notes of each slide and the total estimate

recit build is strict by default: an error makes it exit with 1. --no-strict exists to build anyway; a prompt never uses it.

Two checks are not where you would look for them. The build finds a heading that skips a level but does not print it, so the prompts ask for an axe heading-order pass on the captures. In recit dev the HUD with the speaking time of the slide is on from the start, and H hides it. S opens the presenter console in a new window, which a script drives badly: ?mode=presenter opens it in the page itself. T switches light and dark when the capture script cannot set the browser's color scheme.

Before handing over

0 / 8 checked