# 支持不同类型的自定义说明

了解哪些环境支持哪种类型的自定义指令。

本参考文章详细介绍了各种环境中支持哪种类型的自定义指令。 有关各种类型的自定义指令 GitHub Copilot 的详细信息，请参阅 [关于自定义GitHub Copilot 响应](/zh/copilot/concepts/prompting/response-customization)。

## GitHub.com

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
👤
</span>
&nbsp;
<strong>个人指示</strong>。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span>&nbsp;<strong>组织</strong>的说明。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot云代理</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span>&nbsp;<strong>组织</strong>的说明。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong> 指令（使用 <code>AGENTS.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span>&nbsp;<strong>组织</strong>的说明。</li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>

## Visual Studio Code

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong> 指令（使用 <code>AGENTS.md</code> 文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot云代理</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>

## Visual Studio

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>
</ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>

## JetBrains IDE

在 JetBrains IDE 中，可以从代理自定义编辑器管理支持的自定义项。 在GitHub Copilot 聊天功能面板中，单击右上角的设置图标，然后单击 **“自定义”。**

该编辑器可让你管理当前项目的工作区自定义设置，或可在不同项目间沿用的个人自定义设置。 可以使用它查看和编辑 自定义代理、管理可重用的技能和提示文件，以及配置说明。 有关详细信息，请参阅 [在 IDE 中添加 GitHub Copilot 的存储库自定义说明](/zh/copilot/how-tos/configure-custom-instructions-in-your-ide/add-repository-instructions-in-your-ide) 和 [在 IDE 中创建自定义 Copilot云代理 代理](/zh/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents-in-your-ide)。

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
👤
</span>
&nbsp;
<strong>个人指示</strong>。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot云代理</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>
</ul>
      </td>
    </tr>
  </tbody>
</table>

## Eclipse

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot云代理</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">
<li style="text-indent: -1.6em;">目前不支持自定义说明。</li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>

## Xcode

<table>
  <thead>
    <tr>
      <th style="width: 25%">
Copilot 功能</th>
      <th>支持的自定义指令类型</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>副驾驶聊天 </td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>
</ul>
      </td>
    </tr>
    <tr>
      <td>Copilot云代理</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
        </ul>
      </td>
    </tr>
    <tr>
      <td>Copilot 代码评审</td>
      <td>
        <ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
&nbsp;
<strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>
</ul>
      </td>
    </tr>
  </tbody>
</table>

## Copilot 命令行界面（CLI）

<ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">

  <li style="text-indent: -1.6em;">
  <span aria-hidden="true">
  📦
  </span>
  &nbsp;
  <strong>存储库范围的</strong> 说明（使用 <code>.github/copilot-instructions.md</code> 文件）。</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
&nbsp;
<strong>路径特定</strong> 说明（使用 <code>.github/instructions/**/*.instructions.md</code> 文件）。</li>

  <li style="text-indent: -1.6em;">
  <span aria-hidden="true">🤖</span>&nbsp;<strong>代理</strong>说明（使用<code>AGENTS.md</code><code>CLAUDE.md</code>或<code>GEMINI.md</code>文件）。</li>
  <li style="text-indent: -1.6em;">
<span aria-hidden="true">
👤
</span>
&nbsp;
<strong>个人</strong> 指令（使用 <code>~/.copilot/copilot-instructions.md</code> 或 <code>~/.copilot/instructions/**/*.instructions.md</code> 文件）。</li>
</ul>

## 延伸阅读

* [为GitHub Copilot添加存储库自定义说明](/zh/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-repository-instructions)
* [为 GitHub Copilot 添加个人自定义说明](/zh/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-personal-instructions)
* [为 GitHub Copilot 添加组织自定义指令](/zh/copilot/how-tos/copilot-on-github/customize-copilot/add-custom-instructions/add-organization-instructions)