I wrote a browser userscript a while ago, also using GitHub API. It simply annotates the PR page with tags like this:
If you already have a userscript extension (e.g. violentmonkey) installed, this would be quite easy to use. The code is only ~100 lines so it’s easy to examine:
