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