gh
/gh
Odczytuje pull request, jego dyskusję, sprawdzenia lub inny zapis z GitHuba albo publikuje odpowiedź bez zmian w kodzie.
- Autor
- prathamdby ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 14
- Skrypty
- 5
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 5 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/ci-failures.ts, scripts/lib.ts, scripts/pr-reply.ts, scripts/pr-snapshot.ts, scripts/pr-threads.ts
Co robi i kiedy
Odczytuje pull request, jego dyskusję, sprawdzenia lub inny zapis z GitHuba albo publikuje odpowiedź bez zmian w kodzie.
Oryginalny opis (EN)
When the user wants a pull request, its discussion, its checks, or another GitHub record read, or a reply posted without a code change.
Jak działa
- Options
- 1. Resolve and choose
- 2. Run
- 3. Report
Podgląd SKILL.md
--- name: gh description: > When the user wants a pull request, its discussion, its checks, or another GitHub record read, or a reply posted without a code change. --- # GitHub I/O Contracts follow AVGVSTVS96/better-github-skill (unlicensed; reimplemented). Resolve `<anchor>` as this skill's absolute directory. The existing `<anchor>/scripts/run` selects bun, nub, tsx, then Node/nvm with strip-types. ## Options Default: current branch PR, cwd repo, truncated text. A PR number/URL selects that PR; a named repo emits -R and needs a PR for PR-bound work. JSON/full bodies selects --json/--full. Open threads includes unresolved outdated threads; all includes resolved too; both conflict. Complete paging adds --complete; author/since supply their filters. CI selects ci-failures; list runs uses --list (default limit 10), workflow filters it; a run id analyzes that run. Known head SHA adds --sha. Reply needs exactly one target/body from `references/reply.md`. Missing needed values or conflicting choices are BLOCKED. ## 1. Resolve and choose Confirm authenticated gh; missing binary/auth blocks. Record `repo | PR/run/SHA | surface | argv | terminal`. No current PR for PR-bound work → NO_CHANGES. Choose the covering script: | Surface | Script | JSON contract | |---|---|---| | PR state/checks/files/counts | pr-snapshot.ts | `references/snapshot.md` | | Review bodies/comments/threads | pr-threads.ts | `references/threads.md` | | CI runs/jobs/log snippets | ci-failures.ts | `references/ci.md` | | One native thread/conversation reply | pr-reply.ts | `references/reply.md` | Snapshot is state, threads is feedback; neither replaces the other. Before parsing JSON, load only that surface's contract. Done when target and script or uncovered raw operation are fixed. ## 2. Run Invoke only through `<anchor>/scripts/run <script.ts> ...`, not node directly. Node version or ERR_UNKNOWN_FILE_EXTENSION is not failure evidence or a GraphQL license: use run. Its exit 2 is BLOCKED with tried-runtime list. User or senior saying "GraphQL is fine" does not skip `run`. Script success reports data/posts; red CI/open threads are not runtime failure. For all unresolved feedback use --json --open --complete; SHA-pin known heads. Replies use pr-reply only. No resolving, pushing, or merging by this leaf. Raw gh is permitted only for uncovered operations, after applying `references/raw-gh.md`. A covering-script failure never authorizes reimplementing its GraphQL. Redirect large output, never pipe gh to head. For HTTP tracing or logs apply `references/logs.md`. Done when output is complete, a reply URL exists, or a real error is captured. ## 3. Report Summarize observed output. Set cap markers mean incomplete data, not success for an exhaustive consumer. Cite log paths instead of pasting logs. Green CI, zero threads, or posted reply is SUCCESS; a valid red report is also successful inspection, not repaired CI. Terminals: SUCCESS, NO_CHANGES (empty/no PR), BLOCKED.
Pliki w paczce (14)
- REFERENCE.md 1 KB
- SKILL.md 3 KB
- references/ci.md 1 KB
- references/logs.md 1 KB
- references/raw-gh.md 1 KB
- references/reply.md 1 KB
- references/snapshot.md 1 KB
- references/threads.md 1 KB
- scripts/ci-failures.ts 16 KB
- scripts/lib.ts 11 KB
- scripts/pr-reply.ts 8 KB
- scripts/pr-snapshot.ts 14 KB
- scripts/pr-threads.ts 15 KB
- scripts/run 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · prathamdby/skills | 85 | MIT |
| colinhacks/frizz | 100 | MIT |
| gsd-build/gsd-2 | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 6f1a399deede (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
- 80pull-request:create
Tworzy pull request, merge request lub change request, także zaraz po zatwierdzeniu zmian w repozytorium. - 90reviews
Przegląda zmianę w kodzie lub pull request pod kątem kondycji kodu, np. na prośbę o code review. - 85fix-pr
Poprawia w kodzie uwagi z recenzji oraz nieprzechodzące sprawdzenia w pull requeście, gdy użytkownik o to poprosi. - 90review-pr
Przegląda pull request z GitHuba wskazany numerem lub adresem URL. - 95gh-fix-ci
Diagnozuje i naprawia nieudane sprawdzenia GitHub Actions w pull requeście, a zewnętrzne sprawdzenia tylko zgłasza. - 84github-issue
Zakłada zgłoszenie na GitHubie: błąd, prośbę o funkcję lub dyskusję, także w repozytorium bez lokalnej kopii.