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