github

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

Updated May 26, 2024
One-click install
npx skills add https://github.com/dnswd/nixos --skill github-dnswd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/dnswd/nixos/tree/main/config/devel/pi-mono/skills/github
Command: npx skills add https://github.com/dnswd/nixos --skill github-dnswd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies and automates common GitHub operations, allowing for efficient management of issues, pull requests, and CI/CD workflows directly from the command line.

Core Features & Use Cases

  • Pull Request Monitoring: Check the status of CI checks on specific pull requests.
  • Workflow Run Management: List recent workflow runs and view detailed logs, including only failed steps.
  • API Integration: Utilize gh api for advanced queries and data retrieval beyond standard subcommands.
  • Use Case: Quickly check if a pull request has passed all its automated tests before merging, or debug a failed CI run by examining the logs of specific steps.

Quick Start

Use the github skill to list the last 10 workflow runs for the 'owner/repo' repository.

Frequently Asked Questions about github

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

FAQPage Schema
How do I check if a GitHub pull request has passed all CI checks?

You can check pull request CI status by listing recent workflow runs and viewing detailed logs for the repository. This allows you to isolate failed steps and verify automated tests before merging.

How do I list recent GitHub Actions workflow runs from the command line?

You can list recent GitHub Actions workflow runs directly from the command line by executing queries against the repository. This returns a structured list of recent runs to help manage CI/CD pipelines.

Do I need to install and authenticate the gh CLI to manage GitHub repositories?

Yes, managing GitHub repositories through this method requires the gh CLI to be installed and authenticated. This setup allows you to run commands for pull requests, CI runs, and API queries.

Can I use the GitHub API for advanced queries beyond standard pull request subcommands?

Yes, you can utilize gh api for advanced queries and structured data retrieval beyond standard subcommands. This facilitates complex data extraction for software development tasks.

What is the best way to debug a failed GitHub Actions CI run?

The best way to debug a failed GitHub Actions CI run is to view detailed workflow logs and filter them to display only the failed steps. This isolates errors quickly for software development troubleshooting.