Skip to content

Commit d44259b

Browse files
authored
Document /security-review slash command in GitHub Copilot app (#62276)
1 parent 1849396 commit d44259b

1 file changed

Lines changed: 27 additions & 14 deletions

File tree

content/copilot/how-tos/github-copilot-app/agent-sessions.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,18 @@ Hover over the {% octicon "info" aria-label="the info icon" %} icon in the model
4747

4848
**Quick chats** in the sidebar opens a conversation mode without creating a dedicated branch or worktree. Use it for brainstorming, asking questions, or exploring ideas before starting a session. Your chat history is saved and listed by conversation name.
4949

50-
## Using `/chronicle` with app sessions
50+
## Using `/security-review` in app sessions
5151

52-
Because the {% data variables.copilot.github_copilot_app %} is built on {% data variables.copilot.copilot_cli %}, you can use {% data variables.copilot.copilot_cli_short %} session history features such as `/chronicle` to get insights from work you did in the app and in other {% data variables.copilot.copilot_cli_short %} sessions.
52+
> [!NOTE]
53+
> The `/security-review` slash command is currently in {% data variables.release-phases.public_preview %} and subject to change.
5354
54-
For example, you can use `/chronicle standup` to summarize recent work. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle).
55+
You can run the `/security-review` slash command in an active agent session to review your current workstream changes for high-confidence vulnerabilities. The command returns prioritized findings with severity and confidence scores, plus suggested fixes you can apply and verify in the same session.
5556

56-
## Using voice dictation
57+
1. Open an active session that has in-progress code changes.
58+
1. In the prompt box, type `/security-review` and press <kbd>Enter</kbd>.
59+
1. Review the findings, then update your code changes as needed.
5760

58-
You can use voice dictation to speak prompts in a session instead of typing them.
59-
60-
Before you can use voice dictation, you need to configure it in the app settings.
61-
62-
1. Open the app settings, then select the **Voice dictation** tab.
63-
1. Choose a keyboard shortcut.
64-
1. Allow microphone access in your operating system settings.
65-
1. Download a local transcription model.
66-
67-
After setup, use your shortcut to start and stop voice transcription. The app inserts transcribed text into the prompt box so you can review or edit it before sending.
61+
This lightweight, on-demand review complements {% data variables.product.github %} {% data variables.product.prodname_code_scanning %}, {% data variables.product.prodname_dependabot %}, and {% data variables.product.prodname_secret_scanning %} by giving you an initial check on your local changes before opening a pull request.
6862

6963
## Using the rubber duck agent
7064

@@ -82,6 +76,25 @@ You can also manually ask {% data variables.product.prodname_copilot_short %} to
8276

8377
For more information on the rubber duck agent, see [AUTOTITLE](/copilot/concepts/agents/copilot-cli/rubber-duck).
8478

79+
## Using `/chronicle` with app sessions
80+
81+
Because the {% data variables.copilot.github_copilot_app %} is built on {% data variables.copilot.copilot_cli %}, you can use {% data variables.copilot.copilot_cli_short %} session history features such as `/chronicle` to get insights from work you did in the app and in other {% data variables.copilot.copilot_cli_short %} sessions.
82+
83+
For example, you can use `/chronicle standup` to summarize recent work. For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle).
84+
85+
## Using voice dictation
86+
87+
You can use voice dictation to speak prompts in a session instead of typing them.
88+
89+
Before you can use voice dictation, you need to configure it in the app settings.
90+
91+
1. Open the app settings, then select the **Voice dictation** tab.
92+
1. Choose a keyboard shortcut.
93+
1. Allow microphone access in your operating system settings.
94+
1. Download a local transcription model.
95+
96+
After setup, use your shortcut to start and stop voice transcription. The app inserts transcribed text into the prompt box so you can review or edit it before sending.
97+
8598
## Keyboard shortcuts
8699

87100
The {% data variables.copilot.github_copilot_app %} supports keyboard shortcuts to help you navigate sessions, switch between workspaces, and perform common actions. To see available shortcuts, open the app, go to **Help**, then **Keyboard Shortcuts**.

0 commit comments

Comments
 (0)