# 使用 GitHub Copilot 探索问题和讨论

GitHub Copilot 聊天功能 可以帮助你快速获得冗长讨论和问题的上下文。

## 简介

Copilot 可以帮助你快速获得 GitHub 上长篇讨论和议题的上下文。 可以要求 Copilot 汇总讨论、确定关键参与者，并提供有关议题或讨论状态的见解。

在处理具有很长正文或大量注释的议题或讨论时，副驾驶聊天 回复的质量可能会下降。 例如，当你要求 Copilot 总结某个持续时间较长的讨论时，可能会出现这种情况。 发生这种情况时，Copilot 将发出警告，以便你仔细查看其输出。

## 探究议题和讨论

1. 导航到有关 GitHub的问题或讨论。
2. 在右上角单击 Copilot 图标（**<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-copilot" aria-label="Copilot icon" role="img"><path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path></svg>**），以打开 副驾驶聊天。

   Copilot 会自动加载议题或讨论的内容，作为你提问时的上下文。
3. 在提示框中，键入问题，然后按 <kbd>Enter</kbd>。

   Copilot 会在面板中响应你的请求。

   > \[!TIP] 你无需在浏览器中跳转到某个议题或讨论页面再提问，只需在消息中包含相关 URL 即可。 例如，`Summarize https://github.com/monalisa/octokit/issues/1`。

## 示例提示

以下提示是一些你可以向 Copilot 提出的问题示例，可以帮助你了解议题和讨论。

### 一般问题

* `Summarize this issue`
* `What is the current status of this discussion?`
* `What are the main points of contention in this issue?`
* `Who are the key participants in this discussion?`

### 具体问题

* `What are the proposed solutions for this issue?`
* `What are the potential impacts of this issue?`
* `What are the next steps for this discussion?`

## 其他阅读材料

* [使用 GitHub Copilot 探索基本代码](/zh/copilot/tutorials/using-copilot-to-explore-a-codebase#further-reading)