PR Guard is a GitHub Action that uses an LLM to check whether a pull request author actually understands their own change.
It doesn’t try to detect or ban AI generated code. Instead, it:
Generates three focused questions about the diff
Makes the author answer them
And then judges whether the answers show the author understands the code submitted
If they pass, the check goes green. If not, the bot explains why and blocks until the author thinks a bit harder.