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