iter(g150): ua info 反查所属配方
查完 props 顺手给出「这个组件出现在哪几条配方」,把两套入口接上。 --json 与 MCP get_component 的组件级返回同步带 recipes 字段。
This commit is contained in:
@@ -1556,6 +1556,14 @@
|
||||
"acceptance": "ua search <关键词> 按 id/标题/props 名/步骤匹配并排序输出,支持 --json;ua info 与 search 未命中时给出编辑距离 ≤3 的相近 id;usage 与 CLI 清单 steps、README、AGENTS 同步。",
|
||||
"notes": "",
|
||||
"status": "done"
|
||||
},
|
||||
{
|
||||
"id": "g150",
|
||||
"title": "ua info 反查组件出现在哪些配方",
|
||||
"motivation": "配方与组件是两套入口:查完 props 往往还要自己判断「这组件平时和谁一起用」,而 recipes.md 里已有答案却没接上。",
|
||||
"acceptance": "ua info <组件id> 末尾列出包含该组件的配方 id 与标题(无命中不追加空行);--json 输出增加 recipes 字段;MCP get_component 组件级返回同步带 recipes。",
|
||||
"notes": "",
|
||||
"status": "open"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user