Skip to main content

Prise en charge de différents types d’instructions personnalisées

Découvrez quels environnements prennent en charge les types d’instructions personnalisées.

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.

GitHub.com

Fonctionnalité Copilot Types d’instructions personnalisées prises en charge
Copilot Chat
          <li style="text-indent: -1.6em;">
                        <span aria-hidden="true">
                        👤
                        </span>
                        &nbsp;
                        <strong>Instructions personnelles</strong> .</li>
              <li style="text-indent: -1.6em;">
                            <span aria-hidden="true">
                            📦
                            </span>
                            &nbsp;
                            <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>&nbsp;<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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>&nbsp;<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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<strong>Instructions de l'organisation</strong>.</li>
        </ul>
      </td>
    </tr>
    

Visual Studio Code

Fonctionnalité Copilot Types d’instructions personnalisées prises en charge
Copilot Chat
          <li style="text-indent: -1.6em;">
                        <span aria-hidden="true">
                        📦
                        </span>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>
                        &nbsp;
                        <strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
        </ul>
      </td>
    </tr>
    

Visual Studio

Fonctionnalité Copilot Types d’instructions personnalisées prises en charge
Copilot Chat
          <li style="text-indent: -1.6em;">
                        <span aria-hidden="true">
                        📦
                        </span>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>
                        &nbsp;
                        <strong>Instructions à l’échelle du référentiel</strong> (à l’aide du <code>.github/copilot-instructions.md</code> fichier).</li>
        </ul>
      </td>
    </tr>
    

IDE JetBrains

Fonctionnalité Copilot Types d’instructions personnalisées prises en charge
Copilot Chat
          <li style="text-indent: -1.6em;">
                        <span aria-hidden="true">
                        📦
                        </span>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
              </ul>
      </td>
    </tr>
    

Éclipse

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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>
    

Xcode

Fonctionnalité Copilot Types d’instructions personnalisées prises en charge
Copilot Chat
          <li style="text-indent: -1.6em;">
                        <span aria-hidden="true">
                        📦
                        </span>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <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>&nbsp;<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>
                        &nbsp;
                        <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>
                            &nbsp;
                            <strong>Instructions spécifiques au chemin d’accès</strong> (en utilisant des fichiers <code>.github/instructions/**/*.instructions.md</code>).</li>
              </ul>
      </td>
    </tr>
    

CLI Copilot

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

Lectures complémentaires

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