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