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