ohitslaurence/herdr-fleet/prc

Claude Code and agent skill by ohitslaurence/herdr-fleet

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Process automated PR review comments (the review bot, other configured review bots, and your own marked review comments), fix valid findings, react to train reviewers, and do a final pass on the diff.

Install

npx vskill@latest install ohitslaurence/herdr-fleet/prc

SKILL.md

The same SKILL.md was published earlier as ohitslaurence/herdr-fleet/prc.

PR Review Cleanup

You are processing automated code review comments on a pull request. Your job is to triage each finding, fix the valid ones, train the reviewers with reactions, and do a final quality pass.

Important Context

This PR may have review comments from three kinds of automated source:

The review bot (ship.review, Greptile by default: greptile-apps[bot])

Automated bug-finding reviewer. Does NOT have full codebase context. It frequently:

  • Flags patterns that are intentional project conventions
  • Misunderstands middleware/framework behavior
  • Suggests changes that would break other parts of the system
  • Raises valid points about real bugs or oversights
Other review bots (ship.finding_bots, matched by login)

Whatever else the user has configured, often a security agent. Like the review bot they lack full codebase context, so they can flag intentional or already-mitigated patterns, miss compensating controls elsewhere, and also surface real bugs the others don't.

Treat security findings with extra care: a false negative on a real security issue is costlier than on a style nit. When a security finding is plausible but you can't confirm the control flow is safe, ask rather than dismiss.

The user's own review comments (<!-- automated-pr-review -->)

Review comments posted from the user's GitHub account by a review skill of theirs, marked with <!-- automated-pr-review --> as the last line. Usually about architecture, readability, testing quality and PR clarity rather than correctness.

Step 1: Gather PR Context

Extract the owner, repo, and PR number from $ARGUMENTS. Supports both URLs (https://github.com/owner/repo/pull/123) and plain numbers (requires being in the repo).

bash
# Get PR metadata
gh pr view <number> --repo <owner/repo> --json title,body,headRefName,baseRefName
# Get the diff
gh pr diff <number> --repo <owner/repo>
# Get top-level comments (the summary)
gh api repos/<owner>/<repo>/issues/<number>/comments
# Get inline review comments
gh api repos/<owner>/<repo>/pulls/<number>/comments

Only process comments from the review bot, a login matching `ship.finding_bots` (`fleet config get ship.finding_bots`), or those containing `<!-- automated-pr-review -->`. Ignore all other comments.

Open the PR in its own worktree so you can read and edit the code (never gh pr checkout: canonical clones are bare and must stay untouched). This prints the worktree path; cd into it for everything that follows, including commits and pushes:

bash
dev pr-checkout <number> --repo <repo-alias>

Step 2: Understand the PR

If you didn't write this code, read the description, commits, diff, and the code the diff touches until you can judge each finding as well as the author could. If you wrote it, move on.

Step 3: Ask Before Assuming

Some findings need context the code can't give you: whether a flagged behaviour is intentional, whether an endpoint is internal-only, whether missing tests are in scope for this cleanup. Triage everything you can decide first, then ask about the ambiguous ones together rather than guessing or skipping them silently. For example: "Greptile says X is a bug, but it looks intentional. Was this by design?"

Step 4: Triage Each Finding

For each automated review comment, classify it:

VerdictActionReaction
Valid bug/issueFix itπŸ‘ (+1) on the inline comment
Exceptional catchFix itπŸ‘ (+1) AND πŸš€ (rocket) on the inline comment
Invalid / misunderstandingDon't fixπŸ‘Ž (-1) + reply explaining why
Cosmetic / style nitIgnoreNo reaction
Valid but out of scopeIgnoreNo reaction
Reacting to comments

For inline review comments:

bash
# React
gh api repos/<owner>/<repo>/pulls/comments/<comment_id>/reactions -f content="+1"
gh api repos/<owner>/<repo>/pulls/comments/<comment_id>/reactions -f content="-1"
gh api repos/<owner>/<repo>/pulls/comments/<comment_id>/reactions -f content="rocket"
# Reply
gh api repos/<owner>/<repo>/pulls/<number>/comments -f body="<explanation>" -f commit_id="<sha>" -f path="<path>" -f line=<line> -f side="RIGHT" -f in_reply_to=<comment_id>

For top-level issue/summary comments: do NOT react. They're just aggregates.

Reacting by source

Review bot comments β€” react with πŸ‘/πŸ‘Ž/πŸš€ as described above. Every πŸ‘Ž gets a reply (see below).

Other bots' comments β€” react with πŸ‘/πŸ‘Ž/πŸš€ as described above (they're separate bot accounts, so emoji reactions are appropriate). When you πŸ‘Ž a security finding, reply explaining why it's not a real security issue β€” be specific about the compensating control or why the path isn't reachable, so a reviewer reading later can verify your reasoning.

The user's own marked comments β€” these were posted from the user's own GitHub account. Do NOT react with emojis (reacting to your own comments looks odd). Instead:

  • Valid: Fix it, then reply with a brief note: "Fixed β€” [what you did]"
  • Invalid: Reply explaining why it doesn't apply: "Skipping β€” [reason]"
  • Cosmetic/out of scope: No reply needed
Writing thumbs-down replies

Reply to every πŸ‘Ž so the bot learns from it. Be brief and specific:

  • βœ… "This middleware intentionally catches all exceptions; HTTPException is re-thrown upstream in the error handler chain"
  • βœ… "Admin endpoints don't support transaction lookup by design β€” documented in API spec"
  • ❌ "Not applicable" (too vague, doesn't help the bot learn)

Step 5: Fix Valid Issues

Make the code changes for all findings you classified as valid.

Step 6: Commit and Push

Before committing, run the project's checks β€” lint, format, typecheck, and tests. Fix any issues your changes introduced. Then commit and push:

bash
gritty commit --accept
git push

Without gritty, git commit with a short message saying what you fixed.

If there are no fixes to make, skip this step.

Step 7: Final Pass

Review the full PR diff one more time with the context of what you learned from the findings. Look for:

  • Anything the reviewer missed that follows the same pattern
  • Related issues in nearby code
  • Edge cases the fixes might have introduced

Step 8: Summary

Present a table of all findings and your verdicts:

| # | Finding | File | Verdict | Action |
|---|---------|------|---------|--------|
| 1 | HTTPException swallowed | cursor.ts | βœ… Valid | Fixed β€” re-throw in middleware |
| 2 | No field validation | payments.ts | βœ… Valid | Fixed β€” added VALID_FIELDS check |
| 3 | Missing tests | payments.test.ts | ⏭️ Out of scope | Skipped |
| 4 | Transaction silent ignore | payments.ts | ❌ Invalid | By design β€” replied to Greptile |

Then a brief note on your final pass:

  • "Final pass: found no additional issues" OR
  • "Final pass: found and fixed X additional issue(s): [description]"

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ohitslaurence/herdr-fleet/prc/badge)](https://verified-skill.com/skills/ohitslaurence/herdr-fleet/prc)

Something wrong with this skill or its page? Tell us.