I've gotten in the habit of asking the LLM to write a PEP for all sorts of python code I'm asking it to write. I think it works better.
eg. totalhelp (fixed link because that name was taken on pypi)
https://github.com/matthewdeanmartin/totalhelp/blob/main/docs/PEP.md