[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77K3VG25B7QCR700D71ASJ2":3,"skill-same:01M77K3VG25B7QCR700D71ASJ2":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M77K3VG25B7QCR700D71ASJ2","code-lookup",null,"搜索并读取与故障相关的代码片段。","iceycn\u002Froot-seeker-v2","iceycn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266420735?v=4","01M77K3N37R99ZB3M0B96HTBG3","01M77K3N49P9FNXTE01EKFJRRX",1,"MIT","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fcode-lookup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-lookup\ndescription: \"搜索并读取与故障相关的代码片段。\"\nallowed-tools: code.search code.read code.find_callers\nmetadata:\n  role: helper\n---\n\n# Code lookup\n\n工具组：`code.search`、`code.read`、`code.find_callers`。根据日志、trace 或症状定位代码，并跨仓库追踪 caller。\n\n详细准则见 `references\u002Fguide.md`。\n\n## code.search\n\n- 从 symptom 提取文件路径时用 `file:\u003Cpath>` 查询；否则用症状首行关键词。\n- 优先使用 `normalize-incident.extracted` 与日志\u002Ftrace 线索。\n\n## code.read\n\n- 优先 `code-search` 步骤 hits[0] 的 path\u002Frepo。\n- 其次 metadata.code_path、extracted.code_path、症状中的 `Foo.java:42`。\n- 无明确目标时 `skip: true`。\n\n## code.find_callers\n\n- 输入 `normalize-incident.extracted.call_chain`。\n- 默认 `prefer_graph=true`：先走 GitNexus 知识图谱，失败再回退 Zoekt 启发式。\n- 跨已索引仓库搜索 caller，与运行时堆栈对齐；识别 `*Controller` HTTP 入口。\n- 无 call_chain 时 `skip: true`。\n- 若上一步 `graph.impact` 已给出充分 caller，仍应执行本步做对齐与入口识别。\n","# Code lookup\n\n工具组：`code.search`、`code.read`、`code.find_callers`。根据日志、trace 或症状定位代码，并跨仓库追踪 caller。\n\n详细准则见 `references\u002Fguide.md`。\n\n## code.search\n\n- 从 symptom 提取文件路径时用 `file:\u003Cpath>` 查询；否则用症状首行关键词。\n- 优先使用 `normalize-incident.extracted` 与日志\u002Ftrace 线索。\n\n## code.read\n\n- 优先 `code-search` 步骤 hits[0] 的 path\u002Frepo。\n- 其次 metadata.code_path、extracted.code_path、症状中的 `Foo.java:42`。\n- 无明确目标时 `skip: true`。\n\n## code.find_callers\n\n- 输入 `normalize-incident.extracted.call_chain`。\n- 默认 `prefer_graph=true`：先走 GitNexus 知识图谱，失败再回退 Zoekt 启发式。\n- 跨已索引仓库搜索 caller，与运行时堆栈对齐；识别 `*Controller` HTTP 入口。\n- 无 call_chain 时 `skip: true`。\n- 若上一步 `graph.impact` 已给出充分 caller，仍应执行本步做对齐与入口识别。\n",{"name":5,"metadata":23,"description":7,"allowed-tools":25},{"role":24},"helper","code.search code.read code.find_callers","main","364810dc99f32c94f28d1e76b21eb1c1ef5f9d9d","skills\u002Fbuiltin\u002Fcode-lookup","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2","https:\u002F\u002Fgithub.com\u002Ficeycn","2026-10-15 11:37:02",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add iceycn\u002Froot-seeker-v2 --skill code-lookup",{"tool":38,"command":39},"bunx","bunx skills add iceycn\u002Froot-seeker-v2 --skill code-lookup",{"tool":41,"command":42},"pnpm","pnpm dlx skills add iceycn\u002Froot-seeker-v2 --skill code-lookup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fcode-lookup\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fguide.md","REFERENCE","参考文档",580,"https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fcode-lookup\u002Freferences\u002Fguide.md",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M77K4MMGNG92BP25C6PNHRPV","hello-triage","Minimal playbook fixture for install tests.","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample_skill\u002Fhello-triage\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M77K4H5NDSFGCNKK588HW9WD","trace-chain","获取分布式 trace 链路证据。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Ftrace-chain\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M77K4ENF7JFJ4WDWRDQ4RXYY","notify-send","在报告生成后发送排查结果通知。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fnotify-send\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M77K4BP8CZ3B575N7GGTH4EN","log-query-trace","按 trace id 查询日志证据。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Flog-query-trace\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M77K495D68EW0GYWS5CVK15Q","log-query-template","按默认错误模板查询日志作为兜底证据。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Flog-query-template\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M77K46DTEJDKFPPFCM63PJCM","index-repo-context","检查代码索引状态并列出已注册仓库。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Findex-repo-context\u002FSKILL.md",[],[]]