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