pr-comments — Claude Code skill: what it does, how to install
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.
AGPL-3.0 ★ 720 updated 2026-11-10
npx skills add dominikmartn/harp --skill pr-comments -a claude-codeWhat pr-comments 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.
What it helps with
- 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 for the agent
- Show review comments on the current pull request
- Fetch the latest PR review feedback for this branch
How to install pr-comments
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill pr-comments -a claude-code2Manually: put the files in place
~/.claude/skills/pr-comments/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pr-comments/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill pr-comments -a codex2Manually: put the files in place
.agents/skills/pr-comments/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill pr-comments -a cursor2Manually: put the files in place
.cursor/skills/pr-comments/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dominikmartn/harp resources/bundled/skills/pr-comments2Manually: put the files in place
.github/skills/pr-comments/SKILL.md1Skills CLI (Vercel)
npx skills add dominikmartn/harp --skill pr-comments -a gemini-cli2Platform CLI
gemini skills install https://github.com/dominikmartn/harp --path resources/bundled/skills/pr-commentsManually: put the files in place
.devin/skills/pr-comments/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about pr-comments
How to install pr-comments in Claude Code?
Run npx skills add dominikmartn/harp --skill pr-comments -a claude-code in your terminal.
What does pr-comments do?
It queries the GitHub API for pull request reviews and inline code comments linked to the current branch, presenting them without editing files.
What is required to run pr-comments?
It requires Python 3, an authenticated gh CLI tool with repository access, and an active branch that has an open pull request.