本参考文章详细介绍了各种环境中支持哪种类型的自定义指令。 有关 GitHub Copilot 各种自定义指令类型的更多信息,请参阅 关于自定义GitHub Copilot 响应。
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
👤
个人指示。
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
🏢 组织的说明。
|
| Copilot编程助理 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理说明(使用
AGENTS.mdCLAUDE.md或GEMINI.md文件)。
-
🏢 组织的说明。
|
| Copilot代码审查 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🏢 组织的说明。
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理 指令(使用
AGENTS.md 文件)。
|
| Copilot编程助理 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理说明(使用
AGENTS.mdCLAUDE.md或GEMINI.md文件)。
|
| Copilot代码审查 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
|
| Copilot代码审查 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
|
| Copilot编程助理 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理说明(使用
AGENTS.mdCLAUDE.md或GEMINI.md文件)。
|
| Copilot代码审查 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
|
| Copilot编程助理 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理说明(使用
AGENTS.mdCLAUDE.md或GEMINI.md文件)。
|
| Copilot代码审查 |
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot对话 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
|
| Copilot编程助理 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理说明(使用
AGENTS.mdCLAUDE.md或GEMINI.md文件)。
|
| Copilot代码审查 |
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
|
-
📦
存储库范围的 说明(使用
.github/copilot-instructions.md 文件)。
-
📂
路径特定 说明(使用
.github/instructions/**/*.instructions.md 文件)。
-
🤖 代理 指令(使用
AGENTS.md 文件)。
-
[AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-repository-instructions)
-
[AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-personal-instructions)
-
[AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-organization-instructions)