github / github/copilot-cli

Add a "review mode"

Aberta
#1,529 1 comentário 1 reação 0 responsáveis Ver no GitHub
area:agents
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### 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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.