# Requesting a code review with GitHub Copilot CLI

> Use Copilot CLI to review your code changes directly from the terminal.

- 网址：https://funcoding.ai/agents/github-copilot/how-tos/copilot-cli/use-copilot-cli/agentic-code-review/
- 来源：GitHub Copilot 官方文档原文（英文），CC-BY-4.0 许可，同步于 2026-10-11
- 官方原文：https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/agentic-code-review

---
## About agentic code review

You can use the `/review` slash command to have Copilot analyze code changes without leaving the CLI. This lets you get quick feedback on your changes prior to committing.

1. Type `/review` and optionally specify a prompt, path, or file pattern to narrow the review scope, then press <kbd>Enter</kbd>.
1. If Copilot proposes running a command (for example, to inspect a diff or verify a file), review the command, then use the arrow keys to choose an option and press <kbd>Enter</kbd>.
   * Select **Yes** to run the command.
   * Select **No** to skip the command and tell Copilot what to do differently.
1. Read the feedback that Copilot provides about your changes and apply any suggested improvements in your code editor.

## Further reading

* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/copilot-cli/automate-copilot-cli/automate-with-actions/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions/)
