Skip to main content

为 GitHub Copilot 提供上下文

了解如何提供 GitHub Copilot 相关信息以提高响应质量。

Copilot Spaces

将相关内容组织并集中到 空格 中,为特定任务提供正确上下文,从而让 Copilot 的响应更具针对性。

使用模型上下文协议 (MCP)

模型上下文协议 (MCP) 是一种协议,你可通过该协议将 GitHub Copilot 与其他系统集成以扩展其功能。

Creating and managing Copilot knowledge bases

Learn how to create and manage knowledge bases, which allow you to bring together Markdown documentation across one or more repositories, and then use that knowledge base as context for Copilot Chat.

Using knowledge bases

Learn how to provide predefined context for GitHub Copilot Chat with knowledge bases.

安装 GitHub Copilot 扩展

你可以与外部工具交互,并将其他功能添加到 Copilot。