github

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

Updated Jan 17, 2024
One-click install
npx skills add https://github.com/santychuycom/santychuy.com --skill github-santychuycom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/santychuycom/santychuy.com/tree/main/.agents/skills/github
Command: npx skills add https://github.com/santychuycom/santychuy.com --skill github-santychuycom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines interactions with GitHub repositories by leveraging the gh command-line interface, enabling efficient management of issues, pull requests, and CI/CD workflows.

Core Features & Use Cases

  • Pull Request Checks: Monitor the status of checks on specific pull requests.
  • Workflow Run Monitoring: List and inspect recent CI/CD workflow runs, including identifying failed steps.
  • Advanced API Queries: Utilize gh api for complex data retrieval beyond standard subcommands.
  • Structured Output: Obtain and filter command results in JSON format for programmatic use.
  • Use Case: Quickly check if the latest commit on pull request #55 has passed all its CI checks and view the logs of any failed workflow runs.

Quick Start

Check the status of checks for pull request number 55 in 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 CI/CD workflow runs and failed steps for a GitHub repository?

To check CI/CD workflow runs, you can list and inspect recent GitHub Actions runs to identify failed steps. This requires the gh CLI to be installed and authenticated to query the repository.

Can I retrieve structured JSON output from GitHub API queries?

Yes, you can retrieve structured JSON output from GitHub API queries. By using the gh api command, you can perform advanced data retrieval and filter the JSON results using the --jq flag for programmatic use.

How do I monitor the status of pull request checks before merging?

You can monitor the status of pull request checks by listing checks for a specific PR number. This allows you to verify if the latest commit has passed all required CI checks before proceeding with a merge.

Do I need to install and authenticate the gh CLI to manage GitHub issues and pull requests?

Yes, you need the gh CLI installed and authenticated to manage GitHub issues and pull requests. The tooling acts as an interface to the GitHub API, requiring valid authentication credentials to access repository data.

What is the best way to get advanced data from GitHub beyond standard subcommands?

The best way to get advanced data beyond standard subcommands is using the gh api command. This allows you to directly query the GitHub API for complex data retrieval and filter the response with structured JSON output.