[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77K3YKZB7YB4DMJE5F420MH":3,"skill-same:01M77K3YKZB7YB4DMJE5F420MH":46},{"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},"01M77K3YKZB7YB4DMJE5F420MH","default-log-triage",null,"内置默认值班日志链路排查 Flow，按步骤加载工具 Skill 并生成参数。","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\u002Fdefault-log-triage\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: default-log-triage\ndescription: \"内置默认值班日志链路排查 Flow，按步骤加载工具 Skill 并生成参数。\"\nallowed-tools: incident.normalize catalog.resolve_service catalog.get_log_sources log.query_by_trace_id log.query_by_template trace.get_chain index.get_status repo.list code.search code.read graph.impact graph.context code.find_callers notify.send\nmetadata:\n  role: playbook\n---\n\n# default-log-triage\n\n用于 webhook 告警、replay 与人工错误排查。按下列 14 步推荐顺序执行；每步加载对应 helper Skill 文档，由 Agent 经 MCP Gateway 调用工具。不允许伪造结果。\n\n## 推荐顺序（14 步）\n\n1. `incident.normalize`（helper: `incident-normalize`）— 规整事件输入，提取服务、租户、环境、trace、症状、代码线索、`exception_summary` 与 `call_chain`\n2. `catalog.resolve_service`（helper: `catalog-resolve-service`）— 将服务名映射到服务目录条目\n3. `catalog.get_log_sources`（helper: `catalog-log-sources`）— 解析后续查询用的日志源\n4. `log.query_by_trace_id`（helper: `log-query-trace`）— 按 trace id 拉取事发窗口日志\n5. `log.query_by_template`（helper: `log-query-template`）— 按默认错误模板拉取兜底日志\n6. `trace.get_chain`（helper: `trace-chain`）— 在有 trace id 时拉取分布式链路\n7. `index.get_status`（helper: `index-repo-context`）— 读代码前确认索引是否可用\n8. `repo.list`（helper: `index-repo-context`）— 目录或索引不完整时列出已注册仓库\n9. `code.search`（helper: `code-lookup`）— 日志或 trace 给出具体线索后再搜代码\n10. `code.read`（helper: `code-lookup`）— 读取命中文件或事件中的明确路径\n11. `graph.impact`（helper: `graph-lookup`）— 对 `call_chain` 故障符号做 GitNexus 影响面\n12. `graph.context`（helper: `graph-lookup`）— 加载故障方法的 360° 符号上下文\n13. `code.find_callers`（helper: `code-lookup`）— 跨仓库追踪 caller（图谱优先，Zoekt 回退），与运行时调用链对齐\n14. 生成报告（系统在报告后按通知渠道自动发送；**不要**规划 `notify.send`）\n\n系统在 `build_case_report` 之后按 Admin 已启用渠道自动发送通知；不要在计划中调用 `notify.send`。\n\n## AI 分析输入约定\n\n错误排查工作台在生成 AI 分析时，不会上传完整 tool inputs\u002Foutputs 或整段堆栈，而是优先使用：\n\n1. `normalize-incident` 提取的 `exception_summary` 与 `call_chain`\n2. `graph-impact` \u002F `graph-context`（GitNexus 影响面与符号上下文）\n3. `find-callers`（`code.find_callers`，图谱优先 + Zoekt 回退）的 caller 对齐与 HTTP 入口\n4. 规则引擎 report 摘要\n5. 少量证据预览\n\n因此 `incident.normalize` 必须尽量从原始日志中提取**业务调用链主方法**（如 `Controller -> Service -> Mapper`），供后续 AI 与 code\u002Fgraph lookup 复用。\n\n## 工具 Skill 索引\n\n| 步骤 | 工具 Skill |\n|------|------------|\n| normalize | `incident-normalize` |\n| catalog | `catalog-resolve-service`、`catalog-log-sources` |\n| logs | `log-query-trace`、`log-query-template` |\n| trace | `trace-chain` |\n| index\u002Frepo | `index-repo-context` |\n| code | `code-lookup` |\n| graph | `graph-lookup` |\n| notify | `notify-send` |\n\n所有工具调用必须经过 MCP Gateway，不允许伪造结果。\n","# default-log-triage\n\n用于 webhook 告警、replay 与人工错误排查。按下列 14 步推荐顺序执行；每步加载对应 helper Skill 文档，由 Agent 经 MCP Gateway 调用工具。不允许伪造结果。\n\n## 推荐顺序（14 步）\n\n1. `incident.normalize`（helper: `incident-normalize`）— 规整事件输入，提取服务、租户、环境、trace、症状、代码线索、`exception_summary` 与 `call_chain`\n2. `catalog.resolve_service`（helper: `catalog-resolve-service`）— 将服务名映射到服务目录条目\n3. `catalog.get_log_sources`（helper: `catalog-log-sources`）— 解析后续查询用的日志源\n4. `log.query_by_trace_id`（helper: `log-query-trace`）— 按 trace id 拉取事发窗口日志\n5. `log.query_by_template`（helper: `log-query-template`）— 按默认错误模板拉取兜底日志\n6. `trace.get_chain`（helper: `trace-chain`）— 在有 trace id 时拉取分布式链路\n7. `index.get_status`（helper: `index-repo-context`）— 读代码前确认索引是否可用\n8. `repo.list`（helper: `index-repo-context`）— 目录或索引不完整时列出已注册仓库\n9. `code.search`（helper: `code-lookup`）— 日志或 trace 给出具体线索后再搜代码\n10. `code.read`（helper: `code-lookup`）— 读取命中文件或事件中的明确路径\n11. `graph.impact`（helper: `graph-lookup`）— 对 `call_chain` 故障符号做 GitNexus 影响面\n12. `graph.context`（helper: `graph-lookup`）— 加载故障方法的 360° 符号上下文\n13. `code.find_callers`（helper: `code-lookup`）— 跨仓库追踪 caller（图谱优先，Zoekt 回退），与运行时调用链对齐\n14. 生成报告（系统在报告后按通知渠道自动发送；**不要**规划 `notify.send`）\n\n系统在 `build_case_report` 之后按 Admin 已启用渠道自动发送通知；不要在计划中调用 `notify.send`。\n\n## AI 分析输入约定\n\n错误排查工作台在生成 AI 分析时，不会上传完整 tool inputs\u002Foutputs 或整段堆栈，而是优先使用：\n\n1. `normalize-incident` 提取的 `exception_summary` 与 `call_chain`\n2. `graph-impact` \u002F `graph-context`（GitNexus 影响面与符号上下文）\n3. `find-callers`（`code.find_callers`，图谱优先 + Zoekt 回退）的 caller 对齐与 HTTP 入口\n4. 规则引擎 report 摘要\n5. 少量证据预览\n\n因此 `incident.normalize` 必须尽量从原始日志中提取**业务调用链主方法**（如 `Controller -> Service -> Mapper`），供后续 AI 与 code\u002Fgraph lookup 复用。\n\n## 工具 Skill 索引\n\n| 步骤 | 工具 Skill |\n|------|------------|\n| normalize | `incident-normalize` |\n| catalog | `catalog-resolve-service`、`catalog-log-sources` |\n| logs | `log-query-trace`、`log-query-template` |\n| trace | `trace-chain` |\n| index\u002Frepo | `index-repo-context` |\n| code | `code-lookup` |\n| graph | `graph-lookup` |\n| notify | `notify-send` |\n\n所有工具调用必须经过 MCP Gateway，不允许伪造结果。\n",{"name":5,"metadata":23,"description":7,"allowed-tools":25},{"role":24},"playbook","incident.normalize catalog.resolve_service catalog.get_log_sources log.query_by_trace_id log.query_by_template trace.get_chain index.get_status repo.list code.search code.read graph.impact graph.context code.find_callers notify.send","main","364810dc99f32c94f28d1e76b21eb1c1ef5f9d9d","skills\u002Fbuiltin\u002Fdefault-log-triage","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 default-log-triage",{"tool":38,"command":39},"bunx","bunx skills add iceycn\u002Froot-seeker-v2 --skill default-log-triage",{"tool":41,"command":42},"pnpm","pnpm dlx skills add iceycn\u002Froot-seeker-v2 --skill default-log-triage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fdefault-log-triage\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"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":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M77K4H5NDSFGCNKK588HW9WD","trace-chain","获取分布式 trace 链路证据。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Ftrace-chain\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M77K4ENF7JFJ4WDWRDQ4RXYY","notify-send","在报告生成后发送排查结果通知。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Fnotify-send\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M77K495D68EW0GYWS5CVK15Q","log-query-template","按默认错误模板查询日志作为兜底证据。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Flog-query-template\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M77K46DTEJDKFPPFCM63PJCM","index-repo-context","检查代码索引状态并列出已注册仓库。","https:\u002F\u002Fgithub.com\u002Ficeycn\u002Froot-seeker-v2\u002Fblob\u002Fmain\u002Fskills\u002Fbuiltin\u002Findex-repo-context\u002FSKILL.md",[],[]]