Normalize raw data into context your AI agents can use.
Normalize is for a directory of raw files and the Markdown files made from them.
your-data/
├── raw/ the files as you got them, of any type
└── normalized/ Markdown files, each made from one or more raw files
It has two parts:
- How to Normalize a Raw File tells an agent how to write a file in
normalized/. bunx @sshkeda/normalizechecks the directory. It changes nothing in it.
The check reports:
- a file under
raw/that no file innormalized/lists as a source - a file in
normalized/whose front matter can't be read, and why - a source that isn't a file in
raw/, has no sha256, or has one that doesn't match the file
Normalize needs Bun 1.4.4 or newer. Run the check from the directory that holds raw/ and normalized/.
bunx @sshkeda/normalizeTo run the checks and tests, run bun scripts/ci.ts.