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
| Package | Responsibility |
|---|---|
chiltepin-core | Parsing, block schemas, validation, and edit operations |
chiltepin-render | Document and diagram rendering |
chiltepin-studio | The browser editor |
chiltepin | CLI 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.