Eleventy plugin that copies raw markdown to output and generates a SQLite full-text search index.
The goal of this project is to make it easier for LLM agents to consume websites generated by 11ty.
index.js— Plugin entry point; all core logic lives herespec.md— Design specificationCHANGELOG.md— Release history.github/workflows/test.yml— CI workflowtest/plugin.test.js— Test suite (node:test, snapshot-based)test/fixtures/— Eleventy configs and source files used by teststest/snapshots/— Expected output snapshots
- ensure that all changes are reflected by spec.md, update that first if needed, but make sure to confirm changes with the developer.
- practice red-green TDD; write tests first, confirm that they demonstrate the desired feature or change, then iterate on code until tests pass
- test, lint, and format code before finishing
Golden rule: always leave the project in a better state than when you started.