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