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