Using with AI
effect-cqrs is young and built on Effect 4, so a model’s training data knows little about either. Give it the documentation instead.
A guide for coding agents
Section titled “A guide for coding agents”The package ships LLMS.md, a short guide to the modules, the patterns to follow, the
mistakes to avoid and how to test. Point your agent at it from AGENTS.md or CLAUDE.md:
Before writing code that uses effect-cqrs, read node_modules/effect-cqrs/LLMS.md.It is also on GitHub. Effect has its own guide for the code around it.
The documentation as text
Section titled “The documentation as text”The site follows the llms.txt convention:
| File | What it holds |
|---|---|
llms.txt |
An index of the files below |
llms-full.txt |
Every page, the API reference included, as one Markdown file |
llms-small.txt |
The guides without asides or the API reference, for smaller context windows |
Each page is also served as Markdown: replace the trailing slash of its URL with .md, as
in guides/aggregates.md. The button under each
page title copies that Markdown, and its menu opens the page in Claude or ChatGPT.