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