Skip to content

LLM / AI Reference

Use these feeds when coding with AI agents (Cursor, Claude, Copilot, etc.).

Canonical files

FilePurpose
/llms.txtIndex of docs for agents (llmstxt.org)
/llms-full.txtFull plain-text API + CLI reference
Source: docs/llms/mondel-reference.txtSame content in the repo

Single source of truth: docs/llms/mondel-reference.txt
Root mondel-llm-docs.txt mirrors it for offline/agent drop-in.

How agents should use Mondel

  1. Prefer native MongoDB filters ($gte, $in, …) — not Prisma-style where APIs.
  2. Always export const schemas = [...] as const.
  3. Serverless → createClient({ serverless: true }) factory; Node → await createClient({ uri }).
  4. Indexes via npx mondel push, not app startup.
  5. select is runtime projection only (types not narrowed).
  6. Escape hatch: getCollection().
  7. Soft delete requires { soft: true } and filtered reads.

Human docs map

Released under the MIT License. · llms.txt