# pr-comments

pr-comments is a Claude Code skill that retrieves GitHub PR review feedback for the active branch. It triggers when checking feedback on an open pull request.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/pr-comments/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pr-comments

## What it does

pr-comments fetches code review feedback and inline diff comments for the active branch. It runs a bundled Python script that gathers review threads through the GitHub API while trimming diff hunks around relevant lines. If the script fails, fallback steps query endpoints directly via the `gh` command-line tool.

Retrieved feedback passes to the `insert_code_review_comments` tool. The skill acts as an informational reader: it never edits source files or submits replies to reviewers without explicit user instructions. Operation requires an authenticated `gh` CLI with repository permissions alongside an active pull request on the local branch.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill pr-comments -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pr-comments/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pr-comments/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill pr-comments -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pr-comments/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill pr-comments -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pr-comments/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp resources/bundled/skills/pr-comments
```

2. **Manually: put the files in place**
- File: `.github/skills/pr-comments/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill pr-comments -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path resources/bundled/skills/pr-comments
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pr-comments/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/pr-comments/SKILL.md

## When to use it
- inspect GitHub PR review feedback directly in the coding agent
- fetch line-level diff comments without opening a browser
- gather discussion threads for an active pull request branch

## Example prompts
- Show review comments on the current pull request
- Fetch the latest PR review feedback for this branch

## Similar
- [openai-gh-address-comments](https://affpapa.org/en/nevibecode/plugins/openai-gh-address-comments.md) — plugin · ★ 540 repo stars
- [pr-review-comments](https://affpapa.org/en/nevibecode/skills/pr-review-comments.md) — skill · 2600 installs
- [gh-address-comments](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-gh-address-comments.md) — skill · ★ 7191 repo stars
- [post-review-comments](https://affpapa.org/en/nevibecode/skills/post-review-comments.md) — skill · ★ 1636 repo stars
- [get-pr-comments](https://affpapa.org/en/nevibecode/skills/get-pr-comments.md) — skill · 2400 installs
- [load-pr-comments](https://affpapa.org/en/nevibecode/skills/load-pr-comments.md) — skill · 592 installs

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
