Add specific instructions when reviewing specific file types
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Background
This is based on @kerrizor's suggestion in #444184 (comment 1851455809):
Actually, now that I think about it, an AI for documentation would be super useful as well, if it's able to detect grammar, syntax, typos, and other "common mistakes" for the language of the doc.
Proposal
- Check file extension if it contains file types used for documentation (
.md,.rdoc,.txt, etc) - If file extension matches doc types, add specific instructions to the prompt to detect grammar, syntax, typos.
Edited by 🤖 GitLab Bot 🤖