GitHub Blog · AI & ML· Christopher Harrison·· 2026-10-13AI 评分40
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