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

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

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

AI 导读

GitHub 讲解了四种让 Copilot 了解项目代码库的方式,分别是自定义指令、智能体技能(Agent skills)、自定义智能体和 MCP 服务器。仓库级规范写在 .github/copilot-instructions.md,也可在 .github/instructions 中用 applyTo 字段为特定路径设定规则。

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