This reference article provides details of which types of custom instructions are supported in various environments. For more information about the various types of custom instructions for GitHub Copilot, see About customizing GitHub Copilot responses.
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 👤 Personal instructions.
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 🏢 Organization instructions.
|
| Copilot coding agent |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using
AGENTS.md, CLAUDE.md or GEMINI.md files).
- 🏢 Organization instructions.
|
| Copilot code review |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🏢 Organization instructions.
|
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using an
AGENTS.md file).
|
| Copilot coding agent |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using
AGENTS.md, CLAUDE.md or GEMINI.md files).
|
| Copilot code review |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
|
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
|
| Copilot code review |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
|
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
|
| Copilot coding agent |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using
AGENTS.md, CLAUDE.md or GEMINI.md files).
|
| Copilot code review |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
|
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
|
| Copilot coding agent |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using
AGENTS.md, CLAUDE.md or GEMINI.md files).
|
| Copilot code review |
- Custom instructions are currently not supported.
|
| Copilot feature |
Types of custom instructions supported |
| Copilot Chat |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
|
| Copilot coding agent |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using
AGENTS.md, CLAUDE.md or GEMINI.md files).
|
| Copilot code review |
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
|
- 📦 Repository-wide instructions (using the
.github/copilot-instructions.md file).
- 📂 Path-specific instructions (using
.github/instructions/**/*.instructions.md files).
- 🤖 Agent instructions (using an
AGENTS.md file).