iter(g155): llms.txt 补配方目录

速览末尾输出 9 条配方的 id / 标题 / 要点数与三种取法,Agent 不必先猜。
顺带修正 cli 清单里只写了 3 个 MCP 工具的过期描述。
This commit is contained in:
HIsheR
2026-10-26 15:55:13 +08:00
parent ea77f4bb34
commit a3ece117c7
6 changed files with 35 additions and 6 deletions
+8
View File
@@ -1596,6 +1596,14 @@
"acceptance": "返回 { packages, components } 两级结构,components 按 id/标题/props 名命中并带 package 字段;空 query 与无命中都抛明确错误;工具描述同步。",
"notes": "",
"status": "done"
},
{
"id": "g155",
"title": "llms.txt 补配方目录 + 修正 MCP 工具清单描述",
"motivation": "Agent 常只读 llms.txt 速览,但速览里完全没有配方入口;同时 cli 包导出描述里只写了 3 个 MCP 工具,与实际的 6 个不符。",
"acceptance": "ua index 在 llms.txt 末尾输出配方目录(id / 标题 / 要点数)并指明三种取法;cli 清单的 mcp 导出描述与 MCP_TOOL_NAMES 一致。",
"notes": "",
"status": "open"
}
]
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"$schema": "ui-arch-registry-index/0.1",
"generatedAt": "2026-10-26T07:49:34.129Z",
"generatedAt": "2026-10-26T07:54:36.201Z",
"repoRoot": ".",
"packages": [
{
@@ -3566,7 +3566,7 @@
"ua style:注释规范门禁(导出必须 /*** ***/、接口字段行尾注释、行注释中文),违规退出码 1",
"ua verify:清单一致性门禁(id 唯一 / exports 对应 / props 必带 n t d / steps≥3 / demo 锚点存在)",
"ua commit-lint <文件|message>:提交信息门禁(type 枚举 / scope 规则 / subject 中文祈使 ≤50 字符),规范见 COMMITTING.md,违规退出码 1",
"ua mcp:零依赖 stdio MCP server,暴露 list_components / get_component / search_components"
"ua mcp:零依赖 stdio MCP server,暴露 list_components / get_component / search_components / get_tokens / list_recipes / get_recipe"
],
"keyTypes": [
"ua.manifest.json 清单结构",