拆解 Convex 的 llms.txt 与 Agent 面向文档体系:来自 XERJ 研究档案的 45 KB 索引、2.5 MB 全量文档与八条可借鉴设计
拆解 Convex 的 llms.txt 与 Agent 面向文档体系:来自 XERJ 研究档案的 45 KB 索引、2.5 MB 全量文档与八条可借鉴设计
本篇基于 XERJ 仓库中 2026-09 的 llms.txt 行业研究档案,完整解读 Convex 项目分析页:它是后端/响应式数据库平台 Convex 面向 AI Agent 的全部文档面(两个 llms.txt、llms-full.txt、七个 Agent 专题页与三个 404 探测点)的逐字(verbatim)拆解记录。读完后你能掌握:一个成熟商业项目如何组织它的 Agent 安装路径、MCP 配置、规则文件与反馈入口;它相对 XERJ 各自强在哪;以及研究者为 XERJ 提炼出的八条可直接落地的改进思路——其中多条能直接对照本仓库的 landing/llms.txt 与 xerj-mcp 源码 验证。
一、这份研究是什么,数据能信到什么程度
Convex 分析页是「46 个项目 Agent 面向文件横评」中的单项目档案之一,属于研究目录 docs/research/llms-txt-2026-09/。按 README 说明的口径:
- 采集方式:2026-09-18 由「一个 agent 抓取下列所有实时 URL」完成一遍(one agent pass)。页面上所有引文都是 agent 原样返回的 verbatim 内容,并未全部被人工二次抓取复核。
- 交叉验证:维护者另用
curl抽查了 14 条声明,13 条确认、1 条因检查脚本自身搜索模式有误而不定论;五个文件大小(Ollama 1,674 B / 29 行、DuckDB 3,371 / 37、turbopuffer 4,012 / 59、AI SDK 2,217 / 46、XERJ 40,064 / 234)复测到字节级吻合。 - 锚定效应提示:每个拆解 agent 都带着 XERJ 已知短板(无 shell 场景失败、lexical-vs-neural 误读、"required … under Optional" 矛盾)作为对照基准被下达任务,因此「所有 46 份拆解都提到同一缺陷」是任务书回音而非独立确认;独立可信的是各 agent 在其他项目文件里实际找到的引文、大小、代码块与 URL。
- 时效性:研究原文提醒「web 会变,引用任何数字前先重测」。本页结论应视为 2026-09-18 快照,且引文中的第三方文档摘录属于「为对比与评论而引用的短节选」。
Convex 在分类表中被标注为 Category: backend platform / reactive DB。在研究总表 comparison-table.md 中它占一行(按 llms.txt 字节数排序):
| 指标 | Convex |
|---|---|
| llms.txt 大小 | 45,599 bytes |
| llms.txt 行数 | 498 |
| llms-full.txt 大小 | 2,554,656 bytes |
| llms.txt 内含安装命令 | 无(absent) |
| 含面向 agent 的文本 | 有 |
| 一键链接数 | 3 |
| 含 MCP 配置片段 | 有 |
| 含反馈/贡献请求 | 有 |
二、两个 llms.txt:docs 域是纯索引,www 域是规则书
Convex 实际暴露了两个 llms.txt,二者性质完全不同。
2.1 docs.convex.dev/llms.txt —— 45,599 字节的自动索引
-
URL:
https://docs.convex.dev/llms.txt,HTTP 200;大小 45599 bytes、498 行。 -
安装位置:作为散文完全缺席。它是一个纯自动生成的 Docusaurus 文档索引——每页一个 bullet,格式为
Title: description。全文没有任何安装命令、没有 prompt、没有 MCP 片段。 -
离「安装」最近的内容只是几条索引 bullet:
- 第 14 行
## quickstart(16 个按框架划分的 quickstart 链接); - 第 119–126 行
## ai下的指向:/ai/agent-skills.md、/ai/convex-mcp-server.md、/ai/convex-plugins.md、/ai/using-claude-code.md、/ai/using-codex.md、/ai/using-cursor.md; - 第 216 行
npx convex mcp: Manage the Model Context Protocol server for Convex [BETA]。
- 第 14 行
-
章节顺序(H1 为
# Convex Documentation,外加一条指向 www 版 llms.txt 的 blockquote):## understanding → quickstart → functions → database → realtime → auth → scheduling → file-storage → search → components → ai → ai-gateway → agents → testing → production → self-hosting → cli → client → dashboard → error → eslint → tutorial → api → generated-api → http-api → chef → deployment-api → deployment-platform-api → management-api → platform-apis → public-deployment-api → team-management -
语气:中立、纯描述性索引,对 agent 不作任何要求。
2.2 www.convex.dev/llms.txt —— 34,430 字节的「产品摘要 + 规则书」
第二个文件 https://www.convex.dev/llms.txt(HTTP 200,34430 bytes、749 行)结构不同:
- 第 1–19 行:产品摘要;
## Docs索引(Get started / Platform / Understand Convex / API Reference)、## Stack;- 从第 78 行开始是
# Guidelines for writing Convex code——一份写给 agent 的规则文件(ALWAYS/NEVER 句式),随后是# Examples:,内含一个完整的 chat-app 任务→分析→实现的工作示例。 - 它同样没有任何安装命令,全文甚至没有出现 "install" 一词。
该文件中写给 agent 的规则块(verbatim):
# Guidelines for writing Convex code
## Function guidelines
### New function syntax
- ALWAYS use the new function syntax for Convex functions. For example:
```typescript
import { query } from "./_generated/server";
import { v } from "convex/values";
export const f = query({
args: {},
returns: v.null(),
handler: async (ctx, args) => {
// Function body
},
});
```
同时,Convex 的每一个 .md 页面(以及 llms-full.txt 内每个页面)都携带同一条 banner(verbatim):
For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.
这对应研究总报告中记录的「24/46 个项目在每个 .md 页面顶部放索引回指」的模式——落地在任何一页的 agent 都能找到地图。研究记录的语气结论:docs 域文件「中立、纯描述、不要求 agent 做任何事」;www 域文件「中立产品摘要 + 祈使式规则书——要求只关于怎么写代码,从不涉及安装、上报或贡献」;而 /ai/* 各页语气友好、非营销("works great with Convex out of the box"),安装都是一条命令,反馈被措辞为 "You can help:"——是邀请,不是义务。
三、全量安装命令与 Agent 物料清单(verbatim)
3.1 找到的安装命令
两个 llms.txt 中都没有安装命令;以下命令来自各被链接的页面(原始记录保留在此):
(none in either llms.txt)
From linked pages: /plugin install convex@claude-plugins-official
codex plugin add convex@openai-curated
codex plugin marketplace add get-convex/convex-codex-plugin
codex plugin add convex@convex-codex-plugin
cd ~/.cursor/plugins && git clone https://github.com/get-convex/convex-agent-plugins convex # then restart Cursor
/add-plugin convex (Cursor agent conversation)
npx skills add get-convex/agent-skills
npx skills add get-convex/agent-skills --all
npx -y convex@latest mcp start
npm create convex@latest my-app
npx convex ai-files install
npx convex dev --once
claude "build me a todo app with Convex" --permission-mode auto
codex "build me a todo app with Convex"
注意其组织方式:每个 agent 一条命令,且用该 agent 自己的习语(Claude Code 用 /plugin install,Codex 用 codex plugin add,Cursor 用 /add-plugin convex),而不是统一塞进一个 shell 安装脚本。
3.2 MCP 配置片段(三种原生格式,verbatim)
来自 https://docs.convex.dev/ai/convex-mcp-server.md:
Add the following command to your MCP servers configuration:
```
npx -y convex@latest mcp start
```
来自 https://docs.convex.dev/ai/using-codex.md(~/.codex/config.toml,TOML 格式):
[mcp_servers.convex]
command = "npx"
args = ["-y", "convex@latest", "mcp", "start"]
来自 https://docs.convex.dev/ai/using-cursor.md(mcp.json,JSON 格式):
{
"mcpServers": {
"convex": {
"command": "npx",
"args": ["-y", "convex@latest", "mcp", "start"]
}
}
}
研究指出这正对着 XERJ 的一个实测缺陷:22 次首跑 agent 研究中,无 shell 人设在每个模型档位都失败,而 XERJ 当时的 llms.txt 里没有任何 MCP 配置片段(21/46 个项目在 llms.txt 内联了片段)。
3.3 反馈/贡献请求(verbatim)
来自 https://docs.convex.dev/ai/convex-plugins.md 的 "Giving feedback" 一节:
## Giving feedback
We're constantly working on improving the plugins with rigorous evals and real-world reports. You can help:
* **Report a bug or request a skill** by opening an issue on the plugin repo for your agent:
Claude Code (get-convex/convex-backend-skill/issues) · Codex (get-convex/convex-codex-plugin/issues) ·
Cursor (get-convex/convex-agent-plugins/issues).
* **Improve the AI rules**: if the agent writes non-idiomatic Convex, contribute a case to the
convex-evals repo so we can measure and fix it.
* **Ask the community** in the Convex Discord.
(原始引文含 GitHub/Discord 链接,此处以仓库名缩写表示。)/ai/using-codex.md 与 /ai/using-cursor.md 把它压缩为一行复述:"We're constantly working on improving the quality of these rules for Convex by using rigorous evals. You can help by contributing to our evals repo."。而 llms.txt 本身没有任何反馈请求,唯一相关 bullet 在第 167 行:- Contact Us: Get support, provide feedback, stay updated with Convex releases, and report security vulnerabilities through our community channels.
关键设计点:反馈请求不在索引里,而在 agent 装完插件后紧接着会读到的那页文档的独立标题下,且全程无 "required"、"owed" 类义务措辞。
3.4 最佳「安装 + 首用」段落(verbatim)
来自 https://docs.convex.dev/ai/using-claude-code.md:
To install the plugin, run the following command in Claude Code:
```
/plugin install convex@claude-plugins-official
```
## Starting a new project
From an empty directory, launch Claude Code with what you want to build:
```
claude "build me a todo app with Convex" --permission-mode auto
```
Claude Code handles the rest. It runs `npm create convex@latest` and `npx convex dev --once`, which
auto-provisions a local backend without prompting for login because the agent's shell is non-interactive.
If you'd rather scaffold the project yourself first and then bring in Claude Code, the manual sequence is:
```
npm create convex@latest my-app
cd my-app
claude
```
这段话被研究者选为全场最佳安装/首用段落,因为它同时做到三件事:安装一行、启动 prompt 本身就是演示(一句需求 → 应用跑起来)、并显式说明非交互 shell 下不会卡在登录。
3.5 一键链接
- Cursor deep link(来自
/ai/using-cursor.md):https://cursor.com/en/install-mcp?name=convex&config=eyJjb21tYW5kIjoibnB4IC15IGNvbnZleEBsYXRlc3QgbWNwIHN0YXJ0In0%3D,渲染为一枚 "Install MCP Server" 徽章图; - Convex Cursor Rules 下载地址:
https://convex.link/convex_rules.mdc; - llms.txt 本身:无一键链接。
四、llms-full.txt:2.5 MB 机器拼接,索引重复置顶
- URL:
https://docs.convex.dev/llms-full.txt,HTTP 200,大小 2,554,656 bytes(约 2.5 MB、6.3 万行)。 - 与 llms.txt 的关系:机器生成的拼接——llms.txt 索引(第 1–500 行)逐字在前,随后接所有文档页的 .md 版本,每页都带同一句 "For AI agents: see [llms.txt]…" banner。未做人工筛选,比索引大约 56 倍,即「不是 agent 能整体加载的东西」。内容与 .md 页面相同,由 Docusaurus 站点生成(加
.md后缀或请求Accept: text/markdown可取 markdown)。 - 安装位置:第 1–500 行是索引原文;第 503 行
# Full Documentation Content;随后按章节顺序拼接各页(第 505 行起,首篇# Agent Definition and Usage)。第一条「类安装」提及在第 1671 行("Runnpm create convexor follow any of the [quickstarts]");agent 工具安装分布在第 5692–5712 行(Agent Skills:npx skills add)、第 5754 行(MCP:npx -y convex@latest mcp start)、第 5925 行(Agent Plugins:/plugin install)、第 6198–6203 行(Claude Code 页)。没有任何安装相关内容被提升到顶部。
对照之下,XERJ 的 llms-full.txt 为 83,712 bytes(见 build_tables.py 中 XERJ = {"bytes": 40064, "lines": 234, "full": 83712}),是少数能一次装进上下文窗口的 curated 版本。
五、其他 Agent 面向文件:七个 200 与三个 404
研究对 Convex 的其余 agent 文件做了逐个探测,结果如下(原始记录中 404 判定均核对了响应体——GitBook/Fern/Mintlify 站点会对不存在的文件返回 200 + "Page Not Found" markdown 体,状态码不构成文件存在的证据)。
5.1 Convex Agent Plugins 页(HTTP 200)
https://docs.convex.dev/ai/convex-plugins.md。一页讲清插件的成果、打包内容(Tools=MCP、Hooks and monitors、Skills)、每个 agent 一条安装命令、"Using the plugins effectively" 习惯清单,以及含三条具体帮助路径的 "Giving feedback" 一节。核心引文:
Convex publishes official plugins for the major coding agents. With the plugin installed, you can describe an app
in one sentence and watch your agent scaffold it, running, in front of you, then keep shipping features while it
reads your real deployment instead of guessing, catches its own mistakes as it works, and follows idiomatic Convex patterns.
This page explains what the plugins do, how to install them, how to get the most out of them, and how to send us feedback.
5.2 Convex Agent Skills 页(SKILL.md 分发,HTTP 200)
https://docs.convex.dev/ai/agent-skills.md。通过开放的 agentskills.io 标准、用 npx skills 安装技能;附可用技能表与各工具调用语法(/skill-name vs $skill-name)。引文:
Skills are installed into `.agents/skills/` in your project and are automatically picked up by compatible agents
including Cursor, Claude Code, and GitHub Copilot.
5.3 Using Claude Code with Convex(HTTP 200)
https://docs.convex.dev/ai/using-claude-code.md。每 agent 一页:一行插件安装、单条启动 prompt、手动序列、cloud/CI 安装脚本,并显式说明非交互 shell 从不弹登录。关键引文:
In non-interactive shells (the typical case for an agent's setup script), `npx convex` won't prompt the agent to
log in. It provisions a local deployment automatically. See Agent Mode → Local backend for details.
This command requires "full" internet access to download the Convex binary.
5.4 Using Codex with Convex(HTTP 200)
https://docs.convex.dev/ai/using-codex.md。每 agent 一页;引入 npx convex ai-files install——它把一段受管(managed)章节写入用户项目的 AGENTS.md 并把技能装进 .agents/skills/;TOML 版 MCP 配置;以及一句诚实的告诫:curated 目录条目滞后于 marketplace 构建。引文:
The Convex CLI can install and maintain a managed section in your project's `AGENTS.md` file that teaches Codex
about Convex conventions and best practices.
npx convex ai-files install
5.5 Using Cursor with Convex(HTTP 200)
https://docs.convex.dev/ai/using-cursor.md。每 agent 一页:marketplace 插件、/add-plugin convex、手动下载 .cursor/rules、Cursor 一键 MCP deep link + 手动 mcp.json、"Tips and tricks"(保持请求小、勤提交、引用 README)。引文:
Cursor plugins aren't available in Cloud Agents or the Cursor CLI. In those environments, we recommend installing
rules and the MCP server manually.
5.6 Convex MCP Server 页(HTTP 200)
https://docs.convex.dev/ai/convex-mcp-server.md。MCP 安装一条命令、各编辑器链接、--project-dir/--prod/--disable-tools 标志、完整工具列表,以及按部署类型划分的权限安全表。安全姿态被前置声明:
The MCP server is safe by default: in production deployments, agents can't access PII, and they can only perform
read-only operations.
5.7 通用 llms.txt(www,HTTP 200)
https://www.convex.dev/llms.txt:产品摘要 + 精选文档链接 + 内嵌 agent 规则文件("Guidelines for writing Convex code")+ 一个完整工作示例;由 docs 域 llms.txt 第 3 行引用:> For general information about Convex, read https://www.convex.dev/llms.txt.。
5.8 三个 404 探测点
https://docs.convex.dev/llms-install.md— 不存在(返回 Docusaurus 404 页体);https://raw.githubusercontent.com/get-convex/convex-backend/main/AGENTS.md— 仓库根目录不存在;Convex 的做法是通过npx convex ai-files install把受管 AGENTS.md 章节生成进用户自己的项目;https://raw.githubusercontent.com/get-convex/convex-backend/main/CLAUDE.md— 不存在。
六、双向对比:Convex 强在哪,XERJ 强在哪
分析页给出两个对照清单,均逐条可回溯到上述引文。
6.1 Convex 做得更好的地方
- 反馈被框成三条具体、低摩擦的帮助路径("You can help:" → 对应 agent 插件仓库提 issue / 贡献一个 eval 用例 / Discord 提问),不是债务。全文没有 "required, not optional" 措辞;请求位于 agent 装完插件后立刻会读的那页、且有自己的 "Giving feedback" 标题。
- 安装每 agent 一行,且用 agent 自己的习语:
/plugin install convex@claude-plugins-official、codex plugin add convex@openai-curated、/add-plugin convex,外加 Cursor 一键 MCP deep link。XERJ 当时是「一条 shell curl + 一大段 PATH 注意事项」之后才有第一条真实命令。 - 每个 agent(Claude Code / Codex / Cursor / Copilot / Conductor)都有专页,各带该工具原生格式的 MCP 配置片段(Codex 用 TOML、Cursor 用 mcp.json)。XERJ 的 llms.txt 当时完全没有 MCP 配置片段(即 22-run 研究中无 shell 人设失败的直接原因)。
- 显式覆盖非交互 shell 场景:"In non-interactive shells … won't prompt the agent to log in. It provisions a local deployment automatically." 加 "requires full internet access"。XERJ 文档化了 PATH,但没有写清沙箱 agent 的登录/permission-mode 路径。
- 自装式 agent 上下文:
npx convex ai-files install向用户项目写入受管 AGENTS.md 章节并装技能。XERJ 的xerj init功能相当,但当时被标为 "(optional, one command)" 且埋在第 3 步。 - 单条启动 prompt 即演示:
claude "build me a todo app with Convex" --permission-mode auto→ "Claude Code handles the rest." 结果先行、一行到位。 - "Ask for… / The skill / What it does" 表格把朴素英文请求映射到能力("build me a todo app" → quickstart)。XERJ 描述了能力,但没有给出人类会说的触发短语。
- MCP 安全姿态前置声明并附权限表("safe by default … read-only … can't access PII"),正面回应了 XERJ 研究中「被策略约束」而受阻的那类 agent。
6.2 XERJ 做得更好的地方
- 两个 Convex llms.txt 都是纯自动生成索引/规则倾卸——没有安装命令、没有 "start here"、没有首跑序列。XERJ 的 llms.txt 有内联 "## Start here":安装一行、PATH 陷阱、编号首跑序列;只读 llms.txt 的 agent 能装 XERJ 却装不了 Convex。这一点可在当前仓库 landing/llms.txt 直接验证——第 11 行即
curl -fsSL https://xerj.org/get | sh,随后是 PATH 后果说明与五步首跑序列。 - 内联 "Caveats" 小节(lexical 非 neural 默认、data-dir 不要放被索引目录内、退出码、进度行诚实性)在 Convex 侧没有对应物——Convex 把所有陷阱藏在链接后面。
- llms-full.txt 是 curated 且一次可载(84 KB);Convex 的是 2.5 MB / 6.3 万行拼接,任何 agent 上下文都装不下,且索引还重复置顶。
- XERJ 有一条命令开 CLA-exempt PR 的 field-report 机制(
xerj feedback --open-pr,见 landing/llms.txt 首跑第 5 步);Convex 只有 GitHub issues、evals 仓库和 Discord——没有任何产生结构化报告产物的通道。 - XERJ 的声明带出处规则("every number from a command you actually ran");Convex 页面做的是无量化声明("rigorous evals")。
七、可借鉴的八条思路,以及它们在本仓库的落点
分析页最后的 "Adoptable ideas" 是本研究对 XERJ 的直接建议,每条都标注了来源页面。结合当前仓库代码,逐条说明其落点:
- 把 "## Optional" 标题改名为 "## Giving feedback",并重写第 7 行的义务措辞。原始 llms.txt 第 7 行写着 "contribute back — this is required, not optional: every agent … owes one short field report",模板却放在名为
## Optional的标题下(研究时点位于 line 223;llms.txt 约定中## Optional语义是「上下文紧张可跳过」,agent 一旦裁剪它就把义务整个丢掉)。改写成 Convex 句式:"We're constantly working on improving the plugins with rigorous evals and real-world reports. You can help:" 加 2–3 条 bullet(file a field report / open an issue / contribute a failing case)。研究者判断 required 与 Optional 的矛盾是 PR 产出低的可能主因——「带一条命令的邀请」胜过「没人执行的义务」。来源:convex-plugins.md §Giving feedback。 - 在 "Start here" 顶部加「每 agent 一条本习语命令」安装块,仿照 "Pick your agent. Each install is one command":例如 Claude Code
claude mcp add xerj -- xerj mcp(或xerj init实际注册的内容)、Cursor 用cursor.com/en/install-mcp?name=xerj&config=<base64>deep link、Codex 用<a href="https://link.gitcode.com/i/592a45938cf747c0b9e25b384bef915b" target="_blank">mcp_servers.xerj]TOML 块。来源:convex-plugins.md §Install 与 using-cursor.md §Quick Install。本仓库侧的证据:[engine/crates/xerj-mcp/src/lib.rs 开头文档说明xerj mcp子命令即 stdio 传输的 MCP server(换行分隔 JSON-RPC 2.0),「装了单个 xerj 二进制即拥有 MCP server,无需 clone 与编译」,且为薄代理——每个工具只是构造引擎已接受的请求并转发到可配置 base URL,不添加任何自身能力。 - 在 llms.txt 中内联 verbatim 的 MCP 配置片段(Convex 是
npx -y convex@latest mcp start加 mcp.json / config.toml 两种形式)。XERJ 当时没有;这是对全部档位无 shell 人设失败的直接修复。 - 在 "Start here" 加一段「非交互 shell」说明,复制 Convex 模式:
curl | sh需要什么(网络、无 sudo)、xerj --insecure会/不会弹什么、以及手动可验证安装路径作为策略受限回退(研究中已知该路径能让被阻人设转为成功)。 - 加一张 "Ask for… / What it does" 表,把人类短语映射到 XERJ 操作,复制 Convex 表的形状。研究者给出的示例行:
"make this folder searchable" | xerj autoindex <folder>;"where is X defined" | xerj def;"what did we decide about Y" | memory recall (lexical unless --embed-mode neural)。这些操作均可在当前仓库 landing/llms.txt 的 "Core agent operations" 与端点映射中找到对应(xerj autoindex、xerj def、POST /_memory/{namespace}/_recall)。 - 让
xerj init成为主线而非 "(optional, one command)"。Convex 的 Codex 流程把npx convex ai-files install作为默认脚手架的一部分,描述为「向 AGENTS.md 写入受管 Convex 章节并装 Agent Skills 进 .agents/skills/」。可考虑把 XERJ 技能按 agentskills.io 标准发布,使npx skills add xerj-org/agent-skills可用。来源:agent-skills.md。 - 为 MCP server 加一句 "safe by default" 加一张允许操作小表(Convex:生产部署下 agent 不能访问 PII、只能只读 + 按 flag 划分的权限表)。XERJ 侧可写:loopback 绑定、
--insecure的作用域、xerj_search能写与不能写什么。来源:convex-mcp-server.md §Security。 - 按 Convex 那样拆分每 agent 一页(
/ai/using-claude-code.md、/ai/using-codex.md、/ai/using-cursor.md的形态),从 llms.txt 用精确 bullet 形式索引:「get the full power of Convex out of the official Claude Code plugin: MCP tools, hooks, and skills.」——每页以三条示例 prompt 收尾("Evaluate my convex schema and suggest improvements" / "What are this app's public endpoints?" / "Run themy_convex_functionquery"),这是廉价的「首用推动」,XERJ 可以原样照抄其形式。
八、这篇分析页在仓库中如何生成、如何被机器校验
per-project/convex.md 不是手写文档,而是渲染产物:
- 数据源:data/dissections.json(2026-09-18 一遍的 48 runs / 46 项目)与
data/dissections-2026-09-19.json(2026-09-19 追加的 10 个项目)。Convex 记录含llms_txt(url、status、bytes、lines、section_order、install_position、install_commands、agent_prompt_verbatim、one_click_links、mcp_snippet_verbatim、feedback_cta_verbatim、best_snippet_verbatim、tone)、llms_full_txt(url、status、bytes、relationship、install_position)、other_files(9 项,含 404 探测)与三个对照清单what_they_do_better_than_xerj/what_xerj_does_better/adoptable_ideas。 - 渲染器:scripts/build_pages.py 的
page(r)函数按固定版式输出:H1 + Category + "Dissected {date} {how}",然后## llms.txt(URL/大小/安装位置/语气/章节顺序)、"Install commands found" 围栏、四个 verbatim 块(agent 文本、MCP 片段、反馈请求、最佳安装段落)、"One-click links"、## llms-full.txt、## Other agent-facing files(每项带 HTTP 状态、目的与关键引文),最后三个对照小节。其--verify模式会重渲全部 2026-09-18 记录并逐字节比对已提交页面,确保 2026-09-19 追加的页面与旧页面同构。 - 汇总表:scripts/build_tables.py 从同一批数据机械生成 comparison-table.md("Nothing in the table is typed by hand"),
--check在输出会变化时退出 1。表头硬编码XERJ = {"bytes": 40064, "lines": 234, "full": 83712}作为参照行——即 XERJ 自己的 llms.txt 当日实测值。 - 因此引用本文任何数字时,正确的复核路径是:改数据 → 跑
python3 scripts/build_tables.py --check/build_pages.py --verify,或直接对实时 URL 重测(研究明确提示 web 会变)。
九、适用前提与局限
- 所有大小、行号、引文均为 2026-09-18 单 agent 抓取快照;引文 verbatim 但未全部独立复核,引用前应按 README §1 的口径重测。
- 「Convex 更好 / XERJ 更好」两节是研究时刻的对照:XERJ 侧多条短板(无 MCP 片段、
xerj init标 optional、"required vs Optional" 矛盾)是针对当时 landing/llms.txt 版本(commit4d8dadbf,40,064 bytes / 234 行)的判定;当前文件的具体行号与措辞应以仓库现况为准。 - 分析页中的第三方文档引文为「短节选 + 来源 URL」形式,服务于对比评论;Convex 官方文档本身的完整内容不在本仓库内。
- 文中「XERJ 的 13/16 个 MCP 工具」「薄代理无自身能力」等实现事实来自 engine/crates/xerj-mcp/src/lib.rs 的模块文档注释,属当前源码事实;而 llms.txt 文案中「thirteen tools」为研究时点的对外口径,两者差异(13 个核心 + 3 个 Corpus Hub 工具)以源码注释的十六工具表述为准。