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