github

Interact with GitHub repositories, issues, pull requests, and workflow runs via the gh CLI.

11|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/PrettiFlow/pretticlaw --skill github-prettiflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/PrettiFlow/pretticlaw/tree/main/src/skills/github
Command: npx skills add https://github.com/PrettiFlow/pretticlaw --skill github-prettiflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a concise, command-line oriented way to interact with GitHub repositories, issues, pull requests, and workflow runs so you can inspect CI status and perform repo operations without leaving your terminal.

Core Features & Use Cases

  • View CI status for a specific pull request and inspect failed steps for quick triage.
  • List and inspect recent workflow runs to identify flaky jobs or recent deployments.
  • Run advanced queries and fetch structured data using the GitHub API through the gh CLI, useful for audits, reporting, and automation.
  • Use Case: Triage a failing release by checking recent workflow runs, viewing logs for failed steps, and correlating failures with PRs and commits.

Quick Start

Use the github skill to check CI status for pull request 55 in owner/repo and view logs for failed steps using the gh CLI.

Frequently Asked Questions about github

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

FAQPage Schema
How do I check CI status for a pull request from the command line?

To check CI status for a pull request, you can use the gh CLI to inspect workflow runs and view logs for failed steps. This allows you to triage failing release jobs and correlate failures with specific commits directly from your terminal.

Do I need the gh CLI installed to interact with GitHub repositories and issues?

Yes, you need the gh command-line tool installed and available in your PATH to interact with GitHub repositories and issues. The tool requires this explicit environment setup to execute context-aware operations on local and remote repositories.

How can I fetch structured data from the GitHub API for audits?

You can run advanced queries and fetch structured data from the GitHub API using the gh CLI for audits and reporting. This provides a command-line oriented method to execute ad-hoc API queries without leaving your terminal environment.

What is the best way to inspect recent workflow runs to identify flaky jobs?

The best way to identify flaky jobs or recent deployments is to list and inspect recent workflow runs via the gh CLI. This command-line interaction helps you quickly review CI status and triage failed steps across your repositories.

Can I manage remote GitHub repos without navigating the web interface?

Yes, you can manage remote GitHub repos without the web interface by providing explicit repo flags or URLs. The gh CLI processes these arguments to perform context-aware repository management, issue tracking, and pull request workflows locally.

Why does my command-line GitHub workflow run inspection fail to find the repo context?

Workflow run inspection fails when repository context is missing because the gh CLI requires explicit repo flags or URLs to operate. You must provide accurate repository arguments to ensure context-aware operations can execute successfully against the correct target.