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

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

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

AI 导读

GitHub Copilot 可通过四种方式定制项目上下文:仓库级 .github/copilot-instructions.md 自定义指令、按 applyTo 匹配路径的指令文件、打包可复用流程的 agent skills(如 .github/skills/quality-checks),以及定义专用角色的 custom agents。

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