Skip to content

Commit 2d3e463

Browse files
hubwriterRyanHechtSiaraMistsaritai
authored
Copilot CLI public preview (#57544)
Co-authored-by: Ryan Hecht <ryanhecht@github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
1 parent e1713a7 commit 2d3e463

File tree

34 files changed

+694
-334
lines changed

34 files changed

+694
-334
lines changed
162 KB
Loading

content/copilot/concepts/agents/about-copilot-cli.md

Lines changed: 276 additions & 0 deletions
Large diffs are not rendered by default.

content/copilot/concepts/agents/coding-agent/about-coding-agent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ Users can include hidden messages in issues assigned to {% data variables.produc
140140
* **{% data variables.copilot.copilot_coding_agent %} only works with repositories hosted on {% data variables.product.github %}**. If your repository is stored using a different code hosting platform, {% data variables.product.prodname_copilot_short %} won't be able to work on it.
141141
* **You cannot change the AI model used by {% data variables.copilot.copilot_coding_agent %}**. The model is determined by {% data variables.product.company_short %} and does not inherit the model selected for {% data variables.copilot.copilot_chat %}.
142142

143+
Currently the model used by {% data variables.copilot.copilot_coding_agent %} is {% data variables.copilot.cca_current_model %}. {% data variables.product.github %} reserves the right to change this model.
144+
143145
## Hands-on practice
144146

145147
Try the [Expand your team with {% data variables.copilot.copilot_coding_agent %}](https://github.com/skills/expand-your-team-with-copilot/) Skills exercise for practical experience with {% data variables.copilot.copilot_coding_agent %}.

content/copilot/concepts/agents/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ topics:
1010
children:
1111
- /coding-agent
1212
- /code-review
13+
- /about-copilot-cli
1314
contentType: concepts
1415
---
15-

content/copilot/concepts/billing/copilot-requests.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The following {% data variables.product.prodname_copilot_short %} features can u
4343
| [{% data variables.copilot.copilot_extensions_short %}](/copilot/concepts/copilot-extensions/about-copilot-extensions) | {% data variables.copilot.copilot_extensions_short %} uses **one premium request** per user prompt, multiplied by the model's rate. |
4444
| [{% data variables.copilot.copilot_spaces %}](/copilot/using-github-copilot/copilot-spaces/about-organizing-and-sharing-context-with-copilot-spaces) | {% data variables.copilot.copilot_spaces %} uses **one premium request** per user prompt, multiplied by the model's rate. |
4545
| [{% data variables.product.prodname_spark_short %}](/copilot/tutorials/building-ai-app-prototypes) | Each prompt to {% data variables.product.prodname_spark_short %} uses a fixed rate of **four premium requests**. |
46+
| [{% data variables.copilot.copilot_cli_short %}](/copilot/concepts/agents/about-copilot-cli) | Each prompt to {% data variables.copilot.copilot_cli_short %} uses **one premium request**. |
4647

4748
## How do request allowances work per plan?
4849

content/copilot/concepts/chat.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ contentType: concepts
1919

2020
{% data variables.copilot.copilot_chat %} is available in various environments:
2121

22-
* {% data variables.product.github %} (the website).
23-
* A range of IDEs such as {% data variables.product.prodname_vscode %}, Xcode, and JetBrains IDEs.
24-
* {% data variables.product.prodname_mobile %}.
22+
* {% data variables.product.github %} (the website)
23+
* A range of IDEs such as {% data variables.product.prodname_vscode %}, Xcode, and JetBrains IDEs
24+
* {% data variables.product.prodname_mobile %}
25+
* {% data variables.copilot.copilot_cli %}
2526

2627
Different environments may have different features and capabilities, but the core functionality remains consistent across platforms. To explore the functionality available in each environment, see the [AUTOTITLE](/copilot/how-tos/chat) how-to guides and the [AUTOTITLE](/copilot/tutorials).
2728

@@ -33,11 +34,13 @@ Different environments may have different features and capabilities, but the cor
3334

3435
{% data variables.product.prodname_copilot %} in {% data variables.product.github %}, {% data variables.product.prodname_vscode %}, and {% data variables.product.prodname_vs %} can provide chat responses that are tailored to the way your team works, the tools you use, the specifics of your project, or your personal preferences, if you provide it with enough context to do so. Instead of repeating instructions in each prompt, you can create and save instructions for {% data variables.copilot.copilot_chat_short %} to customize what responses you receive.
3536

36-
There are two types of custom instructions you can add for {% data variables.copilot.copilot_chat_short %}:
37-
* Repository instructions: You can create a custom instructions file for a repository, so that all prompts asked in the context of the repository automatically include the instructions you've defined
38-
* Personal instructions: You can add personal instructions so that all the chat responses you, as a user, receive are tailored to your preferences
37+
There are various ways you can create custom instructions for {% data variables.copilot.copilot_chat_short %}. These fall into three main categories:
3938

40-
For more information, see [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot) and [AUTOTITLE](/copilot/customizing-copilot/adding-personal-custom-instructions-for-github-copilot).
39+
* **Personal instructions**: You can add personal instructions so that all the chat responses you, as a user, receive are tailored to your preferences.
40+
* **Repository instructions**: You can store instructions files in a repository, so that all prompts asked in the context of the repository automatically include the instructions you've defined.
41+
* **Organization instructions**: If you are an organization owner, you can create a custom instructions file for an organization, so that all prompts asked in the context of any repository owned by the organization automatically include the instructions you've defined.
42+
43+
For more information, see [AUTOTITLE](/copilot/customizing-copilot/adding-personal-custom-instructions-for-github-copilot), [AUTOTITLE](/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot) and [AUTOTITLE](/copilot/customizing-copilot/adding-organization-custom-instructions-for-github-copilot).
4144

4245
## AI models for {% data variables.copilot.copilot_chat_short %}
4346

@@ -56,3 +59,9 @@ You can configure MCP servers to provide context to {% data variables.copilot.co
5659
### Extending {% data variables.copilot.copilot_chat_short %} with external tools
5760

5861
{% data reusables.copilot.copilot-extensions.extending-copilot-chat %}
62+
63+
### Further reading
64+
65+
* [AUTOTITLE](/copilot/how-tos/chat-with-copilot) how-to guides
66+
* [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli)
67+
* [AUTOTITLE](/copilot/tutorials/copilot-chat-cookbook)

content/copilot/get-started/features.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ An autonomous AI agent that can make code changes for you. You can assign a {% d
3333

3434
### {% data variables.copilot.copilot_cli_short %}
3535

36-
A chat-like interface in the terminal, where you can ask questions about the command line. You can ask {% data variables.product.prodname_copilot_short %} to provide command suggestions or explanations of commands. Users can also integrate {% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_windows_terminal %} Canary. See [AUTOTITLE](/copilot/using-github-copilot/using-github-copilot-in-the-command-line).
36+
A command line interface that lets you use {% data variables.product.prodname_copilot_short %} from within the terminal. You can get answers to questions, or you can ask {% data variables.product.prodname_copilot_short %} to make changes to your local files. You can also use {% data variables.copilot.copilot_cli_short %} to interact with {% data variables.product.prodname_dotcom_the_website %}—for example, listing your open pull requests, or asking {% data variables.product.prodname_copilot_short %} to create an issue. See [AUTOTITLE](/copilot/concepts/agents/about-copilot-cli).
3737

38-
### {% data variables.product.prodname_copilot %} code review
38+
### {% data variables.copilot.copilot_code-review_short %}
3939

4040
AI-generated code review suggestions to help you write better code. See [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review).
4141

@@ -47,7 +47,7 @@ AI-generated summaries of the changes that were made in a pull request, which fi
4747

4848
AI-generated text completion to help you write pull request descriptions quickly and accurately. See [AUTOTITLE](/copilot/using-github-copilot/using-copilot-text-completion).
4949

50-
### {% data variables.copilot.copilot_extensions %}
50+
### {% data variables.copilot.copilot_extensions_short %}
5151

5252
{% data reusables.copilot.copilot-extensions.copilot-extensions-intro %} See [AUTOTITLE](/copilot/concepts/copilot-extensions/about-copilot-extensions).
5353

content/copilot/how-tos/configure-custom-instructions/add-organization-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Some examples of instructions you could add are:
3535

3636
> [!NOTE]
3737
> * {% data reusables.copilot.custom-instructions-chat-precedence %}
38-
> * For {% data variables.copilot.copilot_code-review_short %}, the order of precedence is: instructions in any applicable `.github/instructions/NAME.instructions.md` file, then the instructions in the `.github/copilot-instructions.md` file, then the organization-level custom instructions.
38+
> * For {% data variables.copilot.copilot_code-review_short %}, the order of precedence is: instructions in any applicable `.github/instructions/**/NAME.instructions.md` file, then the instructions in the `.github/copilot-instructions.md` file, then the organization-level custom instructions.
3939
> * {% data reusables.copilot.custom-instructions-conflict %}
4040
4141
## Adding organization custom instructions

content/copilot/how-tos/configure-custom-instructions/add-repository-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ You can create several types of repository custom instructions for use on {% dat
261261

262262
* **Agent instructions** are used by AI agents.
263263

264-
Supported by: **{% data variables.copilot.copilot_coding_agent %}**.
264+
Supported by: **{% data variables.copilot.copilot_coding_agent %}** and {% data variables.copilot.copilot_cli_short %}.
265265

266-
You can create one or more `AGENTS.md` files, stored anywhere within the repository. When {% data variables.product.prodname_copilot_short %} is working, the nearest `AGENTS.md` file in the directory tree will take precedence.
266+
You can create one or more `AGENTS.md` files, stored anywhere within the repository. When {% data variables.product.prodname_copilot_short %} is working, the nearest `AGENTS.md` file in the directory tree will take precedence. For more information, see the [openai/agents.md repository](https://github.com/openai/agents.md).
267267

268268
Alternatively, you can use a single `CLAUDE.md` or `GEMINI.md` file stored in the root of the repository.
269269

content/copilot/how-tos/configure-personal-settings/customize-copilot-in-the-cli.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)