github-pr-inline-reply
Reply to inline PR review comments on GitHub pull requests using the GitHub API. Use this skill when you need to respond to individual review comments on a PR, acknowledge feedback, or mark comments as resolved by posting direct replies to comment threads.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Reply to inline PR review comments on GitHub pull requests using the GitHub API. Use this skill when you need to respond to individual review comments on a PR, acknowledge feedback, or mark comments as resolved by posting direct replies to comment threads.
How to use
Pobierz listę komentarzy do pull requesta, uruchamiając polecenie gh api repos/{owner}/{repo}/pulls/{pull_number}/comments — otrzymasz obiekty komentarzy zawierające ich identyfikatory (pole id).
Zidentyfikuj identyfikator komentarza, do którego chcesz odpowiedzieć. Dla komentarzy w wątkach użyj id głównego komentarza, nie node_id.
Przygotuj treść odpowiedzi — może to być potwierdzenie zmian (np. "Naprawione w commit abc123"), odrzucenie (np. "Odrzucone — powód") lub odpowiedź na pytanie (np. "Dobra uwaga, rozwiązane w commit abc123").
Wyślij odpowiedź za pomocą polecenia gh api repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies -X POST -f body="Twoja wiadomość" — odpowiedź pojawi się jako wątkowa odpowiedź pod oryginalnym komentarzem.
Powtórz kroki 2–4 dla każdego komentarza, na który chcesz odpowiedzieć. Możesz odpowiadać na dowolne komentarze, w tym na recenzje od botów.