{
  "format": "ai-knowledge-map/tutorial-v1",
  "canonical": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/",
  "language": "zh-Hans",
  "title": "第二章 AI 如何助力传统编程",
  "summary": "沿着编程的五个核心环节，了解可直接使用的 Agent、Skill 和工具，学习让 AI 协助明确需求、搜集信息、设计程序、编写代码及定位和改进问题。",
  "questions": [
    {
      "question": "怎样让 AI 协助明确需求、搜集资料和设计程序？",
      "answer": "先把目标、条件和验收方式讲清楚，让工具读取相关代码、文档和运行环境，再让 AI 辅助比较方案和形成可执行计划。",
      "sections": [
        {
          "id": "coding-assistance-section-1",
          "title": "第一节 明确问题",
          "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-1"
        },
        {
          "id": "coding-assistance-section-2",
          "title": "第二节 搜集信息",
          "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-2"
        },
        {
          "id": "coding-assistance-section-3",
          "title": "第三节 设计处理方法与程序结构",
          "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
        }
      ]
    },
    {
      "question": "哪些 Agent、Skill 和工具可以用于编写与运行代码？",
      "answer": "本章列出 VS Code 编程 Agent、Superpowers 的 Executing Plans Skill、BMad 的 bmad-build 和 Aider 等入口；按已有计划逐步修改、运行并检查。",
      "sections": [
        {
          "id": "coding-assistance-section-4",
          "title": "第四节 逐步编写并运行程序",
          "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
        }
      ]
    },
    {
      "question": "怎样用 AI 帮助验证结果、定位错误并改进程序？",
      "answer": "用测试和实际运行结果核对目标，保留报错与复现条件，定位原因后再修改；不能把 AI 声称完成当作验证。",
      "sections": [
        {
          "id": "coding-assistance-section-5",
          "title": "第五节 验证结果、定位错误并改进",
          "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
        }
      ]
    }
  ],
  "scope": "摘要与短答依据正式课程整理。以下完整章节保留原始来源名称、配置细节、适用版本与实测限制。此文件为公开阅读格式，不代表独立审核或实测结果。",
  "sources": [
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/brainstorming/SKILL.md",
      "title": "项目原文",
      "section": "coding-assistance-section-1",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-1"
    },
    {
      "url": "https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/reference/skills-and-agents.md",
      "title": "项目说明",
      "section": "coding-assistance-section-1",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-1"
    },
    {
      "url": "https://github.com/github/awesome-copilot/blob/main/skills/prd/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-1",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-1"
    },
    {
      "url": "https://github.com/microsoft/vscode/blob/main/.github/skills/setup-environment/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-2",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-2"
    },
    {
      "url": "https://github.com/HermeticOrmus/setup-env-skills/blob/main/skills/setup-env/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-2",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-2"
    },
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/writing-plans/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-3",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
    },
    {
      "url": "https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/plan/design-ux-and-architecture.md",
      "title": "项目说明",
      "section": "coding-assistance-section-3",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
    },
    {
      "url": "https://github.com/Jeffallan/claude-skills/blob/main/skills/pandas-pro/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-3",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
    },
    {
      "url": "https://github.com/Jeffallan/claude-skills/blob/main/skills/code-documenter/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-3",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
    },
    {
      "url": "https://github.com/github/awesome-copilot/blob/main/agents/mentoring-juniors.agent.md",
      "title": "Agent 原文",
      "section": "coding-assistance-section-3",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3"
    },
    {
      "url": "https://code.visualstudio.com/docs/agents/run/planning",
      "title": "VS Code 中的编程 Agent",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/executing-plans/SKILL.md",
      "title": "Superpowers 的 Executing Plans Skill",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/build/build-a-change.md",
      "title": "BMad 的 bmad-build Skill",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://github.com/github/awesome-copilot/blob/main/skills/git-commit/SKILL.md",
      "title": "Skill 原文",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://aider.chat/docs/git.html",
      "title": "Git 功能",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://aider.chat/docs/usage/lint-test.html",
      "title": "运行与检查",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://code.visualstudio.com/docs/sourcecontrol/staging-commits",
      "title": "官方教程",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://docs.github.com/en/desktop/adding-and-cloning-repositories/adding-a-repository-from-your-local-computer-to-github-desktop",
      "title": "添加本地项目",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop",
      "title": "撤销教程",
      "section": "coding-assistance-section-4",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4"
    },
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/verification-before-completion/SKILL.md",
      "title": "Verification Before Completion Skill",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/systematic-debugging/SKILL.md",
      "title": "Systematic Debugging Skill",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/obra/superpowers/blob/main/skills/requesting-code-review/SKILL.md",
      "title": "Requesting Code Review Skill",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/anthropics/claude-plugins-official/blob/main/plugins/code-simplifier/agents/code-simplifier.md",
      "title": "Code Simplifier Agent",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/skills/chrome-devtools/SKILL.md",
      "title": "chrome-devtools",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/skills/memory-leak-debugging/SKILL.md",
      "title": "memory-leak-debugging Skills",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/wshobson/agents/blob/main/plugins/python-development/skills/python-performance-optimization/SKILL.md",
      "title": "Python Performance Optimization Skill",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://developer.chrome.com/blog/autofix-runtime-devtools-mcp",
      "title": "CyberAgent 的浏览器检查与修复案例",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://developer.chrome.com/blog/google-chat-memory-leaks-devtools-for-agents",
      "title": "Google Chat 的内存排查案例",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    },
    {
      "url": "https://github.com/obra/superpowers/issues/2113",
      "title": "Superpowers 的项目使用反馈",
      "section": "coding-assistance-section-5",
      "context": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5"
    }
  ],
  "sections": [
    {
      "id": "coding-assistance-overview",
      "title": "本章导读",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-overview",
      "html": "<p>AI能够极大地助力传统编程中的核心环节。</p>\n<p>本章按照第一章的五个核心环节，分别介绍 AI 怎样提供帮助，以及可以直接使用的方法和工具。</p>"
    },
    {
      "id": "coding-assistance-section-1",
      "title": "第一节 明确问题",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-1",
      "html": "<p>可以借助需求澄清助手，通过提问梳理目标、使用场景和限制，再整理成便于后续编程使用的需求说明。</p>\n<table class=\"d-table\"><thead><tr><th>名称</th><th>它怎样帮助澄清需求</th></tr></thead><tbody><tr><td><strong>Superpowers 的 Brainstorming Skill</strong></td><td>通过逐步提问理解目标、现状和限制，讨论可行方式，再整理设计。公开提供了完整的流程文本。<a href=\"https://github.com/obra/superpowers/blob/main/skills/brainstorming/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">项目原文</a></td></tr><tr><td><strong>BMad 的 Analyst，名为 Mary</strong></td><td>一个专门的分析师角色，提供想法讨论、研究、用户需求分析和产品简报等工作流。BMad 支持多种 AI 工具集成。<a href=\"https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/reference/skills-and-agents.md\" target=\"_blank\" rel=\"noopener noreferrer\">项目说明</a></td></tr><tr><td><strong>GitHub awesome-copilot 的 PRD Skill</strong></td><td>先访谈问题、成功条件与限制，再确定范围、整理需求文档。可以参考其公开指令设计需求澄清助手。<a href=\"https://github.com/github/awesome-copilot/blob/main/skills/prd/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr></tbody></table>"
    },
    {
      "id": "coding-assistance-section-2",
      "title": "第二节 搜集信息",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-2",
      "html": "<p>第一章中的运行环境与语言版本、包管理器、依赖清单与锁文件、虚拟环境和配置文件，共同构成项目运行的前提条件。可以借助现成的环境准备 Skill，让 Agent 根据项目要求识别并安装工具、准备隔离环境和依赖、补齐配置，再实际启动程序或执行最小检查，帮助新人获得能够开始编程的运行环境。</p>\n<table class=\"d-table\"><thead><tr><th>名称</th><th>它怎样帮助新人完成环境准备</th></tr></thead><tbody><tr><td><strong>微软 VS Code 的 setup-environment Skill</strong></td><td>读取项目安装说明，检查所需工具和版本，根据操作系统尝试安装缺失工具，随后执行构建并尝试启动程序，记录新发现的准备步骤。目标是帮助使用者成功构建并运行项目；虚拟环境和具体配置的处理需结合项目说明。<a href=\"https://github.com/microsoft/vscode/blob/main/.github/skills/setup-environment/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr><tr><td><strong>社区项目 HermeticOrmus 的 setup-env Skill</strong></td><td>从项目文件识别运行要求，安装指定版本的运行环境和包管理器，按锁文件安装依赖，为 Python 项目建立虚拟环境，准备本地配置，再通过构建、检查和实际启动验证环境，记录可重复使用的操作步骤。<a href=\"https://github.com/HermeticOrmus/setup-env-skills/blob/main/skills/setup-env/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr></tbody></table>\n<p>这些 Skill 需要由具备项目文件访问和执行能力的 Agent 使用。账号、密钥和个人设置等无法从项目确定的信息，仍需使用者补充；是否准备完成，应以实际运行结果为依据。</p>"
    },
    {
      "id": "coding-assistance-section-3",
      "title": "第三节 设计处理方法与程序结构",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-3",
      "html": "<p>明确任务并准备好运行环境后，可以借助现成的 Agent 和 Skill，将需求拆成处理步骤，确定函数和模块的分工，设计数据处理方法，并补充帮助理解代码的说明。</p>\n<table class=\"d-table\"><thead><tr><th>名称</th><th>对应第一章的重要技术</th><th>它怎样帮助新人</th></tr></thead><tbody><tr><td><strong>Superpowers 的 Writing Plans Skill</strong></td><td>函数、参数与返回值；模块划分与程序接口</td><td>根据已明确的任务和项目代码，规划文件职责、函数名称、参数与返回结果，以及各部分之间的接口，形成可以逐步实施的计划。<a href=\"https://github.com/obra/superpowers/blob/main/skills/writing-plans/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr><tr><td><strong>BMad 的 Architect（Winston）与 bmad-architecture Skill</strong></td><td>模块划分与程序接口</td><td>带使用者比较方案，确定各部分的边界、共享数据的归属和需要统一的设计决定，保存为后续编程共同遵循的架构说明。适合多个部分需要协调的任务。<a href=\"https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/plan/design-ux-and-architecture.md\" target=\"_blank\" rel=\"noopener noreferrer\">项目说明</a></td></tr><tr><td><strong>Jeffallan 的 Pandas Pro Skill</strong></td><td>数据清洗</td><td>检查表格中的缺失值和数据质量，结合任务规则设计处理步骤，生成并执行 pandas 转换代码，再检查处理前后的数据情况。适合 Python 表格数据处理练习。<a href=\"https://github.com/Jeffallan/claude-skills/blob/main/skills/pandas-pro/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr><tr><td><strong>Jeffallan 的 Code Documenter Skill</strong></td><td>代码注释与函数文档</td><td>分析已有函数和模块，补充用途、参数、返回结果及使用示例，并要求验证文档中的代码示例，帮助新人理解和说明程序各部分的作用。<a href=\"https://github.com/Jeffallan/claude-skills/blob/main/skills/code-documenter/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr><tr><td><strong>GitHub awesome-copilot 的 Sensei Junior Mentor Agent</strong></td><td>条件与循环；函数、参数与返回值</td><td>通过提问、分级提示和逐行解释辅导初学者，可用于练习什么时候需要判断、哪些操作需要重复、哪些步骤适合组成函数。强调学习者能够解释最终代码，部分模式会刻意不给完整答案。<a href=\"https://github.com/github/awesome-copilot/blob/main/agents/mentoring-juniors.agent.md\" target=\"_blank\" rel=\"noopener noreferrer\">Agent 原文</a></td></tr></tbody></table>"
    },
    {
      "id": "coding-assistance-section-4",
      "title": "第四节 逐步编写并运行程序",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-4",
      "html": "<p>第三节的计划可以直接交给具备文件编辑和执行能力的 Agent，让它逐步创建或修改代码、运行程序并检查结果，不一定需要再安装一个 Skill。编辑器与 IDE 用于查看代码、修改差异和运行输出；点击普通的“运行”按钮通常只会执行已有程序，开始 AI 编写代码需要向 Agent 发出实施请求。</p>\n<p>可以继续使用 <a href=\"https://code.visualstudio.com/docs/agents/run/planning\" target=\"_blank\" rel=\"noopener noreferrer\">VS Code 中的编程 Agent</a>，从计划转入实施；也可以使用 <a href=\"https://github.com/obra/superpowers/blob/main/skills/executing-plans/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Superpowers 的 Executing Plans Skill</a> 按计划逐项修改、验证和记录进度，或用 <a href=\"https://github.com/bmad-code-org/BMAD-METHOD/blob/main/docs/build/build-a-change.md\" target=\"_blank\" rel=\"noopener noreferrer\">BMad 的 bmad-build Skill</a> 承接任务并完成代码修改、检查和 Git 提交。</p>\n<p>这一环节重点练习 Git 版本管理。可以让现有 Agent 处理 Git 操作，并通过可视化界面查看结果，也可以采用已经整合 Git 的编程助手。</p>\n<table class=\"d-table\"><thead><tr><th>名称</th><th>对应第一章的重要技术</th><th>它怎样帮助新人</th></tr></thead><tbody><tr><td><strong>GitHub awesome-copilot 的 git-commit Skill</strong></td><td>Git 版本管理</td><td>自动查看修改，选择相关文件，编写提交说明并实际保存为 Git 提交，随后检查提交结果。适合给现有 Agent 补充保存版本的流程；主要负责提交。<a href=\"https://github.com/github/awesome-copilot/blob/main/skills/git-commit/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Skill 原文</a></td></tr><tr><td><strong>Aider 的 Git 集成</strong></td><td>配合代码编辑器与 IDE；Git 版本管理</td><td>修改项目文件时默认自动提交 AI 的改动；用 <code>/diff</code> 查看本轮修改，用 <code>/undo</code> 撤销最近一次改动。可配合已有编辑器使用，也支持运行程序和配置修改后自动执行检查。<a href=\"https://aider.chat/docs/git.html\" target=\"_blank\" rel=\"noopener noreferrer\">Git 功能</a>、<a href=\"https://aider.chat/docs/usage/lint-test.html\" target=\"_blank\" rel=\"noopener noreferrer\">运行与检查</a></td></tr><tr><td><strong>VS Code 内置源代码管理</strong></td><td>代码编辑器与 IDE；Git 版本管理</td><td>在编辑器中直接查看修改前后的差异，选择本次需要保存的内容并提交，无需记忆 Git 命令。可以配合 Agent 使用，直观看到它实际修改和保存了什么。<a href=\"https://code.visualstudio.com/docs/sourcecontrol/staging-commits\" target=\"_blank\" rel=\"noopener noreferrer\">官方教程</a></td></tr><tr><td><strong>GitHub Desktop</strong></td><td>Git 版本管理</td><td>用独立的图形界面管理本地 Git 项目，查看提交历史，右键撤销某次提交的改动；撤销会形成新的提交，保留原有历史。<a href=\"https://docs.github.com/en/desktop/adding-and-cloning-repositories/adding-a-repository-from-your-local-computer-to-github-desktop\" target=\"_blank\" rel=\"noopener noreferrer\">添加本地项目</a>、<a href=\"https://docs.github.com/en/desktop/managing-commits/reverting-a-commit-in-github-desktop\" target=\"_blank\" rel=\"noopener noreferrer\">撤销教程</a></td></tr></tbody></table>\n<p>新人可以围绕三个动作练习：</p>\n<ol><li><strong>查看改动</strong>：让 Agent 解释本次修改，并在界面中查看前后差异。</li><li><strong>保存版本</strong>：完成一个小任务、运行确认后，保存为 Git 提交，并留下说明。</li><li><strong>恢复修改</strong>：选定需要撤销的改动，让 Agent 说明影响后执行，或通过图形界面操作。</li></ol>\n<p>已有编程 Agent 的读者，可以采用“现有 Agent + git-commit Skill + 编辑器 Git 界面”的方式。编辑器的保存文件操作保存当前内容，Git 提交则留下可比较和恢复的历史记录；提交可以只保存在本地，不必立即上传到 GitHub。自动提交也不代表程序已经运行正确，仍需结合实际结果判断。</p>"
    },
    {
      "id": "coding-assistance-section-5",
      "title": "第五节 验证结果、定位错误并改进",
      "url": "https://ai-knowledge-map.com/software/ai-coding/coding-assistance/#coding-assistance-section-5",
      "html": "<p>程序写好后，需要实际运行并复查已有功能，根据日志和错误现象定位原因，再根据需要整理结构或测量性能。还可以让审查 Agent 对照需求与第三节的设计，检查代码逻辑、模块分工和接口关系。</p>\n<p>下表分别保留验证、调试、代码与结构审查、重构和性能分析的工具。性能工具根据网页、JavaScript 或 Python 等场景选用，无需全部安装。</p>\n<table class=\"d-table\"><thead><tr><th>名称</th><th>对应第一章的重要技术</th><th>它怎样帮助新人</th></tr></thead><tbody><tr><td><strong>Superpowers 的 <a href=\"https://github.com/obra/superpowers/blob/main/skills/verification-before-completion/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Verification Before Completion Skill</a></strong></td><td>回归测试</td><td>要求实际执行本次检查、读取输出，再报告完成情况；修复后复查原问题和已有功能。</td></tr><tr><td><strong>Superpowers 的 <a href=\"https://github.com/obra/superpowers/blob/main/skills/systematic-debugging/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Systematic Debugging Skill</a></strong></td><td>调试输出与日志；回归测试；Git 版本管理</td><td>复现问题，读取错误和日志，查看近期改动，收集证据后验证原因假设，再做最小修改并复查。</td></tr><tr><td><strong>Superpowers 的 <a href=\"https://github.com/obra/superpowers/blob/main/skills/requesting-code-review/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Requesting Code Review Skill</a></strong></td><td>条件与循环；函数、参数与返回值；模块划分与程序接口；Git 版本管理</td><td>将需求、计划和 Git 改动范围交给审查者，检查代码逻辑、职责划分及与周围代码的衔接，返回问题位置、影响和建议。</td></tr><tr><td><strong>Anthropic 的 <a href=\"https://github.com/anthropics/claude-plugins-official/blob/main/plugins/code-simplifier/agents/code-simplifier.md\" target=\"_blank\" rel=\"noopener noreferrer\">Code Simplifier Agent</a></strong></td><td>重构</td><td>整理近期代码，减少重复、复杂嵌套和不必要的抽象，要求保持原有行为。原版含 JavaScript、TypeScript、React 约定，整理后仍需运行检查。</td></tr><tr><td><strong>Chrome DevTools 的 <a href=\"https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/skills/chrome-devtools/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">chrome-devtools</a> 与 <a href=\"https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/skills/memory-leak-debugging/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">memory-leak-debugging Skills</a></strong></td><td>调试输出与日志；性能分析</td><td>接入配套 MCP 工具后，操作浏览器、读取运行信息、分析性能；内存 Skill 帮助比较快照和追踪占用原因，适用于相应的 JavaScript、Node.js 场景。</td></tr><tr><td><strong>wshobson 的 <a href=\"https://github.com/wshobson/agents/blob/main/plugins/python-development/skills/python-performance-optimization/SKILL.md\" target=\"_blank\" rel=\"noopener noreferrer\">Python Performance Optimization Skill</a></strong></td><td>性能分析</td><td>为 Agent 提供 Python 耗时和内存测量方法，指导先测瓶颈再优化；主要提供方法和参考资料。</td></tr></tbody></table>\n<p>整体结构检查需要读取主要模块、接口、依赖和相关调用代码，并对照第三节的设计。审查报告应指出问题位置、触发条件或结构依据、实际影响和改进建议；重要结论仍需通过运行检查验证。重构后复查行为是否保持，性能优化则比较修改前后的实际测量结果。</p>\n<p>实践资料可参考 <a href=\"https://developer.chrome.com/blog/autofix-runtime-devtools-mcp\" target=\"_blank\" rel=\"noopener noreferrer\">CyberAgent 的浏览器检查与修复案例</a>、<a href=\"https://developer.chrome.com/blog/google-chat-memory-leaks-devtools-for-agents\" target=\"_blank\" rel=\"noopener noreferrer\">Google Chat 的内存排查案例</a>，以及 <a href=\"https://github.com/obra/superpowers/issues/2113\" target=\"_blank\" rel=\"noopener noreferrer\">Superpowers 的项目使用反馈</a>。这些记录的范围不同，不代表表中每个独立 Skill 都经过同样的效果评估。</p>"
    }
  ]
}
