跳到正文
GitHub Blog · AI & ML· Christopher Harrison·· 3 天前AI 评分58

GitHub Copilot 新手教程:如何让 Copilot 了解你的代码库

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

AI 导读

GitHub 官方博客讲解了四种让 Copilot 掌握项目规则的方式:在 .github/copilot-instructions.md 中写自定义指令、把可复用流程打包成 agent skills、用 .github/agents 中的自定义智能体处理跨文件任务,以及通过 MCP 服务器连接 Playwright 等外部工具。

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