AI assisted programming isn't inherently bad, but it does allow contributions from people who may not understand what exactly they are contributing. PR Guard aims to stop this.
It works by:
- Passing the diff of a PR to an LLM - The LLM returns 3 questions which the author must answer - The LLM then reviews the answers and decides whether or not they show the author understands their code
The point is to relieve some pressure on reviewers AND to enable users of AI assisted programming to learn in a new and engaging way.