Toolverse
All skills

fetch-pr-comments

by google

Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
google
Category
Backend
Views
9

About this skill

Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.

How to use

  1. Upewnij się, że masz zainstalowany GitHub CLI (gh) i jesteś zalogowany na swoim koncie GitHub. Jeśli nie, pobierz CLI ze strony GitHub i uruchom gh auth login.

  2. Sprawdź, że Python 3 jest dostępny w Twojej ścieżce systemowej, uruchamiając python3 --version w terminalu.

  3. Aby pobrać komentarze dla Pull Requesta powiązanego z aktualną gałęzią, przejdź do katalogu projektu i uruchom: python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py

  4. Jeśli chcesz pobrać komentarze dla konkretnego Pull Requesta, podaj jego numer lub URL jako argument: python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py <NUMER_LUB_URL_PR>

  5. Skrypt wyświetli wynik w formacie Markdown na standardowym wyjściu. Zobaczysz tytuł PR, recenzje (Zatwierdzone/Wymagane zmiany), ogólne komentarze oraz komentarze do kodu pogrupowane według pliku i numeru linii.

  6. Możesz przekierować wynik do pliku, aby go zapisać: python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py > komentarze.md

Related skills