Dewey keeps your Markdown docs, AGENTS.md and llms.txt in step with the code, and builds a static docs site from the same files. People get the pages; agents get the front door, the maps and the index.
Example session, after the drafts were finished and reviewed.
7commands
4kinds of doc
150line front-door budget
6site skins
Sequence
One drawer per project. Every card filed.
From an empty folder to docs that pass check. Dewey writes its own files and the marked regions of AGENTS.md and llms.txt; everything else is left alone.
Fig. 1 · Card catalogue.dewey/project.json
Initialise
Front door, skills, settings, a draft guide and a draft map per source area.
dewey init
Author
Guides and references for people; maps of the source for agents.
*.md + *.agent.md
Review
Record that each map was checked against the code.
dewey review
Build
Static site, .md copies, llms.txt and llms-full.txt from the same Markdown.
dewey build
Check
Drafts, coverage, stale reviews, broken references and stale outputs.
dewey check
Document
One page, two readers.
Guides explain tasks to people and agents. Maps tell agents what the source does and declare the files they cover, so check knows when a map needs another look.
docs / quickstart
Quickstart
Install the CLI, set the project up, finish the drafts, then build and check.
Install Dewey as a dev dependency.
Initialise with the project’s purpose and hard rules.
guide: on the site · map: covers src/*, not publishedOpen page
Output
Files agents read first.
One build writes the site and the agent files from the same Markdown. Outputs are tracked by hash, and the build stops rather than overwrite a hand edit.
ReviewRecord that a map was checked against the code. Check asks again when that code changes. dewey reviewFind the docsList the docs that cover a file before you change it. dewey whichRebuildOutputs are tracked by hash. A hand edit stops the build instead of being overwritten. dewey buildStyle the sitePick a skin, theme, accent, fonts and header links, or embed the components in React. .dewey/project.json
Docs that keep up with the code.
Install, initialise, build. Then let check tell you what is out of date.