Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
How to use
Upewnij się, że masz zainstalowany GitHub CLI (
gh) i jesteś zalogowany na swoim koncie GitHub. Jeśli nie, pobierz CLI ze strony GitHub i uruchomgh auth login.Sprawdź, że Python 3 jest dostępny w Twojej ścieżce systemowej, uruchamiając
python3 --versionw terminalu.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.pyJeś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>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.
Możesz przekierować wynik do pliku, aby go zapisać:
python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py > komentarze.md