--- name: get-a-first-pass-review-of-a-pull-request description: "Reviewers miss things when a change is big or rushed. Your AI does a first pass so you can focus on the hard parts. Use for: Get a first-pass review of a pull request." --- # Get a first-pass review of a pull request Reviewers miss things when a change is big or rushed. Your AI does a first pass so you can focus on the hard parts. ## What you need from the user - The pull request's diff and description - Your repo's coding rules - Any code around the change that matters ## What to give back A set of draft review comments, each tied to a file and line and marked as a bug, concern, idea or question. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Give this pull request a first-pass review. PR description: [paste] Diff, with secrets and keys removed: [paste, or name the PR branch if you're in my repo] Surrounding code that matters: [paste] Our coding rules: [paste, or name the file in the repo] 1. Check for security risks, broken rules, scope creep, breaking changes and missing tests. 2. Write each comment with its file and line. 3. Label each one: bug, concern, suggestion or question. 4. End with a short summary of the top risks. Only draft comments. Don't post, approve or merge. I'll decide what to send. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Treat the AI's review as a first pass. A person should still check any change to security or login code. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/prepare-a-first-pass-pull-request-review-8ac0df248aa3/ Original report: https://github.com/mergisi/awesome-hermes-agent/blob/main/skills/pr-first-review/SKILL.md BotCurrent has not tested this skill. Check the result before you use it.