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