跳到正文
GitHub Blog · AI & ML· Christopher Harrison·AI 评分51

GitHub Copilot 入门系列:如何让 Copilot 了解你的代码库

GitHub Copilot app for Beginners: How to teach Copilot about your codebase

AI 导读

GitHub 博客介绍四种让 Copilot 理解代码库的定制方式:仓库级自定义指令、agent skills、自定义 agent 和 MCP 服务器。文章给出各方式的文件位置和用途,如 .github/copilot-instructions.md 定义规范、.github/skills 打包可重复流程、Playwright MCP 服务器支持浏览器中验证界面行为。

来源:GitHub Blog · AI & ML · github.blog