It would be great if given a PR’s diff, cursor could generate a PR description. Is there a way to do this now?
Hi @oveddan
Right now, no, I’ve passed the feature request on to the devs.
@oveddan not sure how much prompting you are OK with doing but I am sure you can do it by modifying my existing prompt, push it to a git repo, crawl it with cursor’s doc crawling feature and use it as:
@create-description @PR Diff
This is my semi hacky way to do things. I squash the commits in the PR into one.
Then I run:
git diff HEAD~1 >> dif.txt
I then prompt cursor to make a pr description from that file
1 Like