github

Manage GitHub pull requests, issues, and CI runs via the gh CLI.

12|5|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/ai-pivot/xbot --skill github-ai-pivot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/ai-pivot/xbot/tree/main/.xbot.example/skills/github
Command: npx skills add https://github.com/ai-pivot/xbot --skill github-ai-pivot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This Skill helps teams and developers perform common GitHub maintenance tasks faster by driving GitHub operations through the gh CLI instead of manually clicking through web pages.

Core Features & Use Cases

  • Pull request status and review support: check CI/workflow checks, view PR details, and help assess merge readiness.
  • Issue management: list, create, comment on, and close issues from the command line.
  • CI/workflow run visibility and remediation: list runs, inspect run logs (including failed steps), and rerun failed jobs.
  • API queries for repository data: fetch structured information using gh api with JSON/JQ filtering.

Quick Start

Ask the AI to check the CI status for pull request 55 in owner/repo using the GitHub CLI.

Frequently Asked Questions about github

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check pull request status and CI workflow runs using the GitHub CLI?

Check pull request status and CI workflow runs by executing repository-scoped gh CLI commands that support JSON output and jq filtering, providing structured results for merge readiness without manual browser navigation.

What's the best way to manage and triage GitHub issues from the command line?

Manage and triage GitHub issues from the command line by using gh CLI commands to list, create, comment on, and close issues, returning structured JSON data for efficient issue tracking.

Can I inspect and rerun failed CI jobs for a specific repository with gh?

Yes, you can inspect and rerun failed CI jobs for a specific repository by using gh CLI commands to list workflow runs, inspect run logs including failed steps, and trigger job reruns.

Do I need gh authentication to fetch repository data via API queries?

Yes, gh authentication is required to fetch repository data via API queries, enabling you to use gh api with JSON and jq filtering to return structured information for your developer workflows.

Does using gh CLI for GitHub operations limit my ability to review PR details?

No, using gh CLI for GitHub operations does not limit PR review capabilities; it directly fetches PR details and CI check statuses, allowing you to assess merge readiness efficiently from the terminal.