Skip to content

Commit ff9a3d1

Browse files
committed
Add promoted Prompts
1 parent 832e319 commit ff9a3d1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/cody/capabilities/commands.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ Prompts work in the same way as commands. Inside Cody's chat window there is a d
4545

4646
![prompts-in-dropdown](https://storage.googleapis.com/sourcegraph-assets/Docs/using-prompts.png)
4747

48+
## Promoted Prompts
49+
50+
<Callout type="note">Promoted Prompts are supported in VS Code and Cody Web.</Callout>
51+
52+
Promoted Prompts allow admins to highlight Prompts to users at the top of a Prompt list in Cody chat, directing users to use specific Prompts that encourage best practices within the organization. Admins can promote a Prompt by checking the Promoted box in the Prompt edit screen.
53+
54+
![promote-a-prompt](https://storage.googleapis.com/sourcegraph-assets/Docs/promote-promt-1024.png)
55+
56+
Promoted Prompts are marked with an icon next to their name and appear at the top of the Prompt list in the Cody chat window in an IDE and the Prompt Library.
57+
58+
![icon-promoted-prompts](https://storage.googleapis.com/sourcegraph-assets/Docs/promote-prompt-icon-1024.png)
59+
4860
## Commands
4961

5062
Cody offers quick, ready-to-use **commands** for common actions to write, describe, fix, and smell code. These allow you to run predefined actions with smart context-fetching anywhere in the editor. Like autocomplete and chat, commands will search for context in your codebase to provide more contextually aware and informed answers.

docs/cody/clients/feature-reference.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
| OpenCtx context providers (experimental) ||||||
2323
| **Prompts and Commands** | | | | | |
2424
| Access to prompts and Prompt library ||||||
25+
| Promoted Prompts ||||||
2526
| Edit code ||||||
2627
| Generate unit test ||||||
2728
| Ask Cody to Fix ||||||

0 commit comments

Comments
 (0)