• MeatsOfRage@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 days ago

    On GitHub, after you make a PR go up to the URL. Right after the pr number add .diff

    This will give you a full pr diff. Paste that into what LLM you’re using. I usually prompt with something like

    “You’re a senior web engineer. Give this PR a review being aware of modern code practices and syntax. Try to uncover possible bugs. Give 3 to 5 actionable suggestions.”

    There’s probably a way to do this in the tools, I’ve just found this works.