roast-prlisted
Install: claude install-skill vivekbhange-hub/repo-roast-skill
# roast-pr: roast the diff, not the whole repo
Reviewers are busy and polite. This skill is neither busy nor, in `--savage`, particularly polite,
but it is always specific: it reads only what changed, cites the new line numbers, and pairs
every jab with the change that would make it go away. The result is a pre-review that catches
what human reviewers would have flagged, before they have to.
## Inputs
- A PR number (uses `gh`), a base branch (default: the repo's default branch), or nothing (diff
of the current branch against its merge base with the default branch, plus uncommitted changes).
- Mode flag: `--gentle`, none, or `--savage` (`${CLAUDE_SKILL_DIR}/../roast-repo/tone.md`).
## Outputs
- `roast/PR-<number or branch>.md`: score, blockers, roasts, suggested review comments.
- Nothing is posted to GitHub unless the user confirms.
## Steps
1. **Get the diff.**
- PR number: `gh pr view <n> --json title,body,baseRefName,headRefName,files` and
`gh pr diff <n>`. If `gh` is missing or not authenticated, say so and fall back to asking for a
branch name.
- Branch: `git merge-base HEAD <base>` then `git diff <merge-base>...HEAD` and `git diff HEAD`
for uncommitted work. Get stats with `git diff --stat`.
If the diff is empty, stop and say so.
2. **Map the new line numbers.** For each hunk header `@@ -a,b +c,d @@`, lines starting with `+`
are new lines numbered from `c`. Evidence must use the new file's path and line
(`src/api.ts:118`). Read th