You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide.md
+19-8
Original file line number
Diff line number
Diff line change
@@ -104,13 +104,11 @@ Use chat variables to include specific context in your prompt. To use a chat var
104
104
105
105
To see all available chat variables, type `#` in the chat prompt box. See also [Chat variables](https://code.visualstudio.com/docs/copilot/copilot-chat#_chat-variables) in the {% data variables.product.prodname_vscode %} documentation.
106
106
107
-
{% ifversion ghec %}
108
-
109
107
## Using {% data variables.product.prodname_dotcom %} skills for {% data variables.product.prodname_copilot_short %}
110
108
111
109
> [!NOTE]
112
-
> * This feature is only available if you have a {% data variables.product.prodname_copilot_enterprise_short %} subscription.
113
110
> * The `@github` chat participant is currently in {% data variables.release-phases.public_preview %} and is subject to change.
111
+
> * This functionality is available with {% data variables.product.prodname_copilot_chat_short %} v0.20.3 or later and {% data variables.product.prodname_vscode_shortname %} or {% data variables.product.prodname_vscode_shortname %} Insiders 1.93 or later.
114
112
115
113
{% data variables.product.prodname_copilot_short %} has a collection of {% data variables.product.prodname_dotcom %}-specific skills that it can use to answer your questions. To access these skills in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %}, include `@github` in your question.
116
114
@@ -124,13 +122,26 @@ You can generate a list of currently available skills by asking {% data variable
124
122
125
123
The skills you can use in {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %} include those shown in the table below.
126
124
127
-
| Skill | Description | Enabled by default? | Example question |
|**Code search**| Natural language code search in the default branch of the Git repository. This skill is useful when you want to know where or how certain functionality has been implemented in the code. Note: the repository must be indexed - see "[AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-github-copilot-features-in-your-organization/indexing-repositories-for-copilot-chat)." | Yes |`@github Where is the logic that controls the user session management, and how does it work?`|
130
-
|**Path search**| Retrieves a specific file in the default branch of the Git repository. This skill is useful when you provide the exact path of a file in the repository. | Yes |`@github What logic does user_auth.js encapsulate?`|
131
-
|**Show symbol definition**| Retrieves the lines of code that define a specific code symbol (function, class, or struct) in the default branch of the Git repository. This skill is useful when you have the exact name of a symbol, and want to understand it. | Yes |`@github Write unit tests for the AuthUser method`|
128
+
|**Commit details**| Retrieves a list of commits, or the contents of a specific commit, to provide answers to commit-related questions. | Yes |`@github Explain the changes in the code of this commit`|
129
+
|**Discussion details**| Retrieves a specific {% data variables.product.prodname_dotcom %} discussion. This is useful for quickly getting the gist of the conversation in a discussion. | Yes |`@github Summarize this discussion LINK-TO-DISCUSSION`|
130
+
|**Issue details**| Retrieves a specific {% data variables.product.prodname_dotcom %} issue, including the issue's title, number, author, status, body, linked pull requests, comments, and timestamps. | Yes |`@github List issues assigned to me`|
131
+
| {% ifversion ghec %} |
132
132
|**Knowledge base search**| Tell {% data variables.product.prodname_copilot_chat_short %} to answer a question within the context of a knowledge base. To initiate a knowledge base search, first enter `@github #kb`. | Yes | Enter `@github #kb`, then choose your organization's style guide knowledge base, then ask: `What is our coding convention for indentation?`|
133
-
|**Web search**| Searches the web using the Bing search engine. This skill is useful for teaching Copilot about recent events, new developments, trends, technologies, or extremely specific, detailed, or niche subjects. | No (requires admin approval - see "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise)")|`@github What are some recent articles about SAT tokens securing against vulnerabilities in Node?`|
133
+
| {% endif %} |
134
+
|**File details**| Retrieves a specific file in the default branch of the Git repository, allowing you to ask questions about the file and the recent changes made to it. This skill is useful when you provide the exact path of a file in the repository. | Yes |`@github What logic does user_auth.js encapsulate?` <br> <br> `@github What is the file history of user_auth.js?`|
135
+
|**Path search**| Retrieves a specific file in the default branch of the Git repository. This skill is useful when you provide the exact path of a file in the repository. | Yes |`@github What logic does user_auth.js encapsulate?`|
136
+
|**Pull request details**| Retrieves a specific pull request. This allows you to ask questions about the pull request, including getting a summary of the pull request, its comments, or the code it changes. | Yes |`@github List my recent pull requests`|
137
+
|**{% data variables.product.prodname_GH_advanced_security %}**| Retrieves information about security alerts within your organization from {% data variables.product.prodname_GH_advanced_security %} features ({% data variables.product.prodname_code_scanning %}, {% data variables.product.prodname_secret_scanning %}, and {% data variables.product.prodname_dependabot_alerts %}). | Yes |`@github How would I fix this {% data variables.product.prodname_code_scanning %} alert?`|
138
+
|**Release details**| Retrieves the latest, or specified, release. This allows you to find out who created a release, when it happened, and information included in the release notes. | Yes |`@github When was the latest release?`|
139
+
|**Repository details**| Retrieves a specific {% data variables.product.prodname_dotcom %} repository. This is useful for finding out details such as the repository owner and the main language used. | Yes |`@github Tell me about PATH-TO-REPOSITORY`|
140
+
|**Symbol definition**| Retrieves the lines of code that define a specific code symbol (function, class, or struct) in the default branch of the Git repository. This skill is useful when you have the exact name of a symbol, and want to understand it. | Yes |`@github Write unit tests for the AuthUser method`|
141
+
|**Support search**| Retrieves information from the {% data variables.contact.contact_support_portal %}. This skill is useful for asking {% data variables.product.prodname_copilot_chat_short %} about {% data variables.product.prodname_dotcom %} products and support related questions. | Yes |`@github Can I use {% data variables.product.prodname_copilot_short %} knowledge bases with {% data variables.product.prodname_copilot_individuals_short %}?`|
142
+
|**Web search**| Searches the web using the Bing search engine. This skill is useful for teaching {% data variables.product.prodname_copilot_short %} about recent events, new developments, trends, technologies, or extremely specific, detailed, or niche subjects (only available with a {% data variables.product.prodname_copilot_enterprise_short %} or {% data variables.product.prodname_copilot_business_short %} subscription). | No (requires admin approval - see "[AUTOTITLE](/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise)")|`@github #web What are some recent articles about SAT tokens securing against vulnerabilities in Node?`|
0 commit comments