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