# The writing workshop

import atelierState from "../../../../examples/scenario-atelier/atelier.md?raw";
import inkFlat from "../../../../examples/scenario-atelier/boards/ink-flat.svg?url";
import pixelNight from "../../../../examples/scenario-atelier/boards/pixel-night.svg?url";
import softPaint from "../../../../examples/scenario-atelier/boards/soft-paint.svg?url";
import brief from "../../../../examples/scenario-atelier/brief.md?raw";
import cast from "../../../../examples/scenario-atelier/cast.md?raw";

The guided writing workshop walks an author and an agent through nine steps, with a gate per
creative step so nothing is invented without confirmation. The same guide is served to agents as
`recit://guide/atelier` on the [MCP server](/ai/mcp) and exported as the skill `recit-atelier` by
`recit skills export` (see [Skills](/ai/skills)). The example project below is
[`examples/scenario-atelier`](https://github.com/vguerand/recit/tree/main/examples/scenario-atelier),
paused at step 4.

## Where the project stands

`atelier.md` tracks the current step, the locked decisions and the open questions still waiting for
the author. The page reads it with `AtelierStatus` of `@recit/scenario/components`; a question an
agent proposed keeps its **inferred** badge.

<AtelierStatus source={atelierState} />

## The brief

`brief.md` records the spark, the logline, the theme, the stakes, the tone and the rules of the
world validated in the opening steps.

<SourceFile code={brief} title="examples/scenario-atelier/brief.md" />

The opening steps can also be answered as a questionnaire in steps: `questionnaire.story.md` is a
`format: form` story, played by `recit dev questionnaire.story.md` and built to a static page by
`recit build`, in mock mode, so nothing leaves the page. `briefFromAnswers` of `@recit/scenario`
turns its answers into the `brief` entry, a blank answer left blank.

## The cast so far

In `examples/scenario-atelier/cast.md`, Lorem is validated while Dolor keeps its **inferred** badges
on the traits not validated yet.

<BibleGallery source={cast} show={["characters"]} />

## Choose on evidence

At a visual gate, the author compares candidate boards side by side and copies the recorded decision
line into `atelier.md`.

<BoardCompare
  subject="style"
  step={3}
  date="2026-11-24"
  boards={[
    {
      id: "ink-flat",
      label: "A",
      src: inkFlat,
      alt: "A stone arch and a small green sprout holding a warm lantern, drawn in flat colour shapes with thick black outlines",
      note: "Flat colour shapes and thick black outlines.",
    },
    {
      id: "soft-paint",
      label: "B",
      src: softPaint,
      alt: "Soft overlapping translucent ellipses in slate blue, moss green and warm amber light",
      note: "Soft overlapping translucent washes with quiet edges.",
    },
    {
      id: "pixel-night",
      label: "C",
      src: pixelNight,
      alt: "A dark night background where square pixels form a small green figure holding a yellow lantern",
      note: "Square pixels forming a small figure against a dark night sky.",
    },
  ]}
/>
