github / github/copilot-cli

Add a "review mode"

未關閉
#1,529 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area:agents
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

Reviewing PRs or even the changes made by copilot can be a long and difficult process, especially with more code being generated by AI tools.

### Proposed solution

Currently, shift+tab cycles modes like "plan mode". I propose a new "review mode" with the following:
- do NOT allow modifications to the product code
- prefer referring to new changes over full architecture (or how they relate to the full architecture)
- detect code-health issues like `const` in C++, whitespace, etc. Try to match the mannerisms used in the same files. (i.e. function comments?)
- if possible, identify tests to run and provide feedback on that. Should more tests be added? Do the tests pass? Do the tests need to be updated?
- if possible, refer to the actual PR on GitHub. Consider relevant comments in the code area under review. (advanced feature: look at other PRs or recent changes in similar areas, just to be aware of them)

### Example prompts or workflows

_No response_

### Additional context

VS Code lets you look at GitHub PRs. You can see what changes there are, but also have access to AI tooling. I use this all the time to ask questions about the new implementation or how it fits into the larger architecture.

Thinking about how to have a similar experience in the copilot cli would be helpful.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。