🎯

fetching-pr-comments

🎯Skill

from bumgeunsong/daily-writing-friends

VibeIndex|
What it does

Retrieves and parses GitHub PR review comments for the current branch using GitHub CLI, enabling quick review of code-level feedback.

πŸ“¦

Part of

bumgeunsong/daily-writing-friends(12 items)

fetching-pr-comments

Installation

git cloneClone repository
git clone https://github.com/BumgeunSong/daily-writing-friends.git
npm runRun npm script
npm run dev
πŸ“– Extracted from docs: bumgeunsong/daily-writing-friends
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Use when needing to check PR review comments on current branch, before addressing reviewer feedback, or when asked to fetch/review PR comments

Overview

# Fetching PR Comments

Overview

Retrieve and parse GitHub PR review comments for the current branch using gh CLI.

Quick Reference

| Task | Command |

|------|---------|

| Check if PR exists | gh pr view |

| View PR with issue comments | gh pr view --comments |

| Fetch review comments (code-level) | gh api repos/{owner}/{repo}/pulls/{n}/comments |

| Extract key fields | --jq '.[] \| {path, line, body}' |

Workflow

  1. Get PR number for current branch:

```bash

gh pr view --json number --jq '.number'

```

  1. Fetch review comments:

```bash

gh api repos/{owner}/{repo}/pulls/{n}/comments \

--jq '.[] | {path: .path, line: .line, body: .body}'

```

  1. Full command (single step):

```bash

gh api repos/OWNER/REPO/pulls/$(gh pr view --json number -q .number)/comments \

--jq '.[] | {path: .path, line: .line, body: .body}'

```

Important Distinctions

| Type | What it shows | How to get |

|------|---------------|------------|

| Issue comments | PR-level discussion | gh pr view --comments |

| Review comments | Code-level feedback | gh api .../pulls/{n}/comments |

Common Patterns

Check if current branch has a PR:

```bash

gh pr view 2>/dev/null && echo "PR exists" || echo "No PR"

```

Get PR details + comments in one view:

```bash

gh pr view --comments

```

Fetch specific PR by number:

```bash

gh pr view 429 --repo owner/repo --comments

```

When NOT to Use

  • Creating new PRs (use gh pr create)
  • Reviewing diffs (use gh pr diff)
  • Merging (use gh pr merge)

More from this repository10

🎯
refactoring🎯Skill

Refactors code by extracting pure functions from side-effect-laden logic, enabling easier testing and maintainability.

🎯
code-style🎯Skill

Enforces clean, readable code by providing guidelines for function design, naming conventions, and code clarity principles.

🎯
testing🎯Skill

Enforces output-based testing of pure functions, guiding developers to write testable code by focusing on functional core transformations.

🎯
react-hook🎯Skill

I apologize, but I cannot generate a description without seeing the specific details about the "react-hook" skill from the repository. Could you provide more context or details about what this part...

🎯
pr-stacking🎯Skill

Enables developers to break large features into smaller, dependent PRs for incremental development and easier code reviews.

🎯
daily-writing-friends-design🎯Skill

Provides a comprehensive design system for Daily Writing Friends, ensuring consistent UI components, styling, and accessibility across the application.

🎯
api-layer🎯Skill

Manages API interactions and request handling for the Daily Writing Friends application, facilitating communication between frontend and backend services.

🎯
skill-creator🎯Skill

Guides developers in designing Claude Skills using progressive disclosure, optimizing skill architecture and content creation.

🎯
firebase-functions🎯Skill

Streamlines Firebase Cloud Functions development with structured TypeScript patterns, error handling, and organized function implementations.

🎯
commit🎯Skill

Stages and commits git changes following specific Korean commit message guidelines for clean, meaningful version control.