Write with an agent
A deck is only as good as the prompt that asks for it
Ask an agent for a deck about a subject and it writes slides at once: label titles, guessed figures, no proof. The prompts of this section hold it back until it knows its facts and its plan, then make it prove the result with the real Récit commands.
Phase 1: Context
Phase 2: Plan
Phase 3: Write
Phase 4: Prove
Why a prompt in phases
A deck is a chain of decisions: what the audience must leave with, which facts carry it, in what order, at what density. An agent that starts with the slides makes all of them at once and silently. A prompt in phases makes it take them one at a time, each with an output you can check before the next one starts.
Phase 1: Context
Read only: nothing is written.
A fact sheet, every fact with its source and status.
Phase 2: Plan
In the answer, not in a file.
One message, title sentences, layouts, a time budget.
Phase 3: Write
Markdown, one id per slide, 40 words on screen.
The deck, its notes and a source for every figure.
Phase 4: Prove
Loop until a pass has zero defects.
validate, build, a capture of every slide, the duration.
A defect sends the deck back to Write, and the proof starts again.
Every prompt of the library follows this shape, even when it covers only part of it: reviewing a deck is phase 4 alone, adding notes is phases 1 to 4 on the notes only.
The principles
- One message per deck. The plan opens with one sentence the audience must leave with. A slide that does not serve it has no role and is cut.
- A fact sheet with sources. Every figure, date, verdict or name is listed with the page it comes from and its status: observed, declared or to prove. A fact without a source never reaches the screen.
- The plan before the slides. Title sentences, layouts, facts and notes, slide by slide, and a time budget, in the agent's answer, not in a file. You correct a plan in a minute; a deck takes an hour.
- Proof with the real commands.
recit validate,recit buildwithrules:, then{ enforceAntiOverload: true } recit devand a capture of every slide, light and dark. The best practices list each command and what it checks. - A loop until zero defects. A defect found in phase 4 sends the deck back to phase 3, and the whole proof runs again. The agent stops on a clean pass, not on a first draft.
- Nothing committed. The agent hands over the working tree and a report: plan, fact sheet, command output, estimated duration, corrections, open questions. You review, you commit.
The method, as a deck
The deck below presents the method, and it was written by following it: a brief, a fact sheet whose
sources are the pages of this section, a plan of title sentences, then recit validate and
recit build until both were silent. Its first build failed on a slide of 57 words, then of 41;
every slide now holds 40 words or fewer. A later review found headings that skipped a level, a
defect the build does not print: the deck now opens each slide on its title and goes no deeper.
Any language, any agent
The prompts are written in English and work in any language: write the brief in yours, ask for the
deck in lang: fr or lang: de, and the agent answers in it. The
reference prompt is also given
in French, the language the method was first written in.
They do not depend on one agent. Any agent that can read files, run commands and drive a browser
with Playwright can follow them; one connected to the
Récit MCP server also reads the deck guide recit://
and validates without a shell.
Art direction of this section
The pages of this section follow the rest of the site: the tokens of @recit/theme, its neutral
surfaces and its ink, and one colour, the colour of the site.
- A prompt is a sheet on the page, set in the site's monospace: the text an agent will read.
- The four phases are numbered: context, plan, writing, proof. A number and a name tell them apart, in the colour of the site.
- The motif: four marks on a rail, the last one bracketed back to the third. It opens this page, and the phase headings inside the prompts take the colour of the site.
- Blanks to fill. A placeholder such as
<AUDIENCE>is a tinted field with a dashed underline, listed above the prompt and highlighted in it. The copy button copies the file as it is, blanks included: you fill them in where you paste it. - The red pen. A wrong example is struck through in the danger colour, its correction set beside it in the success colour.
The components are AgentHero, PhaseTimeline, PromptCard, Checklist, DoDont and
FactSheet, in @recit/; their stories show each state in light and dark.