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