Loading...
Loading...
Fetch unresolved review comments from a GitHub PR or mark comments as resolved. Use this when managing PR review feedback, checking pending comments, or marking review threads as resolved. Supports GitHub URLs or explicit owner/repo/PR-number from anywhere, or PR number auto-detection from within a git repository.
npx skill4agent add hdcola/skills pr-comments/pr-comments # From current branch (requires git repo)
/pr-comments https://github.com/owner/repo/pull/123 # GitHub URL (recommended, works anywhere)
/pr-comments owner repo 123 # Explicit owner/repo/PR#
/pr-comments 216 # PR number (requires git repo)📋 Found 3 pending comment(s) in hugcanada/insurfactapps#216
ID: PRRT_kwDOQFTPGc51yyCV | apps/IFCAdmin/app/layouts/AppMenuItem.vue:126 | @reviewer: missing icon handling
ID: PRRT_kwDOQFTPGc51yyCz | apps/IFCAdmin/app/layouts/AppMenuItem.vue:129 | @reviewer: accessibility issue
ID: PRRT_kwDOQFTPGc51yyDP | apps/IFCAdmin/app/assets/layout/_menu.scss:90 | @reviewer: empty styles| Option | Example | Dependencies | When to use |
|---|---|---|---|
| Option 0 ⭐⭐ | (no arguments) | | When working on a PR branch (requires git repo) |
| Option B ⭐ | | | Recommended — Works anywhere without a git repository |
| Option C | | | When you know the owner/repo details, works anywhere |
| Option A ⚠️ | | | When you know the PR number and are in the project directory |
/pr-comments/pr-comments.gitfetch_pending_comments.shexit_plan_mode# Change to project root FIRST (critical for auto-detection)
cd <project-root>
# Then run the fetch script (no confirmation needed)
bash <skill-path>/scripts/fetch_pending_comments.sh <user-input>git rev-parse --git-dirgh repo viewbash scripts/resolve_comment_thread.sh ID1 ID2 ...