resolving-review-comments
Resolves GitHub PR review threads after commits address feedback.
Skill by DrJKL
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/drjkl-resolving-review-comments
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/resolving-review-comments
What's inside
- Skill name
resolving-review-comments- Description
- Resolves GitHub PR review threads after commits address feedback. Fetches recent commits, checks code against unresolved threads, resolves via GraphQL, replies when needed. Use when asked to resolve comments, check review threads, or address PR feedback.
- License
- MIT
- Instructions
- 321 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Resolving Review Comments
After the PR author pushes commits addressing review feedback, this skill fetches recent changes, compares them against unresolved review threads, and programmatically resolves threads whose feedback has been implemented in code. For threads with author replies, it evaluates the argument and responds appropriately.
## When to Use
- User says "resolve comments", "resolve review threads", "check and resolve"
- User says "check recent commits and resolve what's been fixed"
- After pushing fixes for review feedback
- When asked to re-review and resolve addressed comments
## Prerequisites
- GitHub CLI authenticated: `gh auth status`
- In a repo with an open PR on the current branch (auto-checkout below if not)
- You are the reviewer (reviewers resolve their own comments per team guidelines)
## Workflow
### 0. Checkout PR Branch (MANDATORY)
**IMPORTANT: Do NOT use `gh api repos/.../contents` or any other remote API to read file contents. Always work from a local checkout. It is faster for multiple file reads, enables grep and broad context checks, and produces more reliable verification.**
You MUST have a local working copy of the PR branch before proceeding to any later step. Check it out:
```bash
# Extract PR info
PR_NUMBER=<N>
REPO_NAME=$(gh pr view "$PR_NUMBER" --json repository --jq '.repository.name // empty' 2>/dev/null \
|| basename "$(gh repo view --json name -q .name)")
BRANCH=$(gh pr view "$PR_NUMBER" --json headRefName -q .headRefName)
```
**Try methods in order:**
```bash
# Method 1: Already on the branch
CURRENT=$(git branch --show-current 2>/dev/null)
if [ "$CURRENT" = "$BRANCH" ]; then
echo "Already on $BRANCH"
# Method 2: Existing worktree
elif [ -d "${WORKTREE_BASE:-$HOME/worktrees}/$REPO_NAME/$BRANCH" ]; then
cd "${WORKTREE_BASE:-$HOME/worktrees}/$REPO_NAME/$BRANCH"
# Method 3: Cross-repo task directory
elif ls -d "${CROSS_REPO_BASE:-$HOME/cross-repo-tasks}"/*/"$REPO_NAME" 2>/dev/null | head -1 | grep -q .; then
cd "$(ls -d "${CROSS_REPO_BASE:-$HOME/cross-repo-tasks}"/*/"$REPO_NAME" 2>/dev/null | head -1)"
# Method 4: wt-continue (branch exists on remote)
else
wt-continue "$REPO_NAME" "$BRANCH"
cd "${WORKTREE_BASE:-$HOME/worktrees}/$REPO_NAME/$BRANCH"
fi
```
**Safety checks before syncing:**
```bash
# Abort if uncommitted changes
if [ -n "$(git status --porcelain)" ]; then
echo "❌ ABORT: Uncommitted changes detected. Stash or commit first."
git status --short
exit 1
fi
# Abort if unpushed commits
if [ -n "$(git log origin/$BRANCH..$BRANCH --oneline 2>/dev/null)" ]; then
echo "❌ ABORT: Unpushed local commits. Push first: git push origin $BRANCH"
exit 1
fi
# Sync with remote
git fetch origin
git reset --hard "origin/$BRANCH"
```
### 1. Identify the PR
```bash
# Get PR number for current branch
PR_NUMBER=$(gh pr view --json number -q .number)
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
OWNER=$(echo "$REPO" | cut -d'/' -f1)
REPO_NAME=$(echo "$REPO" | cut -d'/' -f2)
```
### 2. Fetch and Check Recent Commits
```bash
git fetch origin
# Show recent commits on the PR branch
gh pr view "$PR_NUMBER" --json commits --jq '.commits[-5:].[] | "\(.oid[:7]) \(.messageHeadline)"'
# Get the diff of recent changes to understand what was fixed
git diff HEAD~3..HEAD # adjust range based on context
```
### 3. Fetch All Unresolved Review Threads
Use the GitHub GraphQL API to get all review threads with their comments:
```bash
gh api graphql -f query='
query($owner: String!, $repo: String!, $pr: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 100) {
nodes {
id
isResolved
isOutdated
path
line
startLine
comments(first: 20) {
nodes {
idFrom DrJKL/ticket-to-pr-pipeline, MIT.
More from DrJKL/ticket-to-pr-pipeline
- 0.414score
issue-triage
DrJKL
Triages GitHub issue backlogs systematically.
SkillDFreshness: DClaude Code +9 - 0.414score
quality-checks
DrJKL
Runs quality gates (format, lint, typecheck) via single script.
SkillDFreshness: DClaude Code +9 - 0.409score
ci-checker
DrJKL
Checks GitHub CI status and guides fixing failures.
SkillDFreshness: DClaude Code +9 - 0.409score
notion-personal
DrJKL
Access personal/life Notion workspace shared with girlfriend.
SkillDFreshness: DClaude Code +9 - 0.409score
reviewing-external-prs
DrJKL
Review external GitHub PRs with human approval for each comment.
SkillDFreshness: DClaude Code +9 - 0.409score
slack-context-fetcher
DrJKL
Fetches Slack thread content using a Slack bot for ticket context enrichment.
SkillDFreshness: DClaude Code +9 - 0.409score
coderabbit-intake
DrJKL
Fast-track CodeRabbit issues to PRs.
SkillDFreshness: DClaude Code +9 - 0.409score
addressing-review-comments
DrJKL
Checks out a PR branch via worktree, implements code review feedback as individual commits linking to each comment URL, runs quality gates, and hands off to…
SkillDFreshness: DClaude Code +9 - 0.408score
review-orchestrator
DrJKL
Dispatch review subagents, compile feedback, triage for human decision.
SkillDFreshness: DClaude Code +9 - 0.406score
pr-split-advisor
DrJKL
Analyzes implementation plans and recommends PR splitting strategy.
SkillDFreshness: DClaude Code +9 - 0.406score
coderabbit-reviewer
DrJKL
Integrates CodeRabbit for automated PR code review.
SkillDFreshness: DClaude Code +9 - 0.406score
plan-generator
DrJKL
Generates high-level implementation plan from research findings.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 6, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/DrJKL/ticket-to-pr-pipeline
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from DrJKL
- 0.414score
quality-checks
DrJKL
Runs quality gates (format, lint, typecheck) via single script.
SkillDFreshness: DClaude Code +9 - 0.414score
issue-triage
DrJKL
Triages GitHub issue backlogs systematically.
SkillDFreshness: DClaude Code +9 - 0.409score
reviewing-external-prs
DrJKL
Review external GitHub PRs with human approval for each comment.
SkillDFreshness: DClaude Code +9 - 0.409score
ci-checker
DrJKL
Checks GitHub CI status and guides fixing failures.
SkillDFreshness: DClaude Code +9 - 0.409score
notion-personal
DrJKL
Access personal/life Notion workspace shared with girlfriend.
SkillDFreshness: DClaude Code +9 - 0.409score
slack-context-fetcher
DrJKL
Fetches Slack thread content using a Slack bot for ticket context enrichment.
SkillDFreshness: DClaude Code +9
Cite this page
resolving-review-comments skill. Agent Mart. https://agentmart.dev/skills/drjkl-resolving-review-comments (last updated 2026-10-24)