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