Cet article de référence fournit des détails sur les types d’instructions personnalisées pris en charge dans différents environnements. Pour plus d’informations sur les différents types d’instructions personnalisées pour GitHub Copilot, consultez À propos de la personnalisation des réponses GitHub Copilot.
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
👤
</span>
<strong>Instructions personnelles</strong> .</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span> <strong>Instructions de l'organisation</strong>.</li>
</ul>
</td>
</tr>
<tr>
<td>agent Copilot de cloud</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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l’agent</strong> (en utilisant <code>AGENTS.md</code>, <code>CLAUDE.md</code> ou <code>GEMINI.md</code> fichiers).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span> <strong>Instructions de l'organisation</strong>.</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code 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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🏢</span> <strong>Instructions de l'organisation</strong>.</li>
</ul>
</td>
</tr>
|
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l'agent</strong> (en utilisant un fichier <code>AGENTS.md</code>).</li>
</ul>
</td>
</tr>
<tr>
<td>agent Copilot de cloud</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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l’agent</strong> (en utilisant <code>AGENTS.md</code>, <code>CLAUDE.md</code> ou <code>GEMINI.md</code> fichiers).</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code 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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
</ul>
</td>
</tr>
|
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code 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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
</ul>
</td>
</tr>
|
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
</ul>
</td>
</tr>
<tr>
<td>agent Copilot de cloud</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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l’agent</strong> (en utilisant <code>AGENTS.md</code>, <code>CLAUDE.md</code> ou <code>GEMINI.md</code> fichiers).</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code 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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
</ul>
</td>
</tr>
|
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
-
📦
Instructions à l’échelle du référentiel (à l’aide du
.github/copilot-instructions.md fichier).
|
| agent Copilot de cloud |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l’agent</strong> (en utilisant <code>AGENTS.md</code>, <code>CLAUDE.md</code> ou <code>GEMINI.md</code> fichiers).</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code Copilot</td>
<td>
<ul style="list-style: none; padding-left: 1.5em; margin-left: 0;">
<li style="text-indent: -1.6em;">Les instructions personnalisées ne sont actuellement pas prises en charge.</li>
</ul>
</td>
</tr>
|
| Fonctionnalité Copilot |
Types d’instructions personnalisées prises en charge |
| Copilot Chat |
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📦
</span>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
</ul>
</td>
</tr>
<tr>
<td>agent Copilot de cloud</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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">🤖</span> <strong>Instructions de l’agent</strong> (en utilisant <code>AGENTS.md</code>, <code>CLAUDE.md</code> ou <code>GEMINI.md</code> fichiers).</li>
</ul>
</td>
</tr>
<tr>
<td>révision du code 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>
<strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
<li style="text-indent: -1.6em;">
<span aria-hidden="true">
📂
</span>
<strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
</ul>
</td>
</tr>
|
-
📦
Instructions à l’échelle du référentiel (à l’aide du
.github/copilot-instructions.md fichier).
-
📂
Instructions spécifiques au chemin d’accès (en utilisant des fichiers
.github/instructions/**/*.instructions.md).
-
🤖 Instructions de l'agent (en utilisant un fichier
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)