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