此参考文章提供了在各种环境中支持的自定义指令类型的详细信息。有关 GitHub Copilot 各种自定义指令的更多信息,请参阅 关于自定义 GitHub Copilot 响应的说明。
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot 聊天 |
- 👤 个人 指令。
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 🏢 组织 指令。
|
| Copilot 云代理 |
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 📂 路径特定 指令(使用
.github/instructions/**/*.instructions.md 文件)。
- 🤖 代理 指令(使用
AGENTS.md、CLAUDE.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.md、CLAUDE.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.md、CLAUDE.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.md、CLAUDE.md 或 GEMINI.md 文件)。
|
| Copilot 代码审查 |
|
| Copilot 功能 |
支持的自定义指令类型 |
| Copilot 聊天 |
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 📂 路径特定 指令(使用
.github/instructions/**/*.instructions.md 文件)。
|
| Copilot 云代理 |
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 📂 路径特定 指令(使用
.github/instructions/**/*.instructions.md 文件)。
- 🤖 代理 指令(使用
AGENTS.md、CLAUDE.md 或 GEMINI.md 文件)。
|
| Copilot 代码审查 |
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 📂 路径特定 指令(使用
.github/instructions/**/*.instructions.md 文件)。
|
- 📦 仓库范围 指令(使用
.github/copilot-instructions.md 文件)。
- 📂 路径特定 指令(使用
.github/instructions/**/*.instructions.md 文件)。
- 🤖 代理 指令(使用
AGENTS.md 文件)。