[{"data":1,"prerenderedAt":3841},["ShallowReactive",2],{"article-/topics/ai/ai-agent-incident-response-runbook":3,"related-ai":609,"content-query-OgrMnhqTxJ":3375},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"topic":5,"author":11,"tags":12,"image":18,"imageAlt":19,"imageQuery":20,"pexelsPhotoId":21,"pexelsUrl":22,"featured":6,"readingTime":23,"body":24,"_type":603,"_id":604,"_source":605,"_file":606,"_stem":607,"_extension":608},"/topics/ai/ai-agent-incident-response-runbook","ai",false,"","AI Agent 事故响应手册：超时、幻觉、越权、重试风暴怎么止血","AI Agent 的线上事故往往不是单点错误，而是模型、工具、状态机和权限一起连锁失效。本文给出事故分级、止血步骤、回放重点和值班清单，帮助团队在出事时先稳住系统。","2026-03-30","HTMLPAGE 团队",[13,14,15,16,17],"AI Agent","Incident Response","故障处理","可观测性","工程化","/images/articles/ai-agent-incident-response-runbook-featured.jpg","运维团队在监控屏前响应 AI Agent 事故","incident response monitoring ops team computers",8204322,"https://www.pexels.com/photo/man-in-gray-shirt-working-on-a-desktop-computers-8204322/",14,{"type":25,"children":26,"toc":592},"root",[27,35,40,70,75,112,119,224,229,234,240,245,264,269,287,292,298,326,331,337,342,429,434,440,489,494,500,554,559],{"type":28,"tag":29,"props":30,"children":31},"element","p",{},[32],{"type":33,"value":34},"text","AI Agent 一旦进入真实业务，故障形态会比传统后端更复杂。",{"type":28,"tag":29,"props":36,"children":37},{},[38],{"type":33,"value":39},"因为问题不一定出在某个单独服务上，而可能是下面几层同时出问题：",{"type":28,"tag":41,"props":42,"children":43},"ul",{},[44,50,55,60,65],{"type":28,"tag":45,"props":46,"children":47},"li",{},[48],{"type":33,"value":49},"模型输出不稳定",{"type":28,"tag":45,"props":51,"children":52},{},[53],{"type":33,"value":54},"工具接口超时或返回脏数据",{"type":28,"tag":45,"props":56,"children":57},{},[58],{"type":33,"value":59},"状态机迁移异常",{"type":28,"tag":45,"props":61,"children":62},{},[63],{"type":33,"value":64},"权限配置失效",{"type":28,"tag":45,"props":66,"children":67},{},[68],{"type":33,"value":69},"重试策略把小故障放大成风暴",{"type":28,"tag":29,"props":71,"children":72},{},[73],{"type":33,"value":74},"所以 Agent 的事故响应不能只靠“看日志”，而要有一套明确的止血顺序。",{"type":28,"tag":29,"props":76,"children":77},{},[78,80,87,89,95,96,102,104,110],{"type":33,"value":79},"建议先看 ",{"type":28,"tag":81,"props":82,"children":84},"a",{"href":83},"/topics/ai/ai-agent-observability-tracing-playbook",[85],{"type":33,"value":86},"AI Agent 可观测性与 Tracing 实战",{"type":33,"value":88},"、",{"type":28,"tag":81,"props":90,"children":92},{"href":91},"/topics/ai/ai-agent-state-machine-design-guide",[93],{"type":33,"value":94},"AI Agent 状态机设计指南",{"type":33,"value":88},{"type":28,"tag":81,"props":97,"children":99},{"href":98},"/topics/ai/ai-agent-security-permission-control",[100],{"type":33,"value":101},"AI Agent 安全与权限控制",{"type":33,"value":103}," 和 ",{"type":28,"tag":81,"props":105,"children":107},{"href":106},"/topics/ai/ai-agent-session-replay-debugging",[108],{"type":33,"value":109},"AI Agent Session Replay 调试指南",{"type":33,"value":111},"。",{"type":28,"tag":113,"props":114,"children":116},"h2",{"id":115},"一先分清事故类型再决定怎么止血",[117],{"type":33,"value":118},"一、先分清事故类型，再决定怎么止血",{"type":28,"tag":120,"props":121,"children":122},"table",{},[123,147],{"type":28,"tag":124,"props":125,"children":126},"thead",{},[127],{"type":28,"tag":128,"props":129,"children":130},"tr",{},[131,137,142],{"type":28,"tag":132,"props":133,"children":134},"th",{},[135],{"type":33,"value":136},"事故类型",{"type":28,"tag":132,"props":138,"children":139},{},[140],{"type":33,"value":141},"典型表现",{"type":28,"tag":132,"props":143,"children":144},{},[145],{"type":33,"value":146},"第一优先动作",{"type":28,"tag":148,"props":149,"children":150},"tbody",{},[151,170,188,206],{"type":28,"tag":128,"props":152,"children":153},{},[154,160,165],{"type":28,"tag":155,"props":156,"children":157},"td",{},[158],{"type":33,"value":159},"超时类",{"type":28,"tag":155,"props":161,"children":162},{},[163],{"type":33,"value":164},"p95 延迟飙升、任务卡住",{"type":28,"tag":155,"props":166,"children":167},{},[168],{"type":33,"value":169},"降级并限制重试",{"type":28,"tag":128,"props":171,"children":172},{},[173,178,183],{"type":28,"tag":155,"props":174,"children":175},{},[176],{"type":33,"value":177},"幻觉类",{"type":28,"tag":155,"props":179,"children":180},{},[181],{"type":33,"value":182},"输出看似完整但事实错误",{"type":28,"tag":155,"props":184,"children":185},{},[186],{"type":33,"value":187},"收紧证据校验",{"type":28,"tag":128,"props":189,"children":190},{},[191,196,201],{"type":28,"tag":155,"props":192,"children":193},{},[194],{"type":33,"value":195},"越权类",{"type":28,"tag":155,"props":197,"children":198},{},[199],{"type":33,"value":200},"调用了不该用的工具或数据",{"type":28,"tag":155,"props":202,"children":203},{},[204],{"type":33,"value":205},"立即熔断高风险工具",{"type":28,"tag":128,"props":207,"children":208},{},[209,214,219],{"type":28,"tag":155,"props":210,"children":211},{},[212],{"type":33,"value":213},"风暴类",{"type":28,"tag":155,"props":215,"children":216},{},[217],{"type":33,"value":218},"重试、并发、回放引发雪崩",{"type":28,"tag":155,"props":220,"children":221},{},[222],{"type":33,"value":223},"先限流，再排查根因",{"type":28,"tag":29,"props":225,"children":226},{},[227],{"type":33,"value":228},"很多团队在事故里最容易犯的错误，是一开始就追根因。真正正确的顺序通常是：",{"type":28,"tag":29,"props":230,"children":231},{},[232],{"type":33,"value":233},"$$\n止血 > 限流 > 降级 > 回放 > 根因修复\n$$",{"type":28,"tag":113,"props":235,"children":237},{"id":236},"二典型失败案例一次工具超时演变成重试风暴",[238],{"type":33,"value":239},"二、典型失败案例：一次工具超时演变成重试风暴",{"type":28,"tag":29,"props":241,"children":242},{},[243],{"type":33,"value":244},"某个订单 Agent 在调用库存工具时出现间歇性超时。为了提升成功率，系统设置了三层重试：",{"type":28,"tag":246,"props":247,"children":248},"ol",{},[249,254,259],{"type":28,"tag":45,"props":250,"children":251},{},[252],{"type":33,"value":253},"工具 SDK 自动重试",{"type":28,"tag":45,"props":255,"children":256},{},[257],{"type":33,"value":258},"Agent 编排层重试",{"type":28,"tag":45,"props":260,"children":261},{},[262],{"type":33,"value":263},"前端请求超时后又重新触发整个 run",{"type":28,"tag":29,"props":265,"children":266},{},[267],{"type":33,"value":268},"结果本来只是 5% 的库存查询失败，最后演变成：",{"type":28,"tag":41,"props":270,"children":271},{},[272,277,282],{"type":28,"tag":45,"props":273,"children":274},{},[275],{"type":33,"value":276},"下游 API QPS 翻倍",{"type":28,"tag":45,"props":278,"children":279},{},[280],{"type":33,"value":281},"平均延迟升高 4 倍",{"type":28,"tag":45,"props":283,"children":284},{},[285],{"type":33,"value":286},"多个 run 进入 stuck 状态",{"type":28,"tag":29,"props":288,"children":289},{},[290],{"type":33,"value":291},"事故真正的根因不是“库存接口慢”，而是重试预算没有统一管理。",{"type":28,"tag":113,"props":293,"children":295},{"id":294},"三事故发生时先做哪-5-件事",[296],{"type":33,"value":297},"三、事故发生时先做哪 5 件事",{"type":28,"tag":246,"props":299,"children":300},{},[301,306,311,316,321],{"type":28,"tag":45,"props":302,"children":303},{},[304],{"type":33,"value":305},"识别影响面：哪类任务、哪些用户、哪些工具受影响",{"type":28,"tag":45,"props":307,"children":308},{},[309],{"type":33,"value":310},"关闭高风险写工具：先保护数据和资金安全",{"type":28,"tag":45,"props":312,"children":313},{},[314],{"type":33,"value":315},"降低并发和重试：防止事故继续放大",{"type":28,"tag":45,"props":317,"children":318},{},[319],{"type":33,"value":320},"切换降级路径：返回只读结果、草稿结果或人工接管",{"type":28,"tag":45,"props":322,"children":323},{},[324],{"type":33,"value":325},"标记样本 run：为后续 replay 和根因分析保留证据",{"type":28,"tag":29,"props":327,"children":328},{},[329],{"type":33,"value":330},"这 5 步做完，才适合开始追查提示词、schema、状态迁移或外部接口。",{"type":28,"tag":113,"props":332,"children":334},{"id":333},"四事故回放时重点看什么",[335],{"type":33,"value":336},"四、事故回放时重点看什么",{"type":28,"tag":29,"props":338,"children":339},{},[340],{"type":33,"value":341},"建议优先按这条链路回放：",{"type":28,"tag":120,"props":343,"children":344},{},[345,361],{"type":28,"tag":124,"props":346,"children":347},{},[348],{"type":28,"tag":128,"props":349,"children":350},{},[351,356],{"type":28,"tag":132,"props":352,"children":353},{},[354],{"type":33,"value":355},"检查点",{"type":28,"tag":132,"props":357,"children":358},{},[359],{"type":33,"value":360},"关键问题",{"type":28,"tag":148,"props":362,"children":363},{},[364,377,390,403,416],{"type":28,"tag":128,"props":365,"children":366},{},[367,372],{"type":28,"tag":155,"props":368,"children":369},{},[370],{"type":33,"value":371},"用户输入",{"type":28,"tag":155,"props":373,"children":374},{},[375],{"type":33,"value":376},"是否触发了异常边界条件",{"type":28,"tag":128,"props":378,"children":379},{},[380,385],{"type":28,"tag":155,"props":381,"children":382},{},[383],{"type":33,"value":384},"Prompt/Policy",{"type":28,"tag":155,"props":386,"children":387},{},[388],{"type":33,"value":389},"是否把不该执行的动作放开了",{"type":28,"tag":128,"props":391,"children":392},{},[393,398],{"type":28,"tag":155,"props":394,"children":395},{},[396],{"type":33,"value":397},"Tool selection",{"type":28,"tag":155,"props":399,"children":400},{},[401],{"type":33,"value":402},"模型为什么选这个工具",{"type":28,"tag":128,"props":404,"children":405},{},[406,411],{"type":28,"tag":155,"props":407,"children":408},{},[409],{"type":33,"value":410},"Tool response",{"type":28,"tag":155,"props":412,"children":413},{},[414],{"type":33,"value":415},"返回是否不完整或冲突",{"type":28,"tag":128,"props":417,"children":418},{},[419,424],{"type":28,"tag":155,"props":420,"children":421},{},[422],{"type":33,"value":423},"State transition",{"type":28,"tag":155,"props":425,"children":426},{},[427],{"type":33,"value":428},"系统是在哪一步进入错误状态",{"type":28,"tag":29,"props":430,"children":431},{},[432],{"type":33,"value":433},"如果没有结构化 replay，事故复盘很快就会退化成“看聊天记录猜原因”。",{"type":28,"tag":113,"props":435,"children":437},{"id":436},"五值班团队至少要有这几个开关",[438],{"type":33,"value":439},"五、值班团队至少要有这几个开关",{"type":28,"tag":41,"props":441,"children":442},{},[443,453,462,471,480],{"type":28,"tag":45,"props":444,"children":445},{},[446],{"type":28,"tag":447,"props":448,"children":450},"code",{"className":449},[],[451],{"type":33,"value":452},"disable_high_risk_tools",{"type":28,"tag":45,"props":454,"children":455},{},[456],{"type":28,"tag":447,"props":457,"children":459},{"className":458},[],[460],{"type":33,"value":461},"limit_parallel_branches",{"type":28,"tag":45,"props":463,"children":464},{},[465],{"type":28,"tag":447,"props":466,"children":468},{"className":467},[],[469],{"type":33,"value":470},"disable_auto_retry",{"type":28,"tag":45,"props":472,"children":473},{},[474],{"type":28,"tag":447,"props":475,"children":477},{"className":476},[],[478],{"type":33,"value":479},"force_human_review",{"type":28,"tag":45,"props":481,"children":482},{},[483],{"type":28,"tag":447,"props":484,"children":486},{"className":485},[],[487],{"type":33,"value":488},"fallback_to_read_only_mode",{"type":28,"tag":29,"props":490,"children":491},{},[492],{"type":33,"value":493},"这些开关的意义，不在于优雅，而在于事故来的时候能立刻操作。",{"type":28,"tag":113,"props":495,"children":497},{"id":496},"六ai-agent-事故响应清单",[498],{"type":33,"value":499},"六、AI Agent 事故响应清单",{"type":28,"tag":41,"props":501,"children":504},{"className":502},[503],"contains-task-list",[505,518,527,536,545],{"type":28,"tag":45,"props":506,"children":509},{"className":507},[508],"task-list-item",[510,516],{"type":28,"tag":511,"props":512,"children":515},"input",{"disabled":513,"type":514},true,"checkbox",[],{"type":33,"value":517}," 有明确的事故分级和对应动作",{"type":28,"tag":45,"props":519,"children":521},{"className":520},[508],[522,525],{"type":28,"tag":511,"props":523,"children":524},{"disabled":513,"type":514},[],{"type":33,"value":526}," 高风险工具支持快速熔断",{"type":28,"tag":45,"props":528,"children":530},{"className":529},[508],[531,534],{"type":28,"tag":511,"props":532,"children":533},{"disabled":513,"type":514},[],{"type":33,"value":535}," 重试和并发可以在运行时限流",{"type":28,"tag":45,"props":537,"children":539},{"className":538},[508],[540,543],{"type":28,"tag":511,"props":541,"children":542},{"disabled":513,"type":514},[],{"type":33,"value":544}," 关键 run 支持 replay 和 trace 回放",{"type":28,"tag":45,"props":546,"children":548},{"className":547},[508],[549,552],{"type":28,"tag":511,"props":550,"children":551},{"disabled":513,"type":514},[],{"type":33,"value":553}," 值班文档写清楚降级和人工接管流程",{"type":28,"tag":113,"props":555,"children":557},{"id":556},"延伸阅读",[558],{"type":33,"value":556},{"type":28,"tag":41,"props":560,"children":561},{},[562,569,577,584],{"type":28,"tag":45,"props":563,"children":564},{},[565],{"type":28,"tag":81,"props":566,"children":567},{"href":83},[568],{"type":33,"value":86},{"type":28,"tag":45,"props":570,"children":571},{},[572],{"type":28,"tag":81,"props":573,"children":574},{"href":91},[575],{"type":33,"value":576},"AI Agent 状态机设计指南：把 Run 生命周期做成可控系统",{"type":28,"tag":45,"props":578,"children":579},{},[580],{"type":28,"tag":81,"props":581,"children":582},{"href":98},[583],{"type":33,"value":101},{"type":28,"tag":45,"props":585,"children":586},{},[587],{"type":28,"tag":81,"props":588,"children":589},{"href":106},[590],{"type":33,"value":591},"AI Agent Session Replay 调试指南：如何复盘一次失败 Run 的每个决策",{"title":7,"searchDepth":593,"depth":593,"links":594},3,[595,597,598,599,600,601,602],{"id":115,"depth":596,"text":118},2,{"id":236,"depth":596,"text":239},{"id":294,"depth":596,"text":297},{"id":333,"depth":596,"text":336},{"id":436,"depth":596,"text":439},{"id":496,"depth":596,"text":499},{"id":556,"depth":596,"text":556},"markdown","content:topics:ai:ai-agent-incident-response-runbook.md","content","topics/ai/ai-agent-incident-response-runbook.md","topics/ai/ai-agent-incident-response-runbook","md",[610,1763,2712],{"_path":611,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":612,"description":613,"date":614,"topic":5,"author":11,"tags":615,"image":621,"imageAlt":622,"pexelsPhotoId":623,"pexelsUrl":624,"readingTime":625,"body":626,"_type":603,"_id":1760,"_source":605,"_file":1761,"_stem":1762,"_extension":608},"/topics/ai/cursor-keyboard-shortcuts-cheatsheet","Cursor 快捷键速查表（macOS/Windows）：从“会用”到“能提效”的 10 个工作流","把 Cursor 常用快捷键按任务分组（查代码、改代码、多文件、对话、审查与回滚），给出可直接照抄的工作流与最小回归清单，避免“快捷键背了也没变快”。","2026-03-02",[616,617,618,619,620],"Cursor","快捷键","AI IDE","VS Code","开发效率","/images/topics/ai/cursor-keyboard-shortcuts-cheatsheet.jpg","彩色机械键盘与鼠标的工作台面",34563105,"https://www.pexels.com/photo/colorful-mechanical-keyboard-and-mouse-setup-34563105/",12,{"type":25,"children":627,"toc":1734},[628,633,651,656,684,689,725,729,735,740,773,778,801,804,810,815,1033,1042,1045,1051,1058,1077,1085,1106,1111,1117,1132,1163,1168,1181,1187,1206,1224,1232,1237,1243,1248,1269,1277,1283,1288,1311,1316,1322,1335,1341,1359,1377,1383,1394,1412,1418,1429,1435,1440,1483,1486,1492,1500,1553,1556,1562,1568,1573,1578,1601,1618,1623,1648,1651,1657,1663,1668,1674,1679,1685,1690,1693,1699],{"type":28,"tag":29,"props":629,"children":630},{},[631],{"type":33,"value":632},"如果你在搜“Cursor 快捷键”，你大概率不是想背一张表，而是想解决这类问题：",{"type":28,"tag":41,"props":634,"children":635},{},[636,641,646],{"type":28,"tag":45,"props":637,"children":638},{},[639],{"type":33,"value":640},"为什么我用了 AI，还是很慢？（对话来回太多、改动不可控）",{"type":28,"tag":45,"props":642,"children":643},{},[644],{"type":33,"value":645},"为什么它“看起来懂了”，却改错文件/改出回归？（上下文与范围没锁住）",{"type":28,"tag":45,"props":647,"children":648},{},[649],{"type":33,"value":650},"多文件改动怎么做得安全？（验收、回滚、最小回归集）",{"type":28,"tag":29,"props":652,"children":653},{},[654],{"type":33,"value":655},"这篇文章给你两份东西：",{"type":28,"tag":246,"props":657,"children":658},{},[659,672],{"type":28,"tag":45,"props":660,"children":661},{},[662,664,670],{"type":33,"value":663},"一张",{"type":28,"tag":665,"props":666,"children":667},"strong",{},[668],{"type":33,"value":669},"按任务分组",{"type":33,"value":671},"的快捷键表（不是按功能堆在一起）",{"type":28,"tag":45,"props":673,"children":674},{},[675,677,682],{"type":33,"value":676},"一套“从需求到落地”的",{"type":28,"tag":665,"props":678,"children":679},{},[680],{"type":33,"value":681},"最小闭环工作流",{"type":33,"value":683},"（每一步都有快捷键）",{"type":28,"tag":29,"props":685,"children":686},{},[687],{"type":33,"value":688},"想看系统玩法：",{"type":28,"tag":41,"props":690,"children":691},{},[692,703,714],{"type":28,"tag":45,"props":693,"children":694},{},[695,697],{"type":33,"value":696},"入门教程看：",{"type":28,"tag":81,"props":698,"children":700},{"href":699},"/topics/ai/cursor-tutorial",[701],{"type":33,"value":702},"Cursor 使用教程（2026）",{"type":28,"tag":45,"props":704,"children":705},{},[706,708],{"type":33,"value":707},"进阶玩法看：",{"type":28,"tag":81,"props":709,"children":711},{"href":710},"/topics/ai/cursor-editor-guide",[712],{"type":33,"value":713},"Cursor 编辑器深度玩法",{"type":28,"tag":45,"props":715,"children":716},{},[717,719],{"type":33,"value":718},"规则与忽略看：",{"type":28,"tag":81,"props":720,"children":722},{"href":721},"/topics/ai/cursor-rules-cursorrules",[723],{"type":33,"value":724},"Cursor Rules 与 .cursorrules",{"type":28,"tag":726,"props":727,"children":728},"hr",{},[],{"type":28,"tag":113,"props":730,"children":732},{"id":731},"先给结论提效不是按得快而是闭环更短",[733],{"type":33,"value":734},"先给结论：提效不是“按得快”，而是“闭环更短”",{"type":28,"tag":29,"props":736,"children":737},{},[738],{"type":33,"value":739},"你可以把 Cursor 的快捷键理解为 3 条流水线：",{"type":28,"tag":41,"props":741,"children":742},{},[743,753,763],{"type":28,"tag":45,"props":744,"children":745},{},[746,751],{"type":28,"tag":665,"props":747,"children":748},{},[749],{"type":33,"value":750},"改一小段",{"type":33,"value":752},"（内联编辑）：把改动限制在一个函数/一段样式",{"type":28,"tag":45,"props":754,"children":755},{},[756,761],{"type":28,"tag":665,"props":757,"children":758},{},[759],{"type":33,"value":760},"改一组文件",{"type":33,"value":762},"（Composer）：把改动限制在一组明确文件，并要求输出 diff + 验收点",{"type":28,"tag":45,"props":764,"children":765},{},[766,771],{"type":28,"tag":665,"props":767,"children":768},{},[769],{"type":33,"value":770},"聊清楚再动手",{"type":33,"value":772},"（侧边对话）：先对齐目标、范围、验收、回滚",{"type":28,"tag":29,"props":774,"children":775},{},[776],{"type":33,"value":777},"当你觉得“它乱改/改太大”时，往往不是快捷键没记住，而是缺了两件事：",{"type":28,"tag":41,"props":779,"children":780},{},[781,791],{"type":28,"tag":45,"props":782,"children":783},{},[784,786],{"type":33,"value":785},"没有在动手前锁定",{"type":28,"tag":665,"props":787,"children":788},{},[789],{"type":33,"value":790},"范围",{"type":28,"tag":45,"props":792,"children":793},{},[794,796],{"type":33,"value":795},"没有在接受改动前准备",{"type":28,"tag":665,"props":797,"children":798},{},[799],{"type":33,"value":800},"验收/回滚",{"type":28,"tag":726,"props":802,"children":803},{},[],{"type":28,"tag":113,"props":805,"children":807},{"id":806},"快捷键速查表按任务分组",[808],{"type":33,"value":809},"快捷键速查表（按任务分组）",{"type":28,"tag":29,"props":811,"children":812},{},[813],{"type":33,"value":814},"说明：下表按“你正在做什么”组织，而不是按“功能名字”组织。不同版本快捷键可能略有差异，但核心逻辑一致。",{"type":28,"tag":120,"props":816,"children":817},{},[818,844],{"type":28,"tag":124,"props":819,"children":820},{},[821],{"type":28,"tag":128,"props":822,"children":823},{},[824,829,834,839],{"type":28,"tag":132,"props":825,"children":826},{},[827],{"type":33,"value":828},"任务",{"type":28,"tag":132,"props":830,"children":831},{},[832],{"type":33,"value":833},"macOS",{"type":28,"tag":132,"props":835,"children":836},{},[837],{"type":33,"value":838},"Windows",{"type":28,"tag":132,"props":840,"children":841},{},[842],{"type":33,"value":843},"你该在什么时候用",{"type":28,"tag":148,"props":845,"children":846},{},[847,878,909,940,971,1002],{"type":28,"tag":128,"props":848,"children":849},{},[850,855,864,873],{"type":28,"tag":155,"props":851,"children":852},{},[853],{"type":33,"value":854},"改一小段（最安全）",{"type":28,"tag":155,"props":856,"children":857},{},[858],{"type":28,"tag":447,"props":859,"children":861},{"className":860},[],[862],{"type":33,"value":863},"Cmd + K",{"type":28,"tag":155,"props":865,"children":866},{},[867],{"type":28,"tag":447,"props":868,"children":870},{"className":869},[],[871],{"type":33,"value":872},"Ctrl + K",{"type":28,"tag":155,"props":874,"children":875},{},[876],{"type":33,"value":877},"只想改一个函数/一段 CSS，不想动别的",{"type":28,"tag":128,"props":879,"children":880},{},[881,886,895,904],{"type":28,"tag":155,"props":882,"children":883},{},[884],{"type":33,"value":885},"打开 AI 对话（先对齐再动手）",{"type":28,"tag":155,"props":887,"children":888},{},[889],{"type":28,"tag":447,"props":890,"children":892},{"className":891},[],[893],{"type":33,"value":894},"Cmd + L",{"type":28,"tag":155,"props":896,"children":897},{},[898],{"type":28,"tag":447,"props":899,"children":901},{"className":900},[],[902],{"type":33,"value":903},"Ctrl + L",{"type":28,"tag":155,"props":905,"children":906},{},[907],{"type":33,"value":908},"需要澄清目标、制定步骤、给验收点",{"type":28,"tag":128,"props":910,"children":911},{},[912,917,926,935],{"type":28,"tag":155,"props":913,"children":914},{},[915],{"type":33,"value":916},"多文件编辑（有组织地改一组文件）",{"type":28,"tag":155,"props":918,"children":919},{},[920],{"type":28,"tag":447,"props":921,"children":923},{"className":922},[],[924],{"type":33,"value":925},"Cmd + I",{"type":28,"tag":155,"props":927,"children":928},{},[929],{"type":28,"tag":447,"props":930,"children":932},{"className":931},[],[933],{"type":33,"value":934},"Ctrl + I",{"type":28,"tag":155,"props":936,"children":937},{},[938],{"type":33,"value":939},"改动涉及多个文件：组件+样式+测试",{"type":28,"tag":128,"props":941,"children":942},{},[943,948,957,966],{"type":28,"tag":155,"props":944,"children":945},{},[946],{"type":33,"value":947},"把选中代码加入对话上下文",{"type":28,"tag":155,"props":949,"children":950},{},[951],{"type":28,"tag":447,"props":952,"children":954},{"className":953},[],[955],{"type":33,"value":956},"Cmd + Shift + L",{"type":28,"tag":155,"props":958,"children":959},{},[960],{"type":28,"tag":447,"props":961,"children":963},{"className":962},[],[964],{"type":33,"value":965},"Ctrl + Shift + L",{"type":28,"tag":155,"props":967,"children":968},{},[969],{"type":33,"value":970},"让 AI 只看你选的片段（降低噪音）",{"type":28,"tag":128,"props":972,"children":973},{},[974,979,988,997],{"type":28,"tag":155,"props":975,"children":976},{},[977],{"type":33,"value":978},"接受当前建议",{"type":28,"tag":155,"props":980,"children":981},{},[982],{"type":28,"tag":447,"props":983,"children":985},{"className":984},[],[986],{"type":33,"value":987},"Cmd + Y",{"type":28,"tag":155,"props":989,"children":990},{},[991],{"type":28,"tag":447,"props":992,"children":994},{"className":993},[],[995],{"type":33,"value":996},"Ctrl + Y",{"type":28,"tag":155,"props":998,"children":999},{},[1000],{"type":33,"value":1001},"你已经准备好验收/回滚，并确认改动范围",{"type":28,"tag":128,"props":1003,"children":1004},{},[1005,1010,1019,1028],{"type":28,"tag":155,"props":1006,"children":1007},{},[1008],{"type":33,"value":1009},"拒绝当前建议",{"type":28,"tag":155,"props":1011,"children":1012},{},[1013],{"type":28,"tag":447,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":33,"value":1018},"Cmd + N",{"type":28,"tag":155,"props":1020,"children":1021},{},[1022],{"type":28,"tag":447,"props":1023,"children":1025},{"className":1024},[],[1026],{"type":33,"value":1027},"Ctrl + N",{"type":28,"tag":155,"props":1029,"children":1030},{},[1031],{"type":33,"value":1032},"改得太大、改错方向，立刻收手",{"type":28,"tag":1034,"props":1035,"children":1036},"blockquote",{},[1037],{"type":28,"tag":29,"props":1038,"children":1039},{},[1040],{"type":33,"value":1041},"小技巧：把“改一小段”当默认路径。只有当你能清晰写出“会改哪几类文件、怎么验收”时再进入多文件。",{"type":28,"tag":726,"props":1043,"children":1044},{},[],{"type":28,"tag":113,"props":1046,"children":1048},{"id":1047},"_10-个可直接照抄的提效工作流每个都能闭环",[1049],{"type":33,"value":1050},"10 个可直接照抄的提效工作流（每个都能闭环）",{"type":28,"tag":1052,"props":1053,"children":1055},"h3",{"id":1054},"工作流-1需求计划小步改新手最稳",[1056],{"type":33,"value":1057},"工作流 1：需求→计划→小步改（新手最稳）",{"type":28,"tag":246,"props":1059,"children":1060},{},[1061,1072],{"type":28,"tag":45,"props":1062,"children":1063},{},[1064,1070],{"type":28,"tag":447,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":33,"value":1069},"Cmd/Ctrl + L",{"type":33,"value":1071}," 打开对话",{"type":28,"tag":45,"props":1073,"children":1074},{},[1075],{"type":33,"value":1076},"先发这段（可复制）：",{"type":28,"tag":1034,"props":1078,"children":1079},{},[1080],{"type":28,"tag":29,"props":1081,"children":1082},{},[1083],{"type":33,"value":1084},"目标：……\n范围：只修改以下文件/模块：……\n非目标：……（明确不做）\n验收：……（可测试/可手动检查）\n输出格式：先给计划，再逐步执行；每一步写出 diff 摘要。",{"type":28,"tag":246,"props":1086,"children":1087},{"start":593},[1088,1093],{"type":28,"tag":45,"props":1089,"children":1090},{},[1091],{"type":33,"value":1092},"让 AI 先给“计划（3~6 步）”，你确认后再执行",{"type":28,"tag":45,"props":1094,"children":1095},{},[1096,1098,1104],{"type":33,"value":1097},"任何一步涉及改代码：优先回到编辑区，选中片段用 ",{"type":28,"tag":447,"props":1099,"children":1101},{"className":1100},[],[1102],{"type":33,"value":1103},"Cmd/Ctrl + K",{"type":33,"value":1105}," 小步改",{"type":28,"tag":29,"props":1107,"children":1108},{},[1109],{"type":33,"value":1110},"为什么有效：你把“想法”变成了“可执行约束”，这就是 GEO（面向 AI/模型的可理解结构）。",{"type":28,"tag":1052,"props":1112,"children":1114},{"id":1113},"工作流-2只改一个函数高频低风险",[1115],{"type":33,"value":1116},"工作流 2：只改一个函数（高频、低风险）",{"type":28,"tag":41,"props":1118,"children":1119},{},[1120],{"type":28,"tag":45,"props":1121,"children":1122},{},[1123,1125,1130],{"type":33,"value":1124},"选中函数 → ",{"type":28,"tag":447,"props":1126,"children":1128},{"className":1127},[],[1129],{"type":33,"value":1103},{"type":33,"value":1131}," → 输入指令：",{"type":28,"tag":1034,"props":1133,"children":1134},{},[1135,1140],{"type":28,"tag":29,"props":1136,"children":1137},{},[1138],{"type":33,"value":1139},"把这段改成更可读：",{"type":28,"tag":41,"props":1141,"children":1142},{},[1143,1148,1153,1158],{"type":28,"tag":45,"props":1144,"children":1145},{},[1146],{"type":33,"value":1147},"用 async/await",{"type":28,"tag":45,"props":1149,"children":1150},{},[1151],{"type":33,"value":1152},"错误处理不要吞掉",{"type":28,"tag":45,"props":1154,"children":1155},{},[1156],{"type":33,"value":1157},"添加类型（若可推断）",{"type":28,"tag":45,"props":1159,"children":1160},{},[1161],{"type":33,"value":1162},"不要改函数签名",{"type":28,"tag":29,"props":1164,"children":1165},{},[1166],{"type":33,"value":1167},"验收方式（强制）：",{"type":28,"tag":41,"props":1169,"children":1170},{},[1171,1176],{"type":28,"tag":45,"props":1172,"children":1173},{},[1174],{"type":33,"value":1175},"输出前后函数行为一致（输入/输出）",{"type":28,"tag":45,"props":1177,"children":1178},{},[1179],{"type":33,"value":1180},"失败分支有可观测日志（不要悄悄 return null）",{"type":28,"tag":1052,"props":1182,"children":1184},{"id":1183},"工作流-3多文件改动先定文件清单",[1185],{"type":33,"value":1186},"工作流 3：多文件改动（先定“文件清单”）",{"type":28,"tag":246,"props":1188,"children":1189},{},[1190,1201],{"type":28,"tag":45,"props":1191,"children":1192},{},[1193,1199],{"type":28,"tag":447,"props":1194,"children":1196},{"className":1195},[],[1197],{"type":33,"value":1198},"Cmd/Ctrl + I",{"type":33,"value":1200}," 进入多文件",{"type":28,"tag":45,"props":1202,"children":1203},{},[1204],{"type":33,"value":1205},"先让 AI 输出：",{"type":28,"tag":41,"props":1207,"children":1208},{},[1209,1214,1219],{"type":28,"tag":45,"props":1210,"children":1211},{},[1212],{"type":33,"value":1213},"预计会改哪些文件（最多 5 个）",{"type":28,"tag":45,"props":1215,"children":1216},{},[1217],{"type":33,"value":1218},"每个文件改什么",{"type":28,"tag":45,"props":1220,"children":1221},{},[1222],{"type":33,"value":1223},"每一步怎么验收",{"type":28,"tag":246,"props":1225,"children":1226},{"start":593},[1227],{"type":28,"tag":45,"props":1228,"children":1229},{},[1230],{"type":33,"value":1231},"你确认文件清单后再开始生成改动",{"type":28,"tag":29,"props":1233,"children":1234},{},[1235],{"type":33,"value":1236},"关键点：多文件最容易翻车的是“它把你没想到的文件也改了”。所以文件清单是第一道闸门。",{"type":28,"tag":1052,"props":1238,"children":1240},{"id":1239},"工作流-4把上下文噪音砍掉防跑偏",[1241],{"type":33,"value":1242},"工作流 4：把“上下文噪音”砍掉（防跑偏）",{"type":28,"tag":29,"props":1244,"children":1245},{},[1246],{"type":33,"value":1247},"当你怀疑它在胡说/乱改时：",{"type":28,"tag":41,"props":1249,"children":1250},{},[1251,1264],{"type":28,"tag":45,"props":1252,"children":1253},{},[1254,1256,1262],{"type":33,"value":1255},"只选择关键代码片段 → ",{"type":28,"tag":447,"props":1257,"children":1259},{"className":1258},[],[1260],{"type":33,"value":1261},"Cmd/Ctrl + Shift + L",{"type":33,"value":1263}," 加入对话",{"type":28,"tag":45,"props":1265,"children":1266},{},[1267],{"type":33,"value":1268},"然后在对话里要求：",{"type":28,"tag":1034,"props":1270,"children":1271},{},[1272],{"type":28,"tag":29,"props":1273,"children":1274},{},[1275],{"type":33,"value":1276},"只基于我提供的代码片段回答，不要假设其它文件存在。",{"type":28,"tag":1052,"props":1278,"children":1280},{"id":1279},"工作流-5生成变更说明让-code-review-变快",[1281],{"type":33,"value":1282},"工作流 5：生成变更说明（让 code review 变快）",{"type":28,"tag":29,"props":1284,"children":1285},{},[1286],{"type":33,"value":1287},"改完后在对话里让它输出：",{"type":28,"tag":41,"props":1289,"children":1290},{},[1291,1296,1301,1306],{"type":28,"tag":45,"props":1292,"children":1293},{},[1294],{"type":33,"value":1295},"改动摘要（3~7 条）",{"type":28,"tag":45,"props":1297,"children":1298},{},[1299],{"type":33,"value":1300},"风险点（依赖/边界条件）",{"type":28,"tag":45,"props":1302,"children":1303},{},[1304],{"type":33,"value":1305},"回滚方式",{"type":28,"tag":45,"props":1307,"children":1308},{},[1309],{"type":33,"value":1310},"验收步骤",{"type":28,"tag":29,"props":1312,"children":1313},{},[1314],{"type":33,"value":1315},"这套结构能直接贴进 PR 描述。",{"type":28,"tag":1052,"props":1317,"children":1319},{"id":1318},"工作流-6写最小回归集不写回归-等事故",[1320],{"type":33,"value":1321},"工作流 6：写“最小回归集”（不写回归 = 等事故）",{"type":28,"tag":29,"props":1323,"children":1324},{},[1325,1327,1333],{"type":33,"value":1326},"每次改动都至少做 10 条最小回归（见下文清单）。你可以把它写在 ",{"type":28,"tag":447,"props":1328,"children":1330},{"className":1329},[],[1331],{"type":33,"value":1332},"README",{"type":33,"value":1334}," 或团队 wiki。",{"type":28,"tag":1052,"props":1336,"children":1338},{"id":1337},"工作流-7把接受建议变成最后一步",[1339],{"type":33,"value":1340},"工作流 7：把“接受建议”变成最后一步",{"type":28,"tag":29,"props":1342,"children":1343},{},[1344,1350,1352,1357],{"type":28,"tag":447,"props":1345,"children":1347},{"className":1346},[],[1348],{"type":33,"value":1349},"Cmd/Ctrl + Y",{"type":33,"value":1351}," 应该是",{"type":28,"tag":665,"props":1353,"children":1354},{},[1355],{"type":33,"value":1356},"最后一步",{"type":33,"value":1358},"：",{"type":28,"tag":41,"props":1360,"children":1361},{},[1362,1367,1372],{"type":28,"tag":45,"props":1363,"children":1364},{},[1365],{"type":33,"value":1366},"你已经看过 diff",{"type":28,"tag":45,"props":1368,"children":1369},{},[1370],{"type":33,"value":1371},"你能说清楚“怎么验收”",{"type":28,"tag":45,"props":1373,"children":1374},{},[1375],{"type":33,"value":1376},"你知道“怎么回滚”",{"type":28,"tag":1052,"props":1378,"children":1380},{"id":1379},"工作流-8拒绝建议不是失败是风控动作",[1381],{"type":33,"value":1382},"工作流 8：拒绝建议不是失败，是风控动作",{"type":28,"tag":29,"props":1384,"children":1385},{},[1386,1392],{"type":28,"tag":447,"props":1387,"children":1389},{"className":1388},[],[1390],{"type":33,"value":1391},"Cmd/Ctrl + N",{"type":33,"value":1393}," 的使用时机：",{"type":28,"tag":41,"props":1395,"children":1396},{},[1397,1402,1407],{"type":28,"tag":45,"props":1398,"children":1399},{},[1400],{"type":33,"value":1401},"它开始改你没提过的东西（范围漂移）",{"type":28,"tag":45,"props":1403,"children":1404},{},[1405],{"type":33,"value":1406},"它改了 10 个文件但你只想改 1 个",{"type":28,"tag":45,"props":1408,"children":1409},{},[1410],{"type":33,"value":1411},"它为了“更优雅”引入新依赖/新抽象",{"type":28,"tag":1052,"props":1413,"children":1415},{"id":1414},"工作流-9重复任务做成模板提示词不是一次性",[1416],{"type":33,"value":1417},"工作流 9：重复任务做成模板（提示词不是一次性）",{"type":28,"tag":29,"props":1419,"children":1420},{},[1421,1423,1427],{"type":33,"value":1422},"把高频任务（比如“写组件+样式+验收”）固化成模板，放进 Rules（见：",{"type":28,"tag":81,"props":1424,"children":1425},{"href":721},[1426],{"type":33,"value":724},{"type":33,"value":1428},"）。",{"type":28,"tag":1052,"props":1430,"children":1432},{"id":1431},"工作流-10把快捷键表做成你自己的任务表",[1433],{"type":33,"value":1434},"工作流 10：把“快捷键表”做成你自己的任务表",{"type":28,"tag":29,"props":1436,"children":1437},{},[1438],{"type":33,"value":1439},"你不需要记住所有快捷键，只需要记住：",{"type":28,"tag":41,"props":1441,"children":1442},{},[1443,1453,1463,1473],{"type":28,"tag":45,"props":1444,"children":1445},{},[1446,1448],{"type":33,"value":1447},"小步改：",{"type":28,"tag":447,"props":1449,"children":1451},{"className":1450},[],[1452],{"type":33,"value":1103},{"type":28,"tag":45,"props":1454,"children":1455},{},[1456,1458],{"type":33,"value":1457},"先对齐：",{"type":28,"tag":447,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":33,"value":1069},{"type":28,"tag":45,"props":1464,"children":1465},{},[1466,1468],{"type":33,"value":1467},"多文件：",{"type":28,"tag":447,"props":1469,"children":1471},{"className":1470},[],[1472],{"type":33,"value":1198},{"type":28,"tag":45,"props":1474,"children":1475},{},[1476,1478],{"type":33,"value":1477},"上下文聚焦：",{"type":28,"tag":447,"props":1479,"children":1481},{"className":1480},[],[1482],{"type":33,"value":1261},{"type":28,"tag":726,"props":1484,"children":1485},{},[],{"type":28,"tag":113,"props":1487,"children":1489},{"id":1488},"必交付物-1最小回归任务清单10-条通用",[1490],{"type":33,"value":1491},"必交付物 1：最小回归任务清单（10 条，通用）",{"type":28,"tag":1034,"props":1493,"children":1494},{},[1495],{"type":28,"tag":29,"props":1496,"children":1497},{},[1498],{"type":33,"value":1499},"这份清单的意义：让每次 AI 改动都能“被验证”。否则你只是把不可控变成了更快的不可控。",{"type":28,"tag":246,"props":1501,"children":1502},{},[1503,1508,1513,1518,1523,1528,1533,1538,1543,1548],{"type":28,"tag":45,"props":1504,"children":1505},{},[1506],{"type":33,"value":1507},"关键路径能跑通（手动点击/请求一次）",{"type":28,"tag":45,"props":1509,"children":1510},{},[1511],{"type":33,"value":1512},"错误路径能触发（模拟一次失败输入）",{"type":28,"tag":45,"props":1514,"children":1515},{},[1516],{"type":33,"value":1517},"控制台无新增错误（至少关注 1 次真实操作）",{"type":28,"tag":45,"props":1519,"children":1520},{},[1521],{"type":33,"value":1522},"关键 UI 未错位（移动端/桌面端各看一眼）",{"type":28,"tag":45,"props":1524,"children":1525},{},[1526],{"type":33,"value":1527},"刷新后状态正确（尤其是表单/列表）",{"type":28,"tag":45,"props":1529,"children":1530},{},[1531],{"type":33,"value":1532},"路由跳转没断（从入口到目标页）",{"type":28,"tag":45,"props":1534,"children":1535},{},[1536],{"type":33,"value":1537},"相关接口未改变契约（字段名/类型）",{"type":28,"tag":45,"props":1539,"children":1540},{},[1541],{"type":33,"value":1542},"性能没有明显退化（首屏、交互卡顿）",{"type":28,"tag":45,"props":1544,"children":1545},{},[1546],{"type":33,"value":1547},"回滚方案可执行（知道回滚哪几个文件/commit）",{"type":28,"tag":45,"props":1549,"children":1550},{},[1551],{"type":33,"value":1552},"写下“这次改动解决了什么、风险是什么”（可贴 PR）",{"type":28,"tag":726,"props":1554,"children":1555},{},[],{"type":28,"tag":113,"props":1557,"children":1559},{"id":1558},"必交付物-2失败案例复盘真实会发生",[1560],{"type":33,"value":1561},"必交付物 2：失败案例复盘（真实会发生）",{"type":28,"tag":1052,"props":1563,"children":1565},{"id":1564},"现象快捷键用得很熟但交付还是慢",[1566],{"type":33,"value":1567},"现象：快捷键用得很熟，但交付还是慢",{"type":28,"tag":29,"props":1569,"children":1570},{},[1571],{"type":33,"value":1572},"典型原因：你把 Cursor 当成“更聪明的搜索框”，不断对话，直到它给出你想要的答案。",{"type":28,"tag":29,"props":1574,"children":1575},{},[1576],{"type":33,"value":1577},"复现路径：",{"type":28,"tag":41,"props":1579,"children":1580},{},[1581,1586,1591,1596],{"type":28,"tag":45,"props":1582,"children":1583},{},[1584],{"type":33,"value":1585},"你直接说“把页面做得更好看、更高级”",{"type":28,"tag":45,"props":1587,"children":1588},{},[1589],{"type":33,"value":1590},"AI 开始大改样式、抽象组件、甚至引入新依赖",{"type":28,"tag":45,"props":1592,"children":1593},{},[1594],{"type":33,"value":1595},"你为了省事按了“接受建议”",{"type":28,"tag":45,"props":1597,"children":1598},{},[1599],{"type":33,"value":1600},"最后发现：设计没统一、移动端崩、甚至埋了性能问题",{"type":28,"tag":29,"props":1602,"children":1603},{},[1604,1606,1610,1612,1617],{"type":33,"value":1605},"根因：缺少",{"type":28,"tag":665,"props":1607,"children":1608},{},[1609],{"type":33,"value":790},{"type":33,"value":1611},"与",{"type":28,"tag":665,"props":1613,"children":1614},{},[1615],{"type":33,"value":1616},"验收",{"type":33,"value":111},{"type":28,"tag":29,"props":1619,"children":1620},{},[1621],{"type":33,"value":1622},"修复方式（可照抄）：",{"type":28,"tag":41,"props":1624,"children":1625},{},[1626,1631,1643],{"type":28,"tag":45,"props":1627,"children":1628},{},[1629],{"type":33,"value":1630},"把需求拆成 3 个可验证目标：例如“按钮样式统一”“首屏 CTA 更明显”“移动端间距不挤”",{"type":28,"tag":45,"props":1632,"children":1633},{},[1634,1636,1641],{"type":33,"value":1635},"每个目标只用 ",{"type":28,"tag":447,"props":1637,"children":1639},{"className":1638},[],[1640],{"type":33,"value":1103},{"type":33,"value":1642}," 改一个局部",{"type":28,"tag":45,"props":1644,"children":1645},{},[1646],{"type":33,"value":1647},"每次接受建议前跑一遍“最小回归集”",{"type":28,"tag":726,"props":1649,"children":1650},{},[],{"type":28,"tag":113,"props":1652,"children":1654},{"id":1653},"faq高频问题",[1655],{"type":33,"value":1656},"FAQ（高频问题）",{"type":28,"tag":1052,"props":1658,"children":1660},{"id":1659},"q1我应该先记快捷键还是先学工作流",[1661],{"type":33,"value":1662},"Q1：我应该先记快捷键还是先学工作流？",{"type":28,"tag":29,"props":1664,"children":1665},{},[1666],{"type":33,"value":1667},"先学工作流。快捷键只是把工作流的步骤变短。",{"type":28,"tag":1052,"props":1669,"children":1671},{"id":1670},"q2为什么我一用多文件就容易翻车",[1672],{"type":33,"value":1673},"Q2：为什么我一用多文件就容易翻车？",{"type":28,"tag":29,"props":1675,"children":1676},{},[1677],{"type":33,"value":1678},"因为多文件意味着范围更大、依赖更多、验收更难。先锁定“文件清单 + 每步验收”，再让它动手。",{"type":28,"tag":1052,"props":1680,"children":1682},{"id":1681},"q3有没有万能提示词",[1683],{"type":33,"value":1684},"Q3：有没有“万能提示词”？",{"type":28,"tag":29,"props":1686,"children":1687},{},[1688],{"type":33,"value":1689},"没有，但有“万能结构”：目标、范围、非目标、验收、输出格式。",{"type":28,"tag":726,"props":1691,"children":1692},{},[],{"type":28,"tag":113,"props":1694,"children":1696},{"id":1695},"延伸阅读建议按顺序",[1697],{"type":33,"value":1698},"延伸阅读（建议按顺序）",{"type":28,"tag":41,"props":1700,"children":1701},{},[1702,1709,1716,1723],{"type":28,"tag":45,"props":1703,"children":1704},{},[1705],{"type":28,"tag":81,"props":1706,"children":1707},{"href":699},[1708],{"type":33,"value":702},{"type":28,"tag":45,"props":1710,"children":1711},{},[1712],{"type":28,"tag":81,"props":1713,"children":1714},{"href":710},[1715],{"type":33,"value":713},{"type":28,"tag":45,"props":1717,"children":1718},{},[1719],{"type":28,"tag":81,"props":1720,"children":1721},{"href":721},[1722],{"type":33,"value":724},{"type":28,"tag":45,"props":1724,"children":1725},{},[1726,1728],{"type":33,"value":1727},"如果你更关心“网页制作落地”：看这篇 ",{"type":28,"tag":81,"props":1729,"children":1731},{"href":1730},"/topics/practical-tips/htmlpage-quick-landing-page",[1732],{"type":33,"value":1733},"3 分钟用 HTMLPAGE 做落地页",{"title":7,"searchDepth":593,"depth":593,"links":1735},[1736,1737,1738,1750,1751,1754,1759],{"id":731,"depth":596,"text":734},{"id":806,"depth":596,"text":809},{"id":1047,"depth":596,"text":1050,"children":1739},[1740,1741,1742,1743,1744,1745,1746,1747,1748,1749],{"id":1054,"depth":593,"text":1057},{"id":1113,"depth":593,"text":1116},{"id":1183,"depth":593,"text":1186},{"id":1239,"depth":593,"text":1242},{"id":1279,"depth":593,"text":1282},{"id":1318,"depth":593,"text":1321},{"id":1337,"depth":593,"text":1340},{"id":1379,"depth":593,"text":1382},{"id":1414,"depth":593,"text":1417},{"id":1431,"depth":593,"text":1434},{"id":1488,"depth":596,"text":1491},{"id":1558,"depth":596,"text":1561,"children":1752},[1753],{"id":1564,"depth":593,"text":1567},{"id":1653,"depth":596,"text":1656,"children":1755},[1756,1757,1758],{"id":1659,"depth":593,"text":1662},{"id":1670,"depth":593,"text":1673},{"id":1681,"depth":593,"text":1684},{"id":1695,"depth":596,"text":1698},"content:topics:ai:cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet",{"_path":1764,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1765,"description":1766,"date":1767,"topic":5,"author":11,"tags":1768,"image":1772,"imageAlt":1773,"pexelsPhotoId":1774,"pexelsUrl":1775,"readingTime":1776,"body":1777,"_type":603,"_id":2709,"_source":605,"_file":2710,"_stem":2711,"_extension":608},"/topics/ai/cursor-vs-copilot-vscode-workflow","Cursor vs GitHub Copilot vs VS Code：怎么选、怎么搭配、怎么把风险关在笼子里","用“任务类型×风险×验收成本”的选择矩阵解释 Cursor/Copilot/VS Code 的差异，并给出一套可落地的协作工作流（范围闸门、最小回归集、回滚策略）。","2026-03-01",[616,1769,619,1770,1771],"GitHub Copilot","AI 编程","工作流","/images/topics/ai/cursor-vs-copilot-vscode-workflow.jpg","团队在电脑前进行协作讨论",1181371,"https://www.pexels.com/photo/man-wearing-blue-dress-shirt-1181371/",15,{"type":25,"children":1778,"toc":2687},[1779,1784,1789,1807,1812,1830,1833,1839,1844,1875,1880,1883,1889,1897,2101,2109,2122,2125,2131,2137,2150,2155,2168,2174,2179,2212,2218,2223,2241,2244,2250,2255,2261,2266,2299,2305,2318,2323,2336,2342,2354,2360,2365,2378,2383,2386,2392,2397,2518,2521,2527,2537,2546,2564,2573,2581,2590,2608,2611,2617,2623,2628,2634,2639,2642,2646],{"type":28,"tag":29,"props":1780,"children":1781},{},[1782],{"type":33,"value":1783},"“Cursor 和 Copilot 到底有什么区别？”",{"type":28,"tag":29,"props":1785,"children":1786},{},[1787],{"type":33,"value":1788},"这个问题问得越早越好，因为你一旦把工具选错，后面所有痛苦都不是“提示词不够好”，而是：",{"type":28,"tag":41,"props":1790,"children":1791},{},[1792,1797,1802],{"type":28,"tag":45,"props":1793,"children":1794},{},[1795],{"type":33,"value":1796},"改动不可控（范围漂移、改错文件）",{"type":28,"tag":45,"props":1798,"children":1799},{},[1800],{"type":33,"value":1801},"验收成本爆炸（不知道要测什么）",{"type":28,"tag":45,"props":1803,"children":1804},{},[1805],{"type":33,"value":1806},"团队协作崩盘（没有闸门、没有回滚）",{"type":28,"tag":29,"props":1808,"children":1809},{},[1810],{"type":33,"value":1811},"这篇文章用一张选择矩阵 + 一套可执行工作流，帮你做到两件事：",{"type":28,"tag":246,"props":1813,"children":1814},{},[1815,1820],{"type":28,"tag":45,"props":1816,"children":1817},{},[1818],{"type":33,"value":1819},"知道什么时候用 Cursor、什么时候用 Copilot、什么时候“纯 VS Code 更快”",{"type":28,"tag":45,"props":1821,"children":1822},{},[1823,1825],{"type":33,"value":1824},"就算用 AI，也能把风险关在笼子里：",{"type":28,"tag":665,"props":1826,"children":1827},{},[1828],{"type":33,"value":1829},"可审查、可验证、可回滚",{"type":28,"tag":726,"props":1831,"children":1832},{},[],{"type":28,"tag":113,"props":1834,"children":1836},{"id":1835},"结论先说三者不是互斥而是分工",[1837],{"type":33,"value":1838},"结论先说：三者不是互斥，而是分工",{"type":28,"tag":29,"props":1840,"children":1841},{},[1842],{"type":33,"value":1843},"你可以把它们看成三层能力：",{"type":28,"tag":41,"props":1845,"children":1846},{},[1847,1856,1866],{"type":28,"tag":45,"props":1848,"children":1849},{},[1850,1854],{"type":28,"tag":665,"props":1851,"children":1852},{},[1853],{"type":33,"value":619},{"type":33,"value":1855},"：编辑器与生态（调试、插件、任务、终端、语言服务）",{"type":28,"tag":45,"props":1857,"children":1858},{},[1859,1864],{"type":28,"tag":665,"props":1860,"children":1861},{},[1862],{"type":33,"value":1863},"Copilot",{"type":33,"value":1865},"：代码补全与局部建议（“我正在写这一行/这一段”）",{"type":28,"tag":45,"props":1867,"children":1868},{},[1869,1873],{"type":28,"tag":665,"props":1870,"children":1871},{},[1872],{"type":33,"value":616},{"type":33,"value":1874},"：以项目为单位的 AI 协作（对话、索引、多文件编辑、规则）",{"type":28,"tag":29,"props":1876,"children":1877},{},[1878],{"type":33,"value":1879},"最常见的误区是：把“局部补全能力”当作“能做架构与多文件落地”。",{"type":28,"tag":726,"props":1881,"children":1882},{},[],{"type":28,"tag":113,"props":1884,"children":1886},{"id":1885},"选择矩阵按任务类型选工具不是按偏好",[1887],{"type":33,"value":1888},"选择矩阵：按任务类型选工具（不是按偏好）",{"type":28,"tag":1034,"props":1890,"children":1891},{},[1892],{"type":28,"tag":29,"props":1893,"children":1894},{},[1895],{"type":33,"value":1896},"你只要把自己的任务放进表格，就能得到推荐路径。",{"type":28,"tag":120,"props":1898,"children":1899},{},[1900,1932],{"type":28,"tag":124,"props":1901,"children":1902},{},[1903],{"type":28,"tag":128,"props":1904,"children":1905},{},[1906,1911,1917,1922,1927],{"type":28,"tag":132,"props":1907,"children":1908},{},[1909],{"type":33,"value":1910},"任务类型",{"type":28,"tag":132,"props":1912,"children":1914},{"align":1913},"right",[1915],{"type":33,"value":1916},"风险",{"type":28,"tag":132,"props":1918,"children":1919},{"align":1913},[1920],{"type":33,"value":1921},"验收成本",{"type":28,"tag":132,"props":1923,"children":1924},{},[1925],{"type":33,"value":1926},"更推荐",{"type":28,"tag":132,"props":1928,"children":1929},{},[1930],{"type":33,"value":1931},"为什么",{"type":28,"tag":148,"props":1933,"children":1934},{},[1935,1962,1995,2021,2048,2075],{"type":28,"tag":128,"props":1936,"children":1937},{},[1938,1943,1948,1952,1957],{"type":28,"tag":155,"props":1939,"children":1940},{},[1941],{"type":33,"value":1942},"写一段代码/补一个 if",{"type":28,"tag":155,"props":1944,"children":1945},{"align":1913},[1946],{"type":33,"value":1947},"低",{"type":28,"tag":155,"props":1949,"children":1950},{"align":1913},[1951],{"type":33,"value":1947},{"type":28,"tag":155,"props":1953,"children":1954},{},[1955],{"type":33,"value":1956},"Copilot / Cursor 内联编辑",{"type":28,"tag":155,"props":1958,"children":1959},{},[1960],{"type":33,"value":1961},"局部建议足够，成本最低",{"type":28,"tag":128,"props":1963,"children":1964},{},[1965,1970,1975,1979,1990],{"type":28,"tag":155,"props":1966,"children":1967},{},[1968],{"type":33,"value":1969},"重构一个函数",{"type":28,"tag":155,"props":1971,"children":1972},{"align":1913},[1973],{"type":33,"value":1974},"中",{"type":28,"tag":155,"props":1976,"children":1977},{"align":1913},[1978],{"type":33,"value":1974},{"type":28,"tag":155,"props":1980,"children":1981},{},[1982,1984],{"type":33,"value":1983},"Cursor ",{"type":28,"tag":447,"props":1985,"children":1987},{"className":1986},[],[1988],{"type":33,"value":1989},"内联编辑",{"type":28,"tag":155,"props":1991,"children":1992},{},[1993],{"type":33,"value":1994},"需要解释、需要约束输出",{"type":28,"tag":128,"props":1996,"children":1997},{},[1998,2003,2007,2011,2016],{"type":28,"tag":155,"props":1999,"children":2000},{},[2001],{"type":33,"value":2002},"改一个组件 + 样式",{"type":28,"tag":155,"props":2004,"children":2005},{"align":1913},[2006],{"type":33,"value":1974},{"type":28,"tag":155,"props":2008,"children":2009},{"align":1913},[2010],{"type":33,"value":1974},{"type":28,"tag":155,"props":2012,"children":2013},{},[2014],{"type":33,"value":2015},"Cursor（小范围多文件）",{"type":28,"tag":155,"props":2017,"children":2018},{},[2019],{"type":33,"value":2020},"需要同时改模板与样式",{"type":28,"tag":128,"props":2022,"children":2023},{},[2024,2029,2034,2038,2043],{"type":28,"tag":155,"props":2025,"children":2026},{},[2027],{"type":33,"value":2028},"改 3~5 个文件（组件+api+测试）",{"type":28,"tag":155,"props":2030,"children":2031},{"align":1913},[2032],{"type":33,"value":2033},"高",{"type":28,"tag":155,"props":2035,"children":2036},{"align":1913},[2037],{"type":33,"value":2033},{"type":28,"tag":155,"props":2039,"children":2040},{},[2041],{"type":33,"value":2042},"Cursor Composer + 闸门",{"type":28,"tag":155,"props":2044,"children":2045},{},[2046],{"type":33,"value":2047},"需要计划、验收、回滚",{"type":28,"tag":128,"props":2049,"children":2050},{},[2051,2056,2061,2065,2070],{"type":28,"tag":155,"props":2052,"children":2053},{},[2054],{"type":33,"value":2055},"重写一段架构/引入新依赖",{"type":28,"tag":155,"props":2057,"children":2058},{"align":1913},[2059],{"type":33,"value":2060},"很高",{"type":28,"tag":155,"props":2062,"children":2063},{"align":1913},[2064],{"type":33,"value":2060},{"type":28,"tag":155,"props":2066,"children":2067},{},[2068],{"type":33,"value":2069},"先人脑设计 + VS Code 实现",{"type":28,"tag":155,"props":2071,"children":2072},{},[2073],{"type":33,"value":2074},"AI 易发散，最好先设计再执行",{"type":28,"tag":128,"props":2076,"children":2077},{},[2078,2083,2087,2091,2096],{"type":28,"tag":155,"props":2079,"children":2080},{},[2081],{"type":33,"value":2082},"排查线上问题/性能抖动",{"type":28,"tag":155,"props":2084,"children":2085},{"align":1913},[2086],{"type":33,"value":2033},{"type":28,"tag":155,"props":2088,"children":2089},{"align":1913},[2090],{"type":33,"value":2060},{"type":28,"tag":155,"props":2092,"children":2093},{},[2094],{"type":33,"value":2095},"VS Code + 工具链优先，AI 辅助归纳",{"type":28,"tag":155,"props":2097,"children":2098},{},[2099],{"type":33,"value":2100},"需要证据，不要“猜”",{"type":28,"tag":29,"props":2102,"children":2103},{},[2104],{"type":28,"tag":665,"props":2105,"children":2106},{},[2107],{"type":33,"value":2108},"一句话规则：",{"type":28,"tag":41,"props":2110,"children":2111},{},[2112,2117],{"type":28,"tag":45,"props":2113,"children":2114},{},[2115],{"type":33,"value":2116},"当你的改动可以用“10 条最小回归集”覆盖时，用 Cursor。",{"type":28,"tag":45,"props":2118,"children":2119},{},[2120],{"type":33,"value":2121},"当你的改动无法验证时，先别让 AI 动手。",{"type":28,"tag":726,"props":2123,"children":2124},{},[],{"type":28,"tag":113,"props":2126,"children":2128},{"id":2127},"差异拆解到底差在哪里",[2129],{"type":33,"value":2130},"差异拆解：到底差在哪里？",{"type":28,"tag":1052,"props":2132,"children":2134},{"id":2133},"_1-上下文来源补全-vs-项目索引",[2135],{"type":33,"value":2136},"1) 上下文来源：补全 vs 项目索引",{"type":28,"tag":41,"props":2138,"children":2139},{},[2140,2145],{"type":28,"tag":45,"props":2141,"children":2142},{},[2143],{"type":33,"value":2144},"Copilot 更擅长：你正在写的这几行、当前文件的局部上下文",{"type":28,"tag":45,"props":2146,"children":2147},{},[2148],{"type":33,"value":2149},"Cursor 更擅长：项目级索引 + 多文件关联理解",{"type":28,"tag":29,"props":2151,"children":2152},{},[2153],{"type":33,"value":2154},"因此：",{"type":28,"tag":41,"props":2156,"children":2157},{},[2158,2163],{"type":28,"tag":45,"props":2159,"children":2160},{},[2161],{"type":33,"value":2162},"写代码片段：Copilot 速度更快",{"type":28,"tag":45,"props":2164,"children":2165},{},[2166],{"type":33,"value":2167},"改一坨工程：Cursor 更有胜算（但更需要闸门）",{"type":28,"tag":1052,"props":2169,"children":2171},{"id":2170},"_2-交互方式你能不能控制范围",[2172],{"type":33,"value":2173},"2) 交互方式：你能不能控制范围",{"type":28,"tag":29,"props":2175,"children":2176},{},[2177],{"type":33,"value":2178},"范围控制的三个层级：",{"type":28,"tag":246,"props":2180,"children":2181},{},[2182,2192,2202],{"type":28,"tag":45,"props":2183,"children":2184},{},[2185,2187],{"type":33,"value":2186},"内联编辑（选中一段）→ ",{"type":28,"tag":665,"props":2188,"children":2189},{},[2190],{"type":33,"value":2191},"最强范围控制",{"type":28,"tag":45,"props":2193,"children":2194},{},[2195,2197],{"type":33,"value":2196},"Composer 多文件（先列文件清单）→ ",{"type":28,"tag":665,"props":2198,"children":2199},{},[2200],{"type":33,"value":2201},"可控但要闸门",{"type":28,"tag":45,"props":2203,"children":2204},{},[2205,2207],{"type":33,"value":2206},"大对话（泛目标）→ ",{"type":28,"tag":665,"props":2208,"children":2209},{},[2210],{"type":33,"value":2211},"最容易跑偏",{"type":28,"tag":1052,"props":2213,"children":2215},{"id":2214},"_3-输出形态建议-vs-可审查的变更",[2216],{"type":33,"value":2217},"3) 输出形态：建议 vs 可审查的变更",{"type":28,"tag":29,"props":2219,"children":2220},{},[2221],{"type":33,"value":2222},"最好的 AI 输出不是“给我一段代码”，而是：",{"type":28,"tag":41,"props":2224,"children":2225},{},[2226,2231,2236],{"type":28,"tag":45,"props":2227,"children":2228},{},[2229],{"type":33,"value":2230},"改动摘要（做了什么）",{"type":28,"tag":45,"props":2232,"children":2233},{},[2234],{"type":33,"value":2235},"diff 级别的可审查变更",{"type":28,"tag":45,"props":2237,"children":2238},{},[2239],{"type":33,"value":2240},"验收步骤与回滚方案",{"type":28,"tag":726,"props":2242,"children":2243},{},[],{"type":28,"tag":113,"props":2245,"children":2247},{"id":2246},"一套可落地的团队工作流把风险关住",[2248],{"type":33,"value":2249},"一套可落地的团队工作流（把风险关住）",{"type":28,"tag":29,"props":2251,"children":2252},{},[2253],{"type":33,"value":2254},"下面这套流程，你可以直接写进团队规范：",{"type":28,"tag":1052,"props":2256,"children":2258},{"id":2257},"step-1先写任务单geo-友好结构",[2259],{"type":33,"value":2260},"Step 1：先写任务单（GEO 友好结构）",{"type":28,"tag":29,"props":2262,"children":2263},{},[2264],{"type":33,"value":2265},"模板：",{"type":28,"tag":41,"props":2267,"children":2268},{},[2269,2274,2279,2284,2289,2294],{"type":28,"tag":45,"props":2270,"children":2271},{},[2272],{"type":33,"value":2273},"目标：……",{"type":28,"tag":45,"props":2275,"children":2276},{},[2277],{"type":33,"value":2278},"背景：……",{"type":28,"tag":45,"props":2280,"children":2281},{},[2282],{"type":33,"value":2283},"范围：只改这些文件/模块：……",{"type":28,"tag":45,"props":2285,"children":2286},{},[2287],{"type":33,"value":2288},"非目标：不做哪些事情：……",{"type":28,"tag":45,"props":2290,"children":2291},{},[2292],{"type":33,"value":2293},"验收：如何判断完成（可测试/可观察）：……",{"type":28,"tag":45,"props":2295,"children":2296},{},[2297],{"type":33,"value":2298},"回滚：如果失败怎么撤回：……",{"type":28,"tag":1052,"props":2300,"children":2302},{"id":2301},"step-2用范围闸门限制-ai",[2303],{"type":33,"value":2304},"Step 2：用“范围闸门”限制 AI",{"type":28,"tag":41,"props":2306,"children":2307},{},[2308,2313],{"type":28,"tag":45,"props":2309,"children":2310},{},[2311],{"type":33,"value":2312},"单文件改动：优先 Cursor 内联编辑",{"type":28,"tag":45,"props":2314,"children":2315},{},[2316],{"type":33,"value":2317},"多文件改动：必须先让 AI 输出“文件清单（≤5）+ 每步验收”",{"type":28,"tag":29,"props":2319,"children":2320},{},[2321],{"type":33,"value":2322},"如果 AI 输出的文件清单超过 5 个：",{"type":28,"tag":41,"props":2324,"children":2325},{},[2326,2331],{"type":28,"tag":45,"props":2327,"children":2328},{},[2329],{"type":33,"value":2330},"不是它太强，是任务太大",{"type":28,"tag":45,"props":2332,"children":2333},{},[2334],{"type":33,"value":2335},"你需要拆任务，而不是继续推进",{"type":28,"tag":1052,"props":2337,"children":2339},{"id":2338},"step-3最小回归集10-条",[2340],{"type":33,"value":2341},"Step 3：最小回归集（10 条）",{"type":28,"tag":29,"props":2343,"children":2344},{},[2345,2347,2352],{"type":33,"value":2346},"每次接受改动前必须跑（可参考：",{"type":28,"tag":81,"props":2348,"children":2349},{"href":611},[2350],{"type":33,"value":2351},"Cursor 快捷键速查表",{"type":33,"value":2353}," 里的清单）。",{"type":28,"tag":1052,"props":2355,"children":2357},{"id":2356},"step-4回滚策略不用等事故才想",[2358],{"type":33,"value":2359},"Step 4：回滚策略（不用等事故才想）",{"type":28,"tag":29,"props":2361,"children":2362},{},[2363],{"type":33,"value":2364},"回滚最常见的两条路：",{"type":28,"tag":41,"props":2366,"children":2367},{},[2368,2373],{"type":28,"tag":45,"props":2369,"children":2370},{},[2371],{"type":33,"value":2372},"git 回滚 commit",{"type":28,"tag":45,"props":2374,"children":2375},{},[2376],{"type":33,"value":2377},"对关键文件保留前版本（至少能快速恢复）",{"type":28,"tag":29,"props":2379,"children":2380},{},[2381],{"type":33,"value":2382},"你需要做到：任何一轮 AI 改动都能在 5 分钟内撤回。",{"type":28,"tag":726,"props":2384,"children":2385},{},[],{"type":28,"tag":113,"props":2387,"children":2389},{"id":2388},"必交付物对比矩阵可复制",[2390],{"type":33,"value":2391},"必交付物：对比矩阵（可复制）",{"type":28,"tag":29,"props":2393,"children":2394},{},[2395],{"type":33,"value":2396},"下面这张表可以直接贴到你的团队 wiki：",{"type":28,"tag":120,"props":2398,"children":2399},{},[2400,2423],{"type":28,"tag":124,"props":2401,"children":2402},{},[2403],{"type":28,"tag":128,"props":2404,"children":2405},{},[2406,2411,2415,2419],{"type":28,"tag":132,"props":2407,"children":2408},{},[2409],{"type":33,"value":2410},"维度",{"type":28,"tag":132,"props":2412,"children":2413},{},[2414],{"type":33,"value":619},{"type":28,"tag":132,"props":2416,"children":2417},{},[2418],{"type":33,"value":1863},{"type":28,"tag":132,"props":2420,"children":2421},{},[2422],{"type":33,"value":616},{"type":28,"tag":148,"props":2424,"children":2425},{},[2426,2449,2472,2495],{"type":28,"tag":128,"props":2427,"children":2428},{},[2429,2434,2439,2444],{"type":28,"tag":155,"props":2430,"children":2431},{},[2432],{"type":33,"value":2433},"强项",{"type":28,"tag":155,"props":2435,"children":2436},{},[2437],{"type":33,"value":2438},"工具链、调试、生态",{"type":28,"tag":155,"props":2440,"children":2441},{},[2442],{"type":33,"value":2443},"补全与局部建议",{"type":28,"tag":155,"props":2445,"children":2446},{},[2447],{"type":33,"value":2448},"项目上下文、多文件落地",{"type":28,"tag":128,"props":2450,"children":2451},{},[2452,2457,2462,2467],{"type":28,"tag":155,"props":2453,"children":2454},{},[2455],{"type":33,"value":2456},"适合任务",{"type":28,"tag":155,"props":2458,"children":2459},{},[2460],{"type":33,"value":2461},"排查、调试、验证",{"type":28,"tag":155,"props":2463,"children":2464},{},[2465],{"type":33,"value":2466},"写一段、补一段",{"type":28,"tag":155,"props":2468,"children":2469},{},[2470],{"type":33,"value":2471},"改一段、改一组文件",{"type":28,"tag":128,"props":2473,"children":2474},{},[2475,2480,2485,2490],{"type":28,"tag":155,"props":2476,"children":2477},{},[2478],{"type":33,"value":2479},"最大风险",{"type":28,"tag":155,"props":2481,"children":2482},{},[2483],{"type":33,"value":2484},"无",{"type":28,"tag":155,"props":2486,"children":2487},{},[2488],{"type":33,"value":2489},"过度依赖建议",{"type":28,"tag":155,"props":2491,"children":2492},{},[2493],{"type":33,"value":2494},"范围漂移、多文件回归",{"type":28,"tag":128,"props":2496,"children":2497},{},[2498,2503,2508,2513],{"type":28,"tag":155,"props":2499,"children":2500},{},[2501],{"type":33,"value":2502},"必须搭配",{"type":28,"tag":155,"props":2504,"children":2505},{},[2506],{"type":33,"value":2507},"规范与检查",{"type":28,"tag":155,"props":2509,"children":2510},{},[2511],{"type":33,"value":2512},"代码评审",{"type":28,"tag":155,"props":2514,"children":2515},{},[2516],{"type":33,"value":2517},"闸门 + 最小回归集",{"type":28,"tag":726,"props":2519,"children":2520},{},[],{"type":28,"tag":113,"props":2522,"children":2524},{"id":2523},"失败案例多文件看似成功实际埋雷",[2525],{"type":33,"value":2526},"失败案例：多文件“看似成功”，实际埋雷",{"type":28,"tag":29,"props":2528,"children":2529},{},[2530,2535],{"type":28,"tag":665,"props":2531,"children":2532},{},[2533],{"type":33,"value":2534},"现象",{"type":33,"value":2536},"：AI 说“我已经把所有地方都改了”，你也接受了，结果上线后 404 或样式错位。",{"type":28,"tag":29,"props":2538,"children":2539},{},[2540,2545],{"type":28,"tag":665,"props":2541,"children":2542},{},[2543],{"type":33,"value":2544},"复现条件",{"type":33,"value":1358},{"type":28,"tag":41,"props":2547,"children":2548},{},[2549,2554,2559],{"type":28,"tag":45,"props":2550,"children":2551},{},[2552],{"type":33,"value":2553},"你给了一个大目标（例如“把所有按钮统一成主题色”）",{"type":28,"tag":45,"props":2555,"children":2556},{},[2557],{"type":33,"value":2558},"它改了组件、样式、甚至主题配置",{"type":28,"tag":45,"props":2560,"children":2561},{},[2562],{"type":33,"value":2563},"你没有按页面模块走一遍，直接合并",{"type":28,"tag":29,"props":2565,"children":2566},{},[2567,2572],{"type":28,"tag":665,"props":2568,"children":2569},{},[2570],{"type":33,"value":2571},"根因",{"type":33,"value":1358},{"type":28,"tag":41,"props":2574,"children":2575},{},[2576],{"type":28,"tag":45,"props":2577,"children":2578},{},[2579],{"type":33,"value":2580},"改动范围大，但验收仍按“小改动”的方式做（只看一处）",{"type":28,"tag":29,"props":2582,"children":2583},{},[2584,2589],{"type":28,"tag":665,"props":2585,"children":2586},{},[2587],{"type":33,"value":2588},"修复",{"type":33,"value":1358},{"type":28,"tag":41,"props":2591,"children":2592},{},[2593,2598,2603],{"type":28,"tag":45,"props":2594,"children":2595},{},[2596],{"type":33,"value":2597},"强制把任务拆成“模块级目标”：Hero、Feature、Pricing、Form",{"type":28,"tag":45,"props":2599,"children":2600},{},[2601],{"type":33,"value":2602},"每个模块改完就验收一次",{"type":28,"tag":45,"props":2604,"children":2605},{},[2606],{"type":33,"value":2607},"验收通过再进入下一个模块",{"type":28,"tag":726,"props":2609,"children":2610},{},[],{"type":28,"tag":113,"props":2612,"children":2614},{"id":2613},"faq",[2615],{"type":33,"value":2616},"FAQ",{"type":28,"tag":1052,"props":2618,"children":2620},{"id":2619},"q1我已经用了-cursor为什么还要用-copilot",[2621],{"type":33,"value":2622},"Q1：我已经用了 Cursor，为什么还要用 Copilot？",{"type":28,"tag":29,"props":2624,"children":2625},{},[2626],{"type":33,"value":2627},"因为“补全”这种高频低风险任务，Copilot 的交互成本更低；Cursor 更适合需要解释与约束的改动。",{"type":28,"tag":1052,"props":2629,"children":2631},{"id":2630},"q2什么时候应该完全不用-ai",[2632],{"type":33,"value":2633},"Q2：什么时候应该完全不用 AI？",{"type":28,"tag":29,"props":2635,"children":2636},{},[2637],{"type":33,"value":2638},"当你无法定义验收标准时。比如“更高级”“更好看”这种目标，先做信息结构与设计规则，再让 AI 帮你落地局部。",{"type":28,"tag":726,"props":2640,"children":2641},{},[],{"type":28,"tag":113,"props":2643,"children":2644},{"id":556},[2645],{"type":33,"value":556},{"type":28,"tag":41,"props":2647,"children":2648},{},[2649,2658,2667,2676],{"type":28,"tag":45,"props":2650,"children":2651},{},[2652,2654],{"type":33,"value":2653},"Cursor 入门：",{"type":28,"tag":81,"props":2655,"children":2656},{"href":699},[2657],{"type":33,"value":702},{"type":28,"tag":45,"props":2659,"children":2660},{},[2661,2663],{"type":33,"value":2662},"Cursor 进阶：",{"type":28,"tag":81,"props":2664,"children":2665},{"href":710},[2666],{"type":33,"value":713},{"type":28,"tag":45,"props":2668,"children":2669},{},[2670,2672],{"type":33,"value":2671},"规则配置：",{"type":28,"tag":81,"props":2673,"children":2674},{"href":721},[2675],{"type":33,"value":724},{"type":28,"tag":45,"props":2677,"children":2678},{},[2679,2681],{"type":33,"value":2680},"Copilot 实战：",{"type":28,"tag":81,"props":2682,"children":2684},{"href":2683},"/topics/ai/github-copilot-tips",[2685],{"type":33,"value":2686},"GitHub Copilot 实用技巧",{"title":7,"searchDepth":593,"depth":593,"links":2688},[2689,2690,2691,2696,2702,2703,2704,2708],{"id":1835,"depth":596,"text":1838},{"id":1885,"depth":596,"text":1888},{"id":2127,"depth":596,"text":2130,"children":2692},[2693,2694,2695],{"id":2133,"depth":593,"text":2136},{"id":2170,"depth":593,"text":2173},{"id":2214,"depth":593,"text":2217},{"id":2246,"depth":596,"text":2249,"children":2697},[2698,2699,2700,2701],{"id":2257,"depth":593,"text":2260},{"id":2301,"depth":593,"text":2304},{"id":2338,"depth":593,"text":2341},{"id":2356,"depth":593,"text":2359},{"id":2388,"depth":596,"text":2391},{"id":2523,"depth":596,"text":2526},{"id":2613,"depth":596,"text":2616,"children":2705},[2706,2707],{"id":2619,"depth":593,"text":2622},{"id":2630,"depth":593,"text":2633},{"id":556,"depth":596,"text":556},"content:topics:ai:cursor-vs-copilot-vscode-workflow.md","topics/ai/cursor-vs-copilot-vscode-workflow.md","topics/ai/cursor-vs-copilot-vscode-workflow",{"_path":2713,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":2714,"description":2715,"date":2716,"topic":5,"author":11,"tags":2717,"image":2722,"featured":513,"readingTime":1776,"body":2723,"_type":603,"_id":3372,"_source":605,"_file":3373,"_stem":3374,"_extension":608},"/topics/ai/ai-debugging-troubleshooting-guide","AI 辅助调试与问题排查：让 AI 成为你的调试搭档","深入探讨如何利用 AI 工具提升调试效率，包括错误信息分析、日志解读、性能问题定位、复杂 bug 排查等实战场景，构建 AI 驱动的调试工作流。","2026-01-18",[2718,2719,2720,620,2721],"AI 调试","问题排查","Debug","错误处理","/images/topics/ai/ai-debugging-guide.jpg",{"type":25,"children":2724,"toc":3343},[2725,2731,2737,2742,2747,2752,2758,2764,2769,2777,2805,2813,2836,2842,2853,2862,2870,2878,2911,2919,2949,2962,2970,2975,2983,2991,3002,3008,3016,3027,3035,3044,3050,3056,3061,3070,3076,3081,3090,3096,3102,3111,3117,3126,3132,3143,3149,3155,3164,3170,3179,3185,3191,3199,3205,3214,3222,3230,3233,3239,3244,3263,3275,3278,3284,3289,3298,3303,3306,3312,3317,3335],{"type":28,"tag":113,"props":2726,"children":2728},{"id":2727},"ai-辅助调试与问题排查",[2729],{"type":33,"value":2730},"AI 辅助调试与问题排查",{"type":28,"tag":113,"props":2732,"children":2734},{"id":2733},"引言调试的痛与-ai-的解药",[2735],{"type":33,"value":2736},"引言：调试的痛与 AI 的解药",{"type":28,"tag":29,"props":2738,"children":2739},{},[2740],{"type":33,"value":2741},"调试是每个程序员的日常，也是最消耗时间和精力的工作之一。我们都有过这样的经历：盯着一个莫名其妙的错误信息，翻遍 Stack Overflow，尝试各种方案，几个小时后才发现是一个愚蠢的拼写错误。",{"type":28,"tag":29,"props":2743,"children":2744},{},[2745],{"type":33,"value":2746},"AI 工具的出现，正在改变调试的方式。不是替代你的思考，而是加速你的分析过程——帮你快速理解错误、缩小排查范围、验证假设。",{"type":28,"tag":29,"props":2748,"children":2749},{},[2750],{"type":33,"value":2751},"这篇文章分享我在实际项目中使用 AI 辅助调试的经验和方法论。",{"type":28,"tag":113,"props":2753,"children":2755},{"id":2754},"第一部分建立-ai-调试的思维模型",[2756],{"type":33,"value":2757},"第一部分：建立 AI 调试的思维模型",{"type":28,"tag":1052,"props":2759,"children":2761},{"id":2760},"_11-ai-在调试中的角色",[2762],{"type":33,"value":2763},"1.1 AI 在调试中的角色",{"type":28,"tag":29,"props":2765,"children":2766},{},[2767],{"type":33,"value":2768},"把 AI 想象成一个经验丰富但不了解你项目的高级工程师。它：",{"type":28,"tag":29,"props":2770,"children":2771},{},[2772],{"type":28,"tag":665,"props":2773,"children":2774},{},[2775],{"type":33,"value":2776},"擅长的事情：",{"type":28,"tag":41,"props":2778,"children":2779},{},[2780,2785,2790,2795,2800],{"type":28,"tag":45,"props":2781,"children":2782},{},[2783],{"type":33,"value":2784},"解读错误信息的含义",{"type":28,"tag":45,"props":2786,"children":2787},{},[2788],{"type":33,"value":2789},"提供可能的原因列表",{"type":28,"tag":45,"props":2791,"children":2792},{},[2793],{"type":33,"value":2794},"给出排查方向建议",{"type":28,"tag":45,"props":2796,"children":2797},{},[2798],{"type":33,"value":2799},"解释复杂的技术概念",{"type":28,"tag":45,"props":2801,"children":2802},{},[2803],{"type":33,"value":2804},"生成调试代码片段",{"type":28,"tag":29,"props":2806,"children":2807},{},[2808],{"type":28,"tag":665,"props":2809,"children":2810},{},[2811],{"type":33,"value":2812},"不擅长的事情：",{"type":28,"tag":41,"props":2814,"children":2815},{},[2816,2821,2826,2831],{"type":28,"tag":45,"props":2817,"children":2818},{},[2819],{"type":33,"value":2820},"了解你的业务逻辑",{"type":28,"tag":45,"props":2822,"children":2823},{},[2824],{"type":33,"value":2825},"知道你的代码历史",{"type":28,"tag":45,"props":2827,"children":2828},{},[2829],{"type":33,"value":2830},"理解项目特定的约定",{"type":28,"tag":45,"props":2832,"children":2833},{},[2834],{"type":33,"value":2835},"做出架构级判断",{"type":28,"tag":1052,"props":2837,"children":2839},{"id":2838},"_12-有效提问的结构",[2840],{"type":33,"value":2841},"1.2 有效提问的结构",{"type":28,"tag":2843,"props":2844,"children":2848},"pre",{"code":2845,"language":603,"meta":7,"className":2846},"## 高效的调试提问模板\n\n**问题描述**\n[简洁描述遇到的问题]\n\n**错误信息**\n",[2847],"language-markdown",[2849],{"type":28,"tag":447,"props":2850,"children":2851},{"__ignoreMap":7},[2852],{"type":33,"value":2845},{"type":28,"tag":29,"props":2854,"children":2855},{},[2856],{"type":28,"tag":2857,"props":2858,"children":2859},"span",{},[2860],{"type":33,"value":2861},"完整的错误信息，不要截断",{"type":28,"tag":2843,"props":2863,"children":2865},{"code":2864},"\n**相关代码**\n```javascript\n[精简但完整的相关代码]\n",[2866],{"type":28,"tag":447,"props":2867,"children":2868},{"__ignoreMap":7},[2869],{"type":33,"value":2864},{"type":28,"tag":29,"props":2871,"children":2872},{},[2873],{"type":28,"tag":665,"props":2874,"children":2875},{},[2876],{"type":33,"value":2877},"环境信息",{"type":28,"tag":41,"props":2879,"children":2880},{},[2881,2891,2901],{"type":28,"tag":45,"props":2882,"children":2883},{},[2884,2886],{"type":33,"value":2885},"运行环境：",{"type":28,"tag":2857,"props":2887,"children":2888},{},[2889],{"type":33,"value":2890},"Node 版本/浏览器版本",{"type":28,"tag":45,"props":2892,"children":2893},{},[2894,2896],{"type":33,"value":2895},"框架版本：",{"type":28,"tag":2857,"props":2897,"children":2898},{},[2899],{"type":33,"value":2900},"相关框架版本",{"type":28,"tag":45,"props":2902,"children":2903},{},[2904,2906],{"type":33,"value":2905},"操作系统：",{"type":28,"tag":2857,"props":2907,"children":2908},{},[2909],{"type":33,"value":2910},"如果相关",{"type":28,"tag":29,"props":2912,"children":2913},{},[2914],{"type":28,"tag":665,"props":2915,"children":2916},{},[2917],{"type":33,"value":2918},"已尝试的方案",{"type":28,"tag":41,"props":2920,"children":2921},{},[2922,2936],{"type":28,"tag":45,"props":2923,"children":2924},{},[2925,2930,2931],{"type":28,"tag":2857,"props":2926,"children":2927},{},[2928],{"type":33,"value":2929},"方案1",{"type":33,"value":1358},{"type":28,"tag":2857,"props":2932,"children":2933},{},[2934],{"type":33,"value":2935},"结果",{"type":28,"tag":45,"props":2937,"children":2938},{},[2939,2944,2945],{"type":28,"tag":2857,"props":2940,"children":2941},{},[2942],{"type":33,"value":2943},"方案2",{"type":33,"value":1358},{"type":28,"tag":2857,"props":2946,"children":2947},{},[2948],{"type":33,"value":2935},{"type":28,"tag":29,"props":2950,"children":2951},{},[2952,2957],{"type":28,"tag":665,"props":2953,"children":2954},{},[2955],{"type":33,"value":2956},"期望的结果",{"type":28,"tag":2857,"props":2958,"children":2959},{},[2960],{"type":33,"value":2961},"描述期望的行为",{"type":28,"tag":2843,"props":2963,"children":2965},{"code":2964},"\n### 1.3 分级调试策略\n\n",[2966],{"type":28,"tag":447,"props":2967,"children":2968},{"__ignoreMap":7},[2969],{"type":33,"value":2964},{"type":28,"tag":29,"props":2971,"children":2972},{},[2973],{"type":33,"value":2974},"┌───────────────────────────────────────────────────────────┐\n│                    AI 辅助调试决策树                        │\n├───────────────────────────────────────────────────────────┤\n│                                                           │\n│  Level 1：简单错误（5分钟内解决）                           │\n│  ├── 语法错误、拼写错误                                    │\n│  ├── 方法：直接复制错误信息给 AI                           │\n│  └── 工具：Copilot Chat / ChatGPT                        │\n│                                                           │\n│  Level 2：中等复杂度（30分钟内解决）                        │\n│  ├── 类型错误、逻辑错误、API 使用错误                      │\n│  ├── 方法：提供错误信息 + 相关代码 + 上下文                 │\n│  └── 工具：Cursor Chat / Claude                          │\n│                                                           │\n│  Level 3：复杂问题（需要深入分析）                          │\n│  ├── 竞态条件、内存泄漏、性能问题                          │\n│  ├── 方法：详细描述场景 + 提供多个文件 + 讨论               │\n│  └── 工具：Cursor Composer / 专门的 AI 会话                │\n│                                                           │\n│  Level 4：架构级问题                                       │\n│  ├── 设计缺陷、技术债务                                    │\n│  ├── 方法：AI 辅助分析 + 人工判断                          │\n│  └── 工具：与团队讨论 + AI 作为顾问                        │\n│                                                           │\n└───────────────────────────────────────────────────────────┘",{"type":28,"tag":2843,"props":2976,"children":2978},{"code":2977},"\n## 第二部分：错误信息分析\n\n### 2.1 前端错误分析\n\n**场景 1：React 错误边界触发**\n\n```typescript\n// 错误信息：\n// Error: Hydration failed because the initial UI does not match \n// what was rendered on the server.\n\n// 提问方式：\n/**\n * 我在 Next.js 14 App Router 项目中遇到这个错误：\n * \n * Error: Hydration failed because the initial UI does not match \n * what was rendered on the server.\n * \n * 相关代码：\n */\nfunction UserStatus() {\n  const [isLoggedIn, setIsLoggedIn] = useState(false);\n  \n  useEffect(() => {\n    setIsLoggedIn(localStorage.getItem('token') !== null);\n  }, []);\n  \n  return \u003Cdiv>{isLoggedIn ? '已登录' : '未登录'}\u003C/div>;\n}\n\n// AI 会分析出：\n// 1. 服务端渲染时 localStorage 不可用，默认 false\n// 2. 客户端 hydration 时可能是 true\n// 3. 导致服务端和客户端渲染结果不一致\n\n// AI 建议的解决方案：\nfunction UserStatus() {\n  const [isLoggedIn, setIsLoggedIn] = useState\u003Cboolean | null>(null);\n  \n  useEffect(() => {\n    setIsLoggedIn(localStorage.getItem('token') !== null);\n  }, []);\n  \n  // 初始状态显示加载中，避免 hydration 不匹配\n  if (isLoggedIn === null) {\n    return \u003Cdiv>加载中...\u003C/div>;\n  }\n  \n  return \u003Cdiv>{isLoggedIn ? '已登录' : '未登录'}\u003C/div>;\n}\n",[2979],{"type":28,"tag":447,"props":2980,"children":2981},{"__ignoreMap":7},[2982],{"type":33,"value":2977},{"type":28,"tag":29,"props":2984,"children":2985},{},[2986],{"type":28,"tag":665,"props":2987,"children":2988},{},[2989],{"type":33,"value":2990},"场景 2：Vue 响应式警告",{"type":28,"tag":2843,"props":2992,"children":2997},{"code":2993,"language":2994,"meta":7,"className":2995},"// 警告信息：\n// [Vue warn]: Property \"xxx\" was accessed during render but is not \n// defined on instance.\n\n// 提问方式：\n/**\n * Vue 3 项目中出现这个警告：\n * [Vue warn]: Property \"userInfo\" was accessed during render \n * but is not defined on instance.\n * \n * 组件代码：\n */\n\u003Ctemplate>\n  \u003Cdiv>{{ userInfo.name }}\u003C/div>\n\u003C/template>\n\n\u003Cscript setup>\nconst { data: userInfo } = await useFetch('/api/user');\n\u003C/script>\n\n// AI 分析：\n// 1. useFetch 是异步的，初始渲染时 userInfo 可能是 undefined\n// 2. 直接访问 userInfo.name 会报错\n\n// AI 建议：\n\u003Ctemplate>\n  \u003Cdiv v-if=\"userInfo\">{{ userInfo.name }}\u003C/div>\n  \u003Cdiv v-else>加载中...\u003C/div>\n\u003C/template>\n\n\u003Cscript setup>\nconst { data: userInfo, pending } = await useFetch('/api/user');\n\u003C/script>\n","typescript",[2996],"language-typescript",[2998],{"type":28,"tag":447,"props":2999,"children":3000},{"__ignoreMap":7},[3001],{"type":33,"value":2993},{"type":28,"tag":1052,"props":3003,"children":3005},{"id":3004},"_22-后端错误分析",[3006],{"type":33,"value":3007},"2.2 后端错误分析",{"type":28,"tag":29,"props":3009,"children":3010},{},[3011],{"type":28,"tag":665,"props":3012,"children":3013},{},[3014],{"type":33,"value":3015},"场景 1：Node.js 内存问题",{"type":28,"tag":2843,"props":3017,"children":3022},{"code":3018,"language":3019,"meta":7,"className":3020},"// 错误信息：\n// FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - \n// JavaScript heap out of memory\n\n// 提问方式（包含上下文）：\n/**\n * Node.js 服务运行几小时后崩溃，错误信息：\n * FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - \n * JavaScript heap out of memory\n * \n * 服务功能：处理 CSV 文件上传，每次约 100MB\n * \n * 处理代码：\n */\nasync function processCSV(filePath) {\n  const content = fs.readFileSync(filePath, 'utf-8');\n  const rows = content.split('\\n');\n  const results = [];\n  \n  for (const row of rows) {\n    const processed = await processRow(row);\n    results.push(processed);\n  }\n  \n  return results;\n}\n\n// AI 分析会指出：\n// 1. 一次性读取整个文件到内存\n// 2. 所有处理结果累积在 results 数组\n// 3. 建议使用流式处理\n\n// AI 提供的优化方案：\nconst { createReadStream } = require('fs');\nconst { createInterface } = require('readline');\n\nasync function processCSVStream(filePath, onRow) {\n  const fileStream = createReadStream(filePath);\n  const rl = createInterface({\n    input: fileStream,\n    crlfDelay: Infinity\n  });\n  \n  let count = 0;\n  for await (const line of rl) {\n    await onRow(line);\n    count++;\n    \n    // 每处理 1000 行，给 GC 机会运行\n    if (count % 1000 === 0) {\n      await new Promise(r => setImmediate(r));\n    }\n  }\n}\n","javascript",[3021],"language-javascript",[3023],{"type":28,"tag":447,"props":3024,"children":3025},{"__ignoreMap":7},[3026],{"type":33,"value":3018},{"type":28,"tag":29,"props":3028,"children":3029},{},[3030],{"type":28,"tag":665,"props":3031,"children":3032},{},[3033],{"type":33,"value":3034},"场景 2：数据库连接问题",{"type":28,"tag":2843,"props":3036,"children":3039},{"code":3037,"language":2994,"meta":7,"className":3038},"// 错误信息：\n// Error: Connection pool exhausted - \n// max connections (10) already in use\n\n// 提问方式：\n/**\n * PostgreSQL 连接池耗尽错误，高并发时出现：\n * Error: Connection pool exhausted\n * \n * 当前配置：\n * - max connections: 10\n * - 并发请求: 约 100/秒\n * \n * 数据库调用代码：\n */\nasync function getUserData(userId: string) {\n  const client = await pool.connect();\n  try {\n    const user = await client.query('SELECT * FROM users WHERE id = $1', [userId]);\n    const orders = await client.query('SELECT * FROM orders WHERE user_id = $1', [userId]);\n    const payments = await client.query('SELECT * FROM payments WHERE user_id = $1', [userId]);\n    return { user: user.rows[0], orders: orders.rows, payments: payments.rows };\n  } finally {\n    client.release();\n  }\n}\n\n// AI 会分析出多个可能原因并给出综合方案\n",[2996],[3040],{"type":28,"tag":447,"props":3041,"children":3042},{"__ignoreMap":7},[3043],{"type":33,"value":3037},{"type":28,"tag":113,"props":3045,"children":3047},{"id":3046},"第三部分日志分析与问题定位",[3048],{"type":33,"value":3049},"第三部分：日志分析与问题定位",{"type":28,"tag":1052,"props":3051,"children":3053},{"id":3052},"_31-结构化日志分析",[3054],{"type":33,"value":3055},"3.1 结构化日志分析",{"type":28,"tag":29,"props":3057,"children":3058},{},[3059],{"type":33,"value":3060},"当面对大量日志时，让 AI 帮你快速定位问题：",{"type":28,"tag":2843,"props":3062,"children":3065},{"code":3063,"language":3019,"meta":7,"className":3064},"// 提问示例：\n/**\n * 分析以下日志，找出导致请求失败的原因：\n * \n * 日志片段：\n */\nconst logs = `\n2024-01-15 10:23:45.123 INFO  [req-abc123] 收到请求 POST /api/order\n2024-01-15 10:23:45.125 DEBUG [req-abc123] 用户认证通过 userId=u001\n2024-01-15 10:23:45.130 DEBUG [req-abc123] 开始库存检查 productId=p001\n2024-01-15 10:23:45.145 DEBUG [req-abc123] 库存检查通过 available=50\n2024-01-15 10:23:45.150 DEBUG [req-abc123] 开始创建订单\n2024-01-15 10:23:45.200 DEBUG [req-abc123] 数据库连接获取成功\n2024-01-15 10:23:45.250 ERROR [req-abc123] 订单创建失败 error=\"deadlock detected\"\n2024-01-15 10:23:45.251 WARN  [req-abc123] 事务回滚\n2024-01-15 10:23:45.255 INFO  [req-abc123] 响应 500 耗时 132ms\n`;\n\n// AI 分析结果会包括：\n// 1. 问题定位：数据库死锁\n// 2. 可能原因：并发订单创建导致锁竞争\n// 3. 排查建议：检查事务隔离级别、锁顺序\n",[3021],[3066],{"type":28,"tag":447,"props":3067,"children":3068},{"__ignoreMap":7},[3069],{"type":33,"value":3063},{"type":28,"tag":1052,"props":3071,"children":3073},{"id":3072},"_32-创建调试日志",[3074],{"type":33,"value":3075},"3.2 创建调试日志",{"type":28,"tag":29,"props":3077,"children":3078},{},[3079],{"type":33,"value":3080},"让 AI 帮你生成调试用的日志代码：",{"type":28,"tag":2843,"props":3082,"children":3085},{"code":3083,"language":2994,"meta":7,"className":3084},"// 请求：\n// \"为这个函数添加详细的调试日志，包括入参、关键步骤、耗时和结果\"\n\n// 原代码：\nasync function processOrder(order: Order): Promise\u003COrderResult> {\n  const inventory = await checkInventory(order.items);\n  const payment = await processPayment(order.userId, order.total);\n  const result = await createOrder(order, payment.transactionId);\n  return result;\n}\n\n// AI 生成的带日志版本：\nasync function processOrder(order: Order): Promise\u003COrderResult> {\n  const requestId = generateRequestId();\n  const startTime = performance.now();\n  \n  logger.info({\n    requestId,\n    event: 'order_processing_start',\n    orderId: order.id,\n    userId: order.userId,\n    itemCount: order.items.length,\n    total: order.total\n  });\n  \n  try {\n    // 库存检查\n    const inventoryStart = performance.now();\n    const inventory = await checkInventory(order.items);\n    logger.debug({\n      requestId,\n      event: 'inventory_check_complete',\n      duration: performance.now() - inventoryStart,\n      available: inventory.allAvailable\n    });\n    \n    // 支付处理\n    const paymentStart = performance.now();\n    const payment = await processPayment(order.userId, order.total);\n    logger.debug({\n      requestId,\n      event: 'payment_complete',\n      duration: performance.now() - paymentStart,\n      transactionId: payment.transactionId\n    });\n    \n    // 创建订单\n    const createStart = performance.now();\n    const result = await createOrder(order, payment.transactionId);\n    logger.debug({\n      requestId,\n      event: 'order_created',\n      duration: performance.now() - createStart,\n      resultOrderId: result.orderId\n    });\n    \n    logger.info({\n      requestId,\n      event: 'order_processing_complete',\n      duration: performance.now() - startTime,\n      success: true\n    });\n    \n    return result;\n  } catch (error) {\n    logger.error({\n      requestId,\n      event: 'order_processing_failed',\n      duration: performance.now() - startTime,\n      error: error.message,\n      stack: error.stack\n    });\n    throw error;\n  }\n}\n",[2996],[3086],{"type":28,"tag":447,"props":3087,"children":3088},{"__ignoreMap":7},[3089],{"type":33,"value":3083},{"type":28,"tag":113,"props":3091,"children":3093},{"id":3092},"第四部分性能问题排查",[3094],{"type":33,"value":3095},"第四部分：性能问题排查",{"type":28,"tag":1052,"props":3097,"children":3099},{"id":3098},"_41-前端性能分析",[3100],{"type":33,"value":3101},"4.1 前端性能分析",{"type":28,"tag":2843,"props":3103,"children":3106},{"code":3104,"language":2994,"meta":7,"className":3105},"// 场景：页面加载慢，需要分析原因\n\n// 提问方式：\n/**\n * 页面首屏加载需要 5 秒，以下是 Performance API 数据，\n * 请分析性能瓶颈：\n */\nconst performanceData = {\n  // Navigation Timing\n  dns: 50,           // DNS 查询\n  tcp: 100,          // TCP 连接\n  ttfb: 800,         // 首字节时间\n  download: 200,     // 文档下载\n  domParsing: 300,   // DOM 解析\n  domContentLoaded: 1500,\n  load: 5000,\n  \n  // Resource Timing (主要资源)\n  resources: [\n    { name: 'main.js', size: '2.5MB', duration: 1200 },\n    { name: 'vendor.js', size: '1.8MB', duration: 900 },\n    { name: 'styles.css', size: '500KB', duration: 300 },\n    { name: 'hero-image.jpg', size: '3MB', duration: 1500 },\n  ],\n  \n  // Long Tasks\n  longTasks: [\n    { startTime: 1600, duration: 800, name: 'script-evaluation' },\n    { startTime: 2500, duration: 400, name: 'layout' }\n  ]\n};\n\n// AI 会分析出：\n// 1. JS bundle 过大（4.3MB），需要代码分割\n// 2. 图片未优化（3MB 的 hero 图片）\n// 3. 存在长任务阻塞主线程\n// 并给出具体优化建议\n",[2996],[3107],{"type":28,"tag":447,"props":3108,"children":3109},{"__ignoreMap":7},[3110],{"type":33,"value":3104},{"type":28,"tag":1052,"props":3112,"children":3114},{"id":3113},"_42-内存泄漏排查",[3115],{"type":33,"value":3116},"4.2 内存泄漏排查",{"type":28,"tag":2843,"props":3118,"children":3121},{"code":3119,"language":2994,"meta":7,"className":3120},"// 场景：应用运行一段时间后变卡\n\n// 提问方式：\n/**\n * React 应用运行一段时间后内存持续增长，以下是 Heap Snapshot 对比：\n * \n * 初始状态：50MB\n * 运行 1 小时后：150MB\n * 运行 2 小时后：280MB\n * \n * Retained objects 增长最快的：\n * - (closure) - 增长 50MB\n * - HTMLDivElement - 增长 30MB\n * - Array - 增长 20MB\n * \n * 可疑代码：\n */\nfunction DataDashboard() {\n  const [data, setData] = useState([]);\n  const chartRef = useRef(null);\n  \n  useEffect(() => {\n    // 每秒刷新数据\n    const interval = setInterval(async () => {\n      const newData = await fetchLatestData();\n      setData(prev => [...prev, ...newData]);  // 数据不断累积\n    }, 1000);\n    \n    // 初始化图表\n    const chart = new Chart(chartRef.current, {\n      // 配置...\n    });\n    \n    // 没有 cleanup！\n  }, []);\n  \n  return \u003Ccanvas ref={chartRef} />;\n}\n\n// AI 会指出：\n// 1. interval 没有清理\n// 2. Chart 实例没有销毁\n// 3. data 无限增长\n// 并提供修复代码\n",[2996],[3122],{"type":28,"tag":447,"props":3123,"children":3124},{"__ignoreMap":7},[3125],{"type":33,"value":3119},{"type":28,"tag":1052,"props":3127,"children":3129},{"id":3128},"_43-数据库查询优化",[3130],{"type":33,"value":3131},"4.3 数据库查询优化",{"type":28,"tag":2843,"props":3133,"children":3138},{"code":3134,"language":3135,"meta":7,"className":3136},"-- 场景：查询很慢，让 AI 分析执行计划\n\n-- 提问方式：\n-- 以下查询在数据量大时很慢（orders 表 1000 万行），\n-- 执行计划如下，请分析并优化：\n\nEXPLAIN ANALYZE\nSELECT o.*, u.name, u.email\nFROM orders o\nJOIN users u ON o.user_id = u.id\nWHERE o.status = 'pending'\n  AND o.created_at > '2024-01-01'\nORDER BY o.created_at DESC\nLIMIT 20;\n\n-- 执行计划：\n/*\nSort  (cost=156847.23..157847.23 rows=400000 width=250)\n  Sort Key: o.created_at DESC\n  ->  Hash Join  (cost=1500.00..89847.23 rows=400000 width=250)\n        Hash Cond: (o.user_id = u.id)\n        ->  Seq Scan on orders o  (cost=0.00..85000.00 rows=400000)\n              Filter: ((status = 'pending') AND (created_at > '2024-01-01'))\n        ->  Hash  (cost=1000.00..1000.00 rows=50000 width=100)\n              ->  Seq Scan on users u  (cost=0.00..1000.00 rows=50000)\nPlanning Time: 0.5 ms\nExecution Time: 3500 ms\n*/\n\n-- AI 会分析出问题并建议：\n-- 1. orders 表全表扫描 - 需要复合索引\n-- 2. 建议创建索引：\nCREATE INDEX idx_orders_status_created ON orders(status, created_at DESC);\n\n-- 3. 如果 status 选择性不高，考虑部分索引：\nCREATE INDEX idx_orders_pending ON orders(created_at DESC) \nWHERE status = 'pending';\n","sql",[3137],"language-sql",[3139],{"type":28,"tag":447,"props":3140,"children":3141},{"__ignoreMap":7},[3142],{"type":33,"value":3134},{"type":28,"tag":113,"props":3144,"children":3146},{"id":3145},"第五部分复杂-bug-排查",[3147],{"type":33,"value":3148},"第五部分：复杂 Bug 排查",{"type":28,"tag":1052,"props":3150,"children":3152},{"id":3151},"_51-竞态条件",[3153],{"type":33,"value":3154},"5.1 竞态条件",{"type":28,"tag":2843,"props":3156,"children":3159},{"code":3157,"language":2994,"meta":7,"className":3158},"// 场景：偶发的数据不一致问题\n\n// 提问方式：\n/**\n * 用户反馈偶尔看到错误的账户余额，但刷新后正常。\n * 怀疑是竞态条件，以下是相关代码：\n */\nasync function updateBalance(userId: string, amount: number) {\n  // 读取当前余额\n  const user = await db.users.findOne({ id: userId });\n  const newBalance = user.balance + amount;\n  \n  // 更新余额\n  await db.users.update({ id: userId }, { balance: newBalance });\n  \n  // 记录交易\n  await db.transactions.create({\n    userId,\n    amount,\n    balanceAfter: newBalance,\n    createdAt: new Date()\n  });\n  \n  return newBalance;\n}\n\n// 并发调用场景：\n// 用户同时发起两笔交易：+100 和 -50\n// 期望结果：原余额 1000 → 1050\n// 实际可能：原余额 1000 → 1100 或 950\n\n// AI 会分析竞态条件并提供解决方案：\nasync function updateBalanceAtomic(userId: string, amount: number) {\n  // 方案 1：使用数据库原子操作\n  const result = await db.users.findOneAndUpdate(\n    { id: userId },\n    { $inc: { balance: amount } },\n    { returnDocument: 'after' }\n  );\n  \n  await db.transactions.create({\n    userId,\n    amount,\n    balanceAfter: result.balance,\n    createdAt: new Date()\n  });\n  \n  return result.balance;\n}\n\n// 方案 2：使用乐观锁\nasync function updateBalanceOptimistic(userId: string, amount: number) {\n  const maxRetries = 3;\n  \n  for (let i = 0; i \u003C maxRetries; i++) {\n    const user = await db.users.findOne({ id: userId });\n    const newBalance = user.balance + amount;\n    \n    const updated = await db.users.updateOne(\n      { id: userId, version: user.version },\n      { balance: newBalance, version: user.version + 1 }\n    );\n    \n    if (updated.modifiedCount === 1) {\n      await db.transactions.create({...});\n      return newBalance;\n    }\n    \n    // 版本冲突，重试\n    await sleep(10 * (i + 1));\n  }\n  \n  throw new Error('Update failed after retries');\n}\n",[2996],[3160],{"type":28,"tag":447,"props":3161,"children":3162},{"__ignoreMap":7},[3163],{"type":33,"value":3157},{"type":28,"tag":1052,"props":3165,"children":3167},{"id":3166},"_52-分布式系统问题",[3168],{"type":33,"value":3169},"5.2 分布式系统问题",{"type":28,"tag":2843,"props":3171,"children":3174},{"code":3172,"language":2994,"meta":7,"className":3173},"// 场景：微服务间的数据不一致\n\n// 提问方式：\n/**\n * 订单服务和库存服务偶尔出现数据不一致：\n * - 订单显示已创建\n * - 库存未扣减\n * \n * 当前流程：\n */\n// Order Service\nasync function createOrder(orderData) {\n  // 1. 调用库存服务扣减库存\n  await inventoryService.deduct(orderData.items);\n  \n  // 2. 创建订单\n  const order = await orderRepository.create(orderData);\n  \n  // 3. 发送订单创建事件\n  await eventBus.publish('order.created', order);\n  \n  return order;\n}\n\n// 问题分析：如果步骤 2 或 3 失败，库存已经扣减但订单未创建\n\n// AI 会建议使用 Saga 模式或事务发件箱模式\n",[2996],[3175],{"type":28,"tag":447,"props":3176,"children":3177},{"__ignoreMap":7},[3178],{"type":33,"value":3172},{"type":28,"tag":113,"props":3180,"children":3182},{"id":3181},"第六部分ai-调试工作流",[3183],{"type":33,"value":3184},"第六部分：AI 调试工作流",{"type":28,"tag":1052,"props":3186,"children":3188},{"id":3187},"_61-我的调试流程",[3189],{"type":33,"value":3190},"6.1 我的调试流程",{"type":28,"tag":2843,"props":3192,"children":3194},{"code":3193},"┌────────────────────────────────────────────────────────────┐\n│                    AI 辅助调试工作流                         │\n├────────────────────────────────────────────────────────────┤\n│                                                            │\n│  Step 1: 问题收集                                          │\n│  ├── 复制完整错误信息                                       │\n│  ├── 截图相关日志                                          │\n│  └── 记录复现步骤                                          │\n│                                                            │\n│  Step 2: 快速分析                                          │\n│  ├── 将错误信息发给 AI                                      │\n│  ├── 获取可能原因列表                                       │\n│  └── 评估哪些最可能                                         │\n│                                                            │\n│  Step 3: 深入调查                                          │\n│  ├── 根据 AI 建议添加日志/断点                              │\n│  ├── 收集更多信息                                          │\n│  └── 再次询问 AI（带新信息）                                │\n│                                                            │\n│  Step 4: 验证修复                                          │\n│  ├── AI 生成修复代码                                        │\n│  ├── 人工审查确认                                          │\n│  └── 测试验证                                               │\n│                                                            │\n│  Step 5: 预防措施                                          │\n│  ├── AI 建议类似问题的预防方法                              │\n│  ├── 添加相关测试用例                                       │\n│  └── 更新文档/知识库                                        │\n│                                                            │\n└────────────────────────────────────────────────────────────┘\n",[3195],{"type":28,"tag":447,"props":3196,"children":3197},{"__ignoreMap":7},[3198],{"type":33,"value":3193},{"type":28,"tag":1052,"props":3200,"children":3202},{"id":3201},"_62-调试对话模板",[3203],{"type":33,"value":3204},"6.2 调试对话模板",{"type":28,"tag":2843,"props":3206,"children":3209},{"code":3207,"language":603,"meta":7,"className":3208},"## 第一轮：问题描述\n\n我遇到了一个问题：[简述问题]\n\n错误信息：\n",[2847],[3210],{"type":28,"tag":447,"props":3211,"children":3212},{"__ignoreMap":7},[3213],{"type":33,"value":3207},{"type":28,"tag":29,"props":3215,"children":3216},{},[3217],{"type":28,"tag":2857,"props":3218,"children":3219},{},[3220],{"type":33,"value":3221},"粘贴完整错误",{"type":28,"tag":2843,"props":3223,"children":3225},{"code":3224},"\n相关代码：\n```javascript\n[粘贴代码]\n",[3226],{"type":28,"tag":447,"props":3227,"children":3228},{"__ignoreMap":7},[3229],{"type":33,"value":3224},{"type":28,"tag":726,"props":3231,"children":3232},{},[],{"type":28,"tag":113,"props":3234,"children":3236},{"id":3235},"第二轮补充信息",[3237],{"type":33,"value":3238},"第二轮：补充信息",{"type":28,"tag":29,"props":3240,"children":3241},{},[3242],{"type":33,"value":3243},"根据你的建议，我添加了日志，发现：",{"type":28,"tag":41,"props":3245,"children":3246},{},[3247,3255],{"type":28,"tag":45,"props":3248,"children":3249},{},[3250],{"type":28,"tag":2857,"props":3251,"children":3252},{},[3253],{"type":33,"value":3254},"发现 1",{"type":28,"tag":45,"props":3256,"children":3257},{},[3258],{"type":28,"tag":2857,"props":3259,"children":3260},{},[3261],{"type":33,"value":3262},"发现 2",{"type":28,"tag":29,"props":3264,"children":3265},{},[3266,3268,3273],{"type":33,"value":3267},"这是否说明问题出在 ",{"type":28,"tag":2857,"props":3269,"children":3270},{},[3271],{"type":33,"value":3272},"你的猜测",{"type":33,"value":3274},"？",{"type":28,"tag":726,"props":3276,"children":3277},{},[],{"type":28,"tag":113,"props":3279,"children":3281},{"id":3280},"第三轮确认修复",[3282],{"type":33,"value":3283},"第三轮：确认修复",{"type":28,"tag":29,"props":3285,"children":3286},{},[3287],{"type":33,"value":3288},"我按照你的建议修改了代码：",{"type":28,"tag":2843,"props":3290,"children":3293},{"code":3291,"language":3019,"meta":7,"className":3292},"[粘贴修改后的代码]\n",[3021],[3294],{"type":28,"tag":447,"props":3295,"children":3296},{"__ignoreMap":7},[3297],{"type":33,"value":3291},{"type":28,"tag":29,"props":3299,"children":3300},{},[3301],{"type":33,"value":3302},"请确认这个修复是否正确，以及是否有其他潜在问题。",{"type":28,"tag":726,"props":3304,"children":3305},{},[],{"type":28,"tag":113,"props":3307,"children":3309},{"id":3308},"第四轮预防",[3310],{"type":33,"value":3311},"第四轮：预防",{"type":28,"tag":29,"props":3313,"children":3314},{},[3315],{"type":33,"value":3316},"这个问题已解决。请建议：",{"type":28,"tag":246,"props":3318,"children":3319},{},[3320,3325,3330],{"type":28,"tag":45,"props":3321,"children":3322},{},[3323],{"type":33,"value":3324},"如何防止类似问题再次发生？",{"type":28,"tag":45,"props":3326,"children":3327},{},[3328],{"type":33,"value":3329},"应该添加什么测试用例？",{"type":28,"tag":45,"props":3331,"children":3332},{},[3333],{"type":33,"value":3334},"有什么最佳实践可以参考？",{"type":28,"tag":2843,"props":3336,"children":3338},{"code":3337},"\n## 结语：AI 是放大器，不是替代品\n\nAI 调试工具能够显著加速问题排查过程，但它不能替代你的思考。最有价值的能力组合是：\n\n- **你的领域知识** + **AI 的广博见识**\n- **你对项目的理解** + **AI 的分析能力**\n- **你的判断力** + **AI 的执行速度**\n\n调试的本质是假设-验证的循环。AI 帮你更快地生成假设、更高效地验证假设，但做出最终判断的还是你。\n\n学会与 AI 高效协作调试，不是依赖 AI 给你答案，而是让 AI 帮你更快地找到自己的答案。\n\n---\n\n## 参考资源\n\n- [Chrome DevTools 官方文档](https://developer.chrome.com/docs/devtools)\n- [Node.js 调试指南](https://nodejs.org/en/docs/guides/debugging-getting-started)\n- [React DevTools 使用指南](https://react.dev/learn/react-developer-tools)\n",[3339],{"type":28,"tag":447,"props":3340,"children":3341},{"__ignoreMap":7},[3342],{"type":33,"value":3337},{"title":7,"searchDepth":593,"depth":593,"links":3344},[3345,3346,3347,3352,3356,3361,3365,3369,3370,3371],{"id":2727,"depth":596,"text":2730},{"id":2733,"depth":596,"text":2736},{"id":2754,"depth":596,"text":2757,"children":3348},[3349,3350,3351],{"id":2760,"depth":593,"text":2763},{"id":2838,"depth":593,"text":2841},{"id":3004,"depth":593,"text":3007},{"id":3046,"depth":596,"text":3049,"children":3353},[3354,3355],{"id":3052,"depth":593,"text":3055},{"id":3072,"depth":593,"text":3075},{"id":3092,"depth":596,"text":3095,"children":3357},[3358,3359,3360],{"id":3098,"depth":593,"text":3101},{"id":3113,"depth":593,"text":3116},{"id":3128,"depth":593,"text":3131},{"id":3145,"depth":596,"text":3148,"children":3362},[3363,3364],{"id":3151,"depth":593,"text":3154},{"id":3166,"depth":593,"text":3169},{"id":3181,"depth":596,"text":3184,"children":3366},[3367,3368],{"id":3187,"depth":593,"text":3190},{"id":3201,"depth":593,"text":3204},{"id":3235,"depth":596,"text":3238},{"id":3280,"depth":596,"text":3283},{"id":3308,"depth":596,"text":3311},"content:topics:ai:ai-debugging-troubleshooting-guide.md","topics/ai/ai-debugging-troubleshooting-guide.md","topics/ai/ai-debugging-troubleshooting-guide",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"topic":5,"author":11,"tags":3376,"image":18,"imageAlt":19,"imageQuery":20,"pexelsPhotoId":21,"pexelsUrl":22,"featured":6,"readingTime":23,"body":3377,"_type":603,"_id":604,"_source":605,"_file":606,"_stem":607,"_extension":608},[13,14,15,16,17],{"type":25,"children":3378,"toc":3832},[3379,3383,3387,3410,3414,3438,3442,3526,3530,3534,3538,3542,3557,3561,3576,3580,3584,3607,3611,3615,3619,3694,3698,3702,3745,3749,3753,3797,3801],{"type":28,"tag":29,"props":3380,"children":3381},{},[3382],{"type":33,"value":34},{"type":28,"tag":29,"props":3384,"children":3385},{},[3386],{"type":33,"value":39},{"type":28,"tag":41,"props":3388,"children":3389},{},[3390,3394,3398,3402,3406],{"type":28,"tag":45,"props":3391,"children":3392},{},[3393],{"type":33,"value":49},{"type":28,"tag":45,"props":3395,"children":3396},{},[3397],{"type":33,"value":54},{"type":28,"tag":45,"props":3399,"children":3400},{},[3401],{"type":33,"value":59},{"type":28,"tag":45,"props":3403,"children":3404},{},[3405],{"type":33,"value":64},{"type":28,"tag":45,"props":3407,"children":3408},{},[3409],{"type":33,"value":69},{"type":28,"tag":29,"props":3411,"children":3412},{},[3413],{"type":33,"value":74},{"type":28,"tag":29,"props":3415,"children":3416},{},[3417,3418,3422,3423,3427,3428,3432,3433,3437],{"type":33,"value":79},{"type":28,"tag":81,"props":3419,"children":3420},{"href":83},[3421],{"type":33,"value":86},{"type":33,"value":88},{"type":28,"tag":81,"props":3424,"children":3425},{"href":91},[3426],{"type":33,"value":94},{"type":33,"value":88},{"type":28,"tag":81,"props":3429,"children":3430},{"href":98},[3431],{"type":33,"value":101},{"type":33,"value":103},{"type":28,"tag":81,"props":3434,"children":3435},{"href":106},[3436],{"type":33,"value":109},{"type":33,"value":111},{"type":28,"tag":113,"props":3439,"children":3440},{"id":115},[3441],{"type":33,"value":118},{"type":28,"tag":120,"props":3443,"children":3444},{},[3445,3463],{"type":28,"tag":124,"props":3446,"children":3447},{},[3448],{"type":28,"tag":128,"props":3449,"children":3450},{},[3451,3455,3459],{"type":28,"tag":132,"props":3452,"children":3453},{},[3454],{"type":33,"value":136},{"type":28,"tag":132,"props":3456,"children":3457},{},[3458],{"type":33,"value":141},{"type":28,"tag":132,"props":3460,"children":3461},{},[3462],{"type":33,"value":146},{"type":28,"tag":148,"props":3464,"children":3465},{},[3466,3481,3496,3511],{"type":28,"tag":128,"props":3467,"children":3468},{},[3469,3473,3477],{"type":28,"tag":155,"props":3470,"children":3471},{},[3472],{"type":33,"value":159},{"type":28,"tag":155,"props":3474,"children":3475},{},[3476],{"type":33,"value":164},{"type":28,"tag":155,"props":3478,"children":3479},{},[3480],{"type":33,"value":169},{"type":28,"tag":128,"props":3482,"children":3483},{},[3484,3488,3492],{"type":28,"tag":155,"props":3485,"children":3486},{},[3487],{"type":33,"value":177},{"type":28,"tag":155,"props":3489,"children":3490},{},[3491],{"type":33,"value":182},{"type":28,"tag":155,"props":3493,"children":3494},{},[3495],{"type":33,"value":187},{"type":28,"tag":128,"props":3497,"children":3498},{},[3499,3503,3507],{"type":28,"tag":155,"props":3500,"children":3501},{},[3502],{"type":33,"value":195},{"type":28,"tag":155,"props":3504,"children":3505},{},[3506],{"type":33,"value":200},{"type":28,"tag":155,"props":3508,"children":3509},{},[3510],{"type":33,"value":205},{"type":28,"tag":128,"props":3512,"children":3513},{},[3514,3518,3522],{"type":28,"tag":155,"props":3515,"children":3516},{},[3517],{"type":33,"value":213},{"type":28,"tag":155,"props":3519,"children":3520},{},[3521],{"type":33,"value":218},{"type":28,"tag":155,"props":3523,"children":3524},{},[3525],{"type":33,"value":223},{"type":28,"tag":29,"props":3527,"children":3528},{},[3529],{"type":33,"value":228},{"type":28,"tag":29,"props":3531,"children":3532},{},[3533],{"type":33,"value":233},{"type":28,"tag":113,"props":3535,"children":3536},{"id":236},[3537],{"type":33,"value":239},{"type":28,"tag":29,"props":3539,"children":3540},{},[3541],{"type":33,"value":244},{"type":28,"tag":246,"props":3543,"children":3544},{},[3545,3549,3553],{"type":28,"tag":45,"props":3546,"children":3547},{},[3548],{"type":33,"value":253},{"type":28,"tag":45,"props":3550,"children":3551},{},[3552],{"type":33,"value":258},{"type":28,"tag":45,"props":3554,"children":3555},{},[3556],{"type":33,"value":263},{"type":28,"tag":29,"props":3558,"children":3559},{},[3560],{"type":33,"value":268},{"type":28,"tag":41,"props":3562,"children":3563},{},[3564,3568,3572],{"type":28,"tag":45,"props":3565,"children":3566},{},[3567],{"type":33,"value":276},{"type":28,"tag":45,"props":3569,"children":3570},{},[3571],{"type":33,"value":281},{"type":28,"tag":45,"props":3573,"children":3574},{},[3575],{"type":33,"value":286},{"type":28,"tag":29,"props":3577,"children":3578},{},[3579],{"type":33,"value":291},{"type":28,"tag":113,"props":3581,"children":3582},{"id":294},[3583],{"type":33,"value":297},{"type":28,"tag":246,"props":3585,"children":3586},{},[3587,3591,3595,3599,3603],{"type":28,"tag":45,"props":3588,"children":3589},{},[3590],{"type":33,"value":305},{"type":28,"tag":45,"props":3592,"children":3593},{},[3594],{"type":33,"value":310},{"type":28,"tag":45,"props":3596,"children":3597},{},[3598],{"type":33,"value":315},{"type":28,"tag":45,"props":3600,"children":3601},{},[3602],{"type":33,"value":320},{"type":28,"tag":45,"props":3604,"children":3605},{},[3606],{"type":33,"value":325},{"type":28,"tag":29,"props":3608,"children":3609},{},[3610],{"type":33,"value":330},{"type":28,"tag":113,"props":3612,"children":3613},{"id":333},[3614],{"type":33,"value":336},{"type":28,"tag":29,"props":3616,"children":3617},{},[3618],{"type":33,"value":341},{"type":28,"tag":120,"props":3620,"children":3621},{},[3622,3636],{"type":28,"tag":124,"props":3623,"children":3624},{},[3625],{"type":28,"tag":128,"props":3626,"children":3627},{},[3628,3632],{"type":28,"tag":132,"props":3629,"children":3630},{},[3631],{"type":33,"value":355},{"type":28,"tag":132,"props":3633,"children":3634},{},[3635],{"type":33,"value":360},{"type":28,"tag":148,"props":3637,"children":3638},{},[3639,3650,3661,3672,3683],{"type":28,"tag":128,"props":3640,"children":3641},{},[3642,3646],{"type":28,"tag":155,"props":3643,"children":3644},{},[3645],{"type":33,"value":371},{"type":28,"tag":155,"props":3647,"children":3648},{},[3649],{"type":33,"value":376},{"type":28,"tag":128,"props":3651,"children":3652},{},[3653,3657],{"type":28,"tag":155,"props":3654,"children":3655},{},[3656],{"type":33,"value":384},{"type":28,"tag":155,"props":3658,"children":3659},{},[3660],{"type":33,"value":389},{"type":28,"tag":128,"props":3662,"children":3663},{},[3664,3668],{"type":28,"tag":155,"props":3665,"children":3666},{},[3667],{"type":33,"value":397},{"type":28,"tag":155,"props":3669,"children":3670},{},[3671],{"type":33,"value":402},{"type":28,"tag":128,"props":3673,"children":3674},{},[3675,3679],{"type":28,"tag":155,"props":3676,"children":3677},{},[3678],{"type":33,"value":410},{"type":28,"tag":155,"props":3680,"children":3681},{},[3682],{"type":33,"value":415},{"type":28,"tag":128,"props":3684,"children":3685},{},[3686,3690],{"type":28,"tag":155,"props":3687,"children":3688},{},[3689],{"type":33,"value":423},{"type":28,"tag":155,"props":3691,"children":3692},{},[3693],{"type":33,"value":428},{"type":28,"tag":29,"props":3695,"children":3696},{},[3697],{"type":33,"value":433},{"type":28,"tag":113,"props":3699,"children":3700},{"id":436},[3701],{"type":33,"value":439},{"type":28,"tag":41,"props":3703,"children":3704},{},[3705,3713,3721,3729,3737],{"type":28,"tag":45,"props":3706,"children":3707},{},[3708],{"type":28,"tag":447,"props":3709,"children":3711},{"className":3710},[],[3712],{"type":33,"value":452},{"type":28,"tag":45,"props":3714,"children":3715},{},[3716],{"type":28,"tag":447,"props":3717,"children":3719},{"className":3718},[],[3720],{"type":33,"value":461},{"type":28,"tag":45,"props":3722,"children":3723},{},[3724],{"type":28,"tag":447,"props":3725,"children":3727},{"className":3726},[],[3728],{"type":33,"value":470},{"type":28,"tag":45,"props":3730,"children":3731},{},[3732],{"type":28,"tag":447,"props":3733,"children":3735},{"className":3734},[],[3736],{"type":33,"value":479},{"type":28,"tag":45,"props":3738,"children":3739},{},[3740],{"type":28,"tag":447,"props":3741,"children":3743},{"className":3742},[],[3744],{"type":33,"value":488},{"type":28,"tag":29,"props":3746,"children":3747},{},[3748],{"type":33,"value":493},{"type":28,"tag":113,"props":3750,"children":3751},{"id":496},[3752],{"type":33,"value":499},{"type":28,"tag":41,"props":3754,"children":3756},{"className":3755},[503],[3757,3765,3773,3781,3789],{"type":28,"tag":45,"props":3758,"children":3760},{"className":3759},[508],[3761,3764],{"type":28,"tag":511,"props":3762,"children":3763},{"disabled":513,"type":514},[],{"type":33,"value":517},{"type":28,"tag":45,"props":3766,"children":3768},{"className":3767},[508],[3769,3772],{"type":28,"tag":511,"props":3770,"children":3771},{"disabled":513,"type":514},[],{"type":33,"value":526},{"type":28,"tag":45,"props":3774,"children":3776},{"className":3775},[508],[3777,3780],{"type":28,"tag":511,"props":3778,"children":3779},{"disabled":513,"type":514},[],{"type":33,"value":535},{"type":28,"tag":45,"props":3782,"children":3784},{"className":3783},[508],[3785,3788],{"type":28,"tag":511,"props":3786,"children":3787},{"disabled":513,"type":514},[],{"type":33,"value":544},{"type":28,"tag":45,"props":3790,"children":3792},{"className":3791},[508],[3793,3796],{"type":28,"tag":511,"props":3794,"children":3795},{"disabled":513,"type":514},[],{"type":33,"value":553},{"type":28,"tag":113,"props":3798,"children":3799},{"id":556},[3800],{"type":33,"value":556},{"type":28,"tag":41,"props":3802,"children":3803},{},[3804,3811,3818,3825],{"type":28,"tag":45,"props":3805,"children":3806},{},[3807],{"type":28,"tag":81,"props":3808,"children":3809},{"href":83},[3810],{"type":33,"value":86},{"type":28,"tag":45,"props":3812,"children":3813},{},[3814],{"type":28,"tag":81,"props":3815,"children":3816},{"href":91},[3817],{"type":33,"value":576},{"type":28,"tag":45,"props":3819,"children":3820},{},[3821],{"type":28,"tag":81,"props":3822,"children":3823},{"href":98},[3824],{"type":33,"value":101},{"type":28,"tag":45,"props":3826,"children":3827},{},[3828],{"type":28,"tag":81,"props":3829,"children":3830},{"href":106},[3831],{"type":33,"value":591},{"title":7,"searchDepth":593,"depth":593,"links":3833},[3834,3835,3836,3837,3838,3839,3840],{"id":115,"depth":596,"text":118},{"id":236,"depth":596,"text":239},{"id":294,"depth":596,"text":297},{"id":333,"depth":596,"text":336},{"id":436,"depth":596,"text":439},{"id":496,"depth":596,"text":499},{"id":556,"depth":596,"text":556},1775358506117]