Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions docs/cody/capabilities/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ Click the **New prompt** button on the **Prompt Library** page to create a new p
- Select the **Owner** and **Name** of the prompt
- Then, write a prompt description
- And finally, fill out the **Prompt template** box with all your prompt instructions
- Moreover, you can mark your prompt as **Draft**. This would prevent it from being available to other users
- Moreover, you can mark your prompt as **Draft**.
- Once done, click the **Create prompt** button

The prompt is visible to and usable by:

- The prompt's owner: if the prompt's owner is a user
- All members of the organization: if the prompt's owner is an organization
- Everyone: if the prompt is marked **Public** (which only site admins can do)

Completing this process will do the following:

- The new prompt will be added to the **Prompt Library** page
- If it's not a draft, it will be available to other users in your organization
- The prompt will start appearing via your connected Sourcegraph instance inside Cody's VS Code extension and the Sourcegraph Web UI
- The prompt will appear in the Prompts list in Cody (in the editor and on the web)

![prompts-in-vscode](https://storage.googleapis.com/sourcegraph-assets/Docs/prompts-ui-vscode-082024.png)

Expand Down
Loading