--- name: github description: "Load to work or watch GitHub pull requests: threads, comments, reviews, CI logs, merges." license: MIT user-invocable: true metadata: author: "vanillagreen" source: "kendex" repository: "https://github.com/vanillagreencom/kendex" bugs: "https://github.com/vanillagreencom/kendex/issues" --- ## Project Instructions Problems with a kendex-owned skill go through `kendex report`; check ownership in the file first. # GitHub pull requests ```bash .agents/skills/github/scripts/github.sh [-C ] [options] ``` ## Commands | Command | Purpose | |---------|---------| | `pr-data [--actionable]` | Get a PR with its threads, comments and files. | | `pr-view [N] [--json FIELDS]` | View PR details through `gh pr view`. | | `pr-threads [--unresolved\|--resolved] [--format=safe\|raw]` | List or count a PR's review threads. | | `pr-timeline [--repo OWNER/REPO] [--gate-context NAME]` | One PR's phase stamps, push and bot review times, CI spans, and review and fix rounds as one JSON object. | | `pr-list-ready [--all] [--format=safe\|table]` | List PRs ready for merge. | | `pr-list-failing [--all] [--format=safe\|table]` | List PRs with CI failures. | | `pr-create [--title T] [--body B \| --body-file PATH] [--base B] [--draft] [--dry-run] [--force]` | Create a PR as the bot. | | `pr-edit-body --body-file PATH` | Update an existing PR body through the sanitized router. | | `pr-merge [--check\|--auto]` | Merge a PR, or report its readiness. | | `merge-queue-mutation ` | Run one merge-queue mutation. | | `ci-classify-refusal ` | Name the cause of a pr-merge refusal. | | `check-review-replies ` | Judge what the PR's review replies say. | | `pr-cross-check [N...] [--quick\|--verify]` | Cross-PR analysis. | | `pr-issue [--format=safe\|text]` | Extract the issue ID from the PR branch. | | `label-add