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