Hint: using ChatGPT or some other LLM could help provide better names for PRs. LLMs are also useful in fixing grammar mistakes.
One way to pass the PR details to LLM is to append .patch
to the url, for example https://github.com/apache/pulsar/pull/23853.patch and then store this in a file that is passed to an LLM. Also store the output of https://api.github.com/repos/apache/pulsar/pulls/23853 and pass that in a file (23853.json). (Alternative is to print current PR page to PDF and also pass that.)
In the prompt "please provide a better title and description for this PR with fixed grammar and improved clarity. return the result in downloadable markdown format.".
https://www.deepseek.com/ is a good alternative for Claude for this use case.