coderabbitai/ai-pr-reviewer

Adjust rules

pbjorklund opened this issue · 4 comments

I wonder if the prompt could be tuned in some way to pass in a list of rules that it does not need to validate. For instance it keeps complaining about missing comments when we are internally trying to do minimal commenting and instead focusing on readable code.

  • You can override the default prompt in your action configuration. See action.yaml.
  • Based on your advice, I have asked the bot to ignore commenting on documentation issues. We have seen the same issue on our end. Let's hope the bot complies. Otherwise, we have to tweak it further.

Yeah, but I do like the idea of someone else keeping a good sane base-prompt up to date. Just having some form of "extra-instruction" param as a consumer would be neat.

Yes, we are constantly iterating the prompt. Programming in English is fun and unpredictable at the same time. Just keep sending feedback and will appreciate any pull requests that improve the base prompts! :)

This is fixed, I haven't seen a lot of review comments regarding missing comments lately.