gh

Automate GitHub workflows for PRs, issues, CI, releases, and API calls via gh CLI.

706|30|Updated Mar 13, 2023
One-click install
npx skills add https://github.com/wimpysworld/nix-config --skill gh-wimpysworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/wimpysworld/nix-config/tree/main/home-manager/_mixins/development/assistants/skills/gh
Command: npx skills add https://github.com/wimpysworld/nix-config --skill gh-wimpysworld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate GitHub workflows and reduce manual overhead by orchestrating PRs, issues, CI checks, releases, and raw API calls using the gh CLI.

Core Features & Use Cases

  • Create, review, and merge pull requests; manage comments, labels, and reviews.
  • Triage issues, assign, label, and close issues, and interact with CI status and workflows.
  • Query GitHub data, trigger workflows, search repositories, and retrieve data via gh api for automation scripts.
  • Use cases include onboarding automation, release management, and rapid incident response with reproducible commands.

Quick Start

Demonstrate a common GitHub task with the gh CLI, such as listing open PRs in a repository and printing their numbers and titles.

Frequently Asked Questions about gh

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

FAQPage Schema
How do I automate GitHub pull requests and issues from the command line?

Automate GitHub workflows by orchestrating pull requests, issues, and CI checks using the gh CLI. You can create, review, and merge pull requests, as well as triage and close issues directly from terminal commands.

Can I trigger CI workflows and query repository data using the GitHub API?

Yes, you can query GitHub data, trigger CI workflows, and retrieve repository information using gh api calls. This allows you to interact with GitHub status checks and automate routine repository management tasks.

Do I need gh CLI installed and authenticated to manage GitHub releases?

Yes, managing GitHub releases requires the gh CLI to be installed and authenticated against your target GitHub accounts or organizations. This setup enables automated release management and incident response.

What is the best way to triage GitHub issues and assign labels automatically?

The best way to triage issues is using gh CLI commands to assign users, apply labels, and close issues programmatically. This reduces manual overhead in project management and collaboration workflows.

How does gh CLI automation compare to manual GitHub repository management?

GitHub CLI automation provides reproducible commands for onboarding, release management, and incident response, unlike manual repository management. It handles PRs, issues, and raw API interactions with significantly less manual overhead.