On this book
A sample sveltekitbook that explains sveltekitbook. Twelve pages, one topic each, walked in order. The book you are reading is also the reference you would use to scaffold your own.
Why it exists
Most LLM output is a wall of text. Useful, but shapeless — no edges, no architecture, nowhere for a reader to stand. This format is a wager that the failure is in the container, not the model. Give the same content one topic per page, with a one-sentence gesture and a plain-terms aside, and a reader can hold it. The scaffold is also a prompt: walk an agent through what a *book* needs and the output comes back human-shaped.
The need came out of trying to think clearly about what religion says about gender roles, about politics, and about therapy — subjects that punish flat prose. The first proof was By Degrees, which lays U.S. policy on a −5..+5 spectrum so a reader can find the degree they actually agree with rather than the one they thought they did. The tool came after.
The two packages
sveltekitbook — the runtime. Small on purpose: gestures, inline markdown, the spectrum palette helper, and a Giscus comment component. Imported as a dependency.
create-sveltekitbook — the scaffolder. npm create sveltekitbook@latest my-book walks you through the choices in this book (continuum format,
rooms, title) and writes a complete SvelteKit project to disk.
Try it
npm create sveltekitbook@latest my-book in a terminal.
Pick a continuum, pick rooms, hit enter. Then cd my-book and npm run dev. You will be looking at a working
empty version of this book that you can fill in.
Colophon
sveltekitbook, by Andy Gauger, 2026.
Built with SvelteKit and create-sveltekitbook. Typeset in Fraunces and Inter.