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