# 提示和GitHub Copilot上下文

通过编写有效的提示并提供有用的上下文来 GitHub Copilot 获取更相关的响应。

## Links

* [GitHub Copilot的提示工程](/zh/copilot/concepts/prompting-and-context/prompt-engineering)

  采用这些策略来改善您的 Copilot 结果。

* [管理GitHub Copilot的上下文](/zh/copilot/concepts/prompting-and-context/context-management)

  Copilot了解如何管理对话上下文、长时间会话期间发生的情况，以及如何保持对上下文窗口的控制。

* [GitHub Copilot的自定义说明](/zh/copilot/concepts/prompting-and-context/custom-instructions)

  自定义 GitHub Copilot 的响应，使其符合您的首选项、项目约定和组织要求。

* [关于GitHub Copilot内存](/zh/copilot/concepts/prompting-and-context/copilot-memory)

  Copilot Memory 通过记住有关存储库和个人编码首选项的事实，帮助 Copilot 随着时间的推移变得更加有效。

* [关于 GitHub Copilot 的梦境](/zh/copilot/concepts/prompting-and-context/copilot-dreaming)

  了解Copilot Dreaming如何更新Copilot的上下文、如何启用它以及如何查看运行结果。

* [GitHub Copilot 的提示文件](/zh/copilot/concepts/prompting-and-context/prompt-files)

  在可重用的 Markdown 提示文件中保存特定于任务的说明和上下文，以便进行单独的 Copilot 交互。

* [为 GitHub Copilot 对存储库进行索引编制](/zh/copilot/concepts/prompting-and-context/repository-indexing)

  Copilot 通过为存储库编制索引来提高响应。

* [关于GitHub Copilot Spaces](/zh/copilot/concepts/prompting-and-context/spaces)

  了解如何使用 Copilot Spaces 组织和共享上下文，从而提升 Copilot Chat in GitHub 的效果并帮助协作者。