GitHub Blog · AI & ML· Christopher Harrison·· 5 天前AI 评分38
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