Clarify handling of documentation and deleted files in the prompt
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
The prompt currently says:
Do not comment on documentations
But it doesn't explain what counts as documentation.
We should clarify that this may include files like .md, possibly .html, and files located in paths like /docs/.
It also doesn't specify how Duo Code Review should handle deleted files. A deleted file in a MR can mean different things:
- A file was permanently removed
- A file was renamed or moved (git may show this as a deletion + addition)
We can clarify how Duo Code Review should respond in each case.
Why
- Avoids confusion when Duo Code Review encounters non-code or deleted files
- Ensures consistent handling of file removals or moves
- Helps guide proper review coverage and potentially prevents false positives
Edited by 🤖 GitLab Bot 🤖