Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

github-pr-workflow

/github-pr-workflow

Obsługuje pull requesty GitHub przez gh CLI: szczegóły PR, komentarze review, status CI oraz różnicę między komentarzami na poziomie PR a komentarzami inline do kodu.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Obsługuje pull requesty GitHub przez gh CLI: szczegóły PR, komentarze review, status CI oraz różnicę między komentarzami na poziomie PR a komentarzami inline do kodu.

Oryginalny opis (EN)

Working with GitHub Pull Requests using the gh CLI. Use for fetching PR details, review comments, CI status, and understanding the difference between PR-level comments vs inline code review comments.

Jak działa

  1. Key Concepts
  2. Scripts
  3. Common Commands
  4. API Endpoints Reference
  5. Workflow: Addressing Review Comments
Sekcje z nagłówków SKILL.md, w oryginale · 76 linii, 312 słów
Podgląd SKILL.md
---
name: github-pr-workflow
description: Working with GitHub Pull Requests using the gh CLI. Use for fetching PR details, review comments, CI status, and understanding the difference between PR-level comments vs inline code review comments.
---

# GitHub PR Workflow

## Key Concepts

### Comment Types

GitHub PRs have **two different types of comments**:

1. **PR-level comments** - General discussion on the PR (shown via `gh pr view --comments`)
2. **Inline code review comments** - Comments attached to specific lines of code (requires API)

**Important**: `gh pr view --comments` does NOT show inline code review comments!

## Scripts

| Script | Purpose |
|--------|---------|
| `gh-pr-info <PR> [REPO]` | **Comprehensive PR info**: summary, CI checks and unresolved review and inline comments |

The script auto-detects the repo from git remote, or accepts `[REPO]` as second argument (format: `owner/repo`).

**Key features**:
- Uses GitHub's GraphQL API to reliably filter out already resolved/addressed comments
- Excludes collapsed/hidden review threads
- Excludes minimized comments (marked as spam/off-topic/resolved)
- Excludes dismissed reviews
- Shows only what still needs attention

## Common Commands

```bash
# Get complete PR info with UNRESOLVED comments only
gh-pr-info <PR> [REPO]             # ✅ Everything you need: summary, checks, reviews, unresolved comments

# Basic PR info (native gh commands)
gh pr view <PR>                    # Overview
gh pr view <PR> --comments         # PR-level comments only (NOT inline!)
gh pr diff <PR>                    # View the diff

# Reviews (approve/request changes)
gh pr review <PR> --approve
gh pr review <PR> --request-changes --body "Please fix X"
gh pr review <PR> --comment --body "Looks good overall"

# Checks
gh pr checks <PR>                  # CI status
gh run view <RUN_ID> --log-failed  # Failed job logs
```

## API Endpoints Reference

When `gh` commands don't expose what you need, use the API:

```bash
# Inline review comments
gh api repos/OWNER/REPO/pulls/PR/comments

# PR-level comments (issue comments)
gh api repos/OWNER/REPO/issues/PR/comments

# Review submissions
gh api repos/OWNER/REPO/pulls/PR/reviews

# Commits in PR
gh api repos/OWNER/REPO/pulls/PR/commits

# Files changed
gh api repos/OWNER/REPO/pulls/PR/files
```

## Workflow: Addressing Review Comments

1. **Get unresolved comments**: `gh-pr-info <PR>`
2. **Make fixes** in your local branch
Pliki w paczce (2)
  • SKILL.md 2 KB
  • scripts/gh-pr-info 7 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · YPares/agent-skills100MIT
drvoss/everything-copilot-cli100MIT

Migawka bazy z 28.10.2026 · wersja paczki 315640293129 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100pr-review-comments
    Publikuje inline komentarze przeglądu do konkretnych linii pull requesta na GitHub.
  • 100address-github-comments
    Obsługuje komentarze z przeglądu i komentarze do issue w otwartym pull requeście GitHub za pomocą gh CLI.
  • 100address-github-comments
    Obsługuje komentarze z przeglądu i komentarze do issue w otwartym pull requeście GitHub za pomocą gh CLI.
  • 100address-github-comments
    Obsługuje komentarze z przeglądu i komentarze do issue w otwartym pull requeście GitHub za pomocą gh CLI.
  • 100address-github-comments
    Obsługuje komentarze z przeglądu i komentarze do issue w otwartym pull requeście GitHub za pomocą gh CLI.
  • 96code-review
    Przegląda pull requesty w GitHub CLI (gh) i pomaga sprawdzić zmiany przed scaleniem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.