Skip to content
chiltepin
chiltepin docs

Internals

How the core, renderer, CLI, and Studio work with Chiltepin documents.

Chiltepin stores documents as Markdown files. The core parses and validates their blocks; the renderer turns the result into HTML and SVG.

The packages

PackageResponsibility
chiltepin-coreParsing, block schemas, validation, and edit operations
chiltepin-renderDocument and diagram rendering
chiltepin-studioThe browser editor
chiltepinCLI commands, file access, and process exit codes

The agent skill provides authoring instructions and block-selection guidance. chiltepin block <type> provides field information from the installed schema. Use the same CLI version for schema lookup and validation.

Rendering and editing

The renderer computes diagram layout from block data. Studio runs the parsing, validation, and rendering pipeline in the browser. Local Studio also connects to a server that reads and writes project files; hosted Studio uses browser storage behavior described in the Studio guide.

Website integration

This website uses published npm packages. Its block reference combines the installed skill's descriptions with starter examples from the core package. The build checks block coverage and renders the examples. These checks do not verify every claim in the surrounding prose or the technical facts in a document.

For product contribution details, see the upstream architecture document.