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

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

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

AI 导读

GitHub Copilot 可通过四种方式定制项目上下文:用 .github/copilot-instructions.md 定义仓库级规范,用 .github/instructions 配合 applyTo 字段做路径级指引,用 .github/skills 下的 SKILL.md 封装可复用流程,用 .github/agents 创建专用自定义智能体。

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