Skip to content

Machine-readable docs and schemas

Besides the HTML pages, every build of this site writes files meant for agents, search crawlers and code generators. They are produced by front/docs-site/scripts/agent-files.mjs after astro build, so they always match the pages next to them.

/llms.txt follows the llms.txt convention: a short description of ulams, then one list per audience (getting started, content creators, learners, administrators, developers, extending, operators, contributing), each entry a link to the Markdown page with its description. The generated reference, the architecture decision records and the component catalogue are listed under “Optional”, because they are large. /llms-full.txt holds all the guides (not the optional sections) as one Markdown document, for a context window rather than a crawler.

An agent that works inside the repository should start with AGENTS.md at its root instead.

Every page is available as Markdown at its own address plus index.md:

https://ulams-dev.github.io/ulams/developers/outgoing-webhooks/ HTML
https://ulams-dev.github.io/ulams/developers/outgoing-webhooks/index.md Markdown

The Markdown starts with the title, the description as a quote and the canonical address. The Starlight components of the source are flattened: an aside becomes a quote with its title in bold, tabs become bold labels, screenshots and live code listings become an italic line (open the HTML page for the image or the listing). Internal links point at the index.md of the target and are absolute, so a page can be read on its own.

/openapi.json is the OpenAPI document the API browser renders. The same document produces the TypeScript SDK and the CLI commands. See OpenAPI and the SDK.

/schemas/index.json lists the schemas with their ids and addresses. A published schema never changes in place: a change that breaks readers gets a new file.

Schema Address under /schemas/ What it validates
Course blueprint v1, v2 and v3 course-blueprint/v1.json, course-blueprint/v2.json, course-blueprint/v3.json One version of a course built by the Course Builder: modules, lessons, elements with stable ids, citations
Course folder files course-folder/1/ulams.schema.json, course.schema.json, module.schema.json, lesson-front-matter.schema.json, quiz.schema.json The YAML files and lesson front matter of a course in Git; point an editor at them with # yaml-language-server: $schema=...
Webhook event webhooks/2026-10-20/event.json The body of every outgoing webhook for endpoints pinned to that api_version
UI catalogue ui-catalogue/builder-v1.json, page-v1.json, learner-layout-v1.json The components a model may use in generated pages and layouts, with the JSON Schema of each component’s props (generative UI)

The sources are the files in the repository (api/packages/course-builder/resources/schemas/, api/packages/webhooks/resources/schemas/, front/cli/schemas/course-folder/, front/ui/catalogue/); tests validate real payloads against them, so a schema that drifts from the code fails CI. Run yarn workspace @ulams/docs agent-files:check to check the conversion and the sources without a built site.