Skip to main content

Support for different types of custom instructions

Find out which environments support which types of custom instructions.

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 Sobre como personalizar respostas do GitHub Copilot.

GitHub.com

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  Personal instructions.
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Organization instructions.
Agente de codificação do Copilot
  •  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.
Revisão de código do Copilot
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).
  •  Organization instructions.

Visual Studio Code

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  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).
Agente de codificação do Copilot
  •  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).
Revisão de código do Copilot
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).

Visual Studio

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).
Revisão de código do Copilot
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).

JetBrains IDEs

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).
Agente de codificação do Copilot
  •  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).
Revisão de código do Copilot
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).

Eclipse

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
Agente de codificação do Copilot
  •  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).
Revisão de código do Copilot
  • Custom instructions are currently not supported.

Xcode

Copilot feature Types of custom instructions supported
Bate-papo do Copiloto
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).
Agente de codificação do Copilot
  •  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).
Revisão de código do Copilot
  •  Repository-wide instructions (using the .github/copilot-instructions.md file).
  •  Path-specific instructions (using .github/instructions/**/*.instructions.md files).

CLI do Copilot

  •  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).

Further reading