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.
- Autor
- YPares ↗
- Repozytorium
- agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
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
- Key Concepts
- Scripts
- Common Commands
- API Endpoints Reference
- Workflow: Addressing Review Comments
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
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · YPares/agent-skills | 100 | MIT |
| drvoss/everything-copilot-cli | 100 | MIT |
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.