gh-cli

Automate GitHub repository and workflow operations using the gh CLI.

38|5|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/ericmjl/skills --skill gh-cli-ericmjl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/ericmjl/skills/tree/main/skills/gh-cli
Command: npx skills add https://github.com/ericmjl/skills --skill gh-cli-ericmjl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Access and manage GitHub repositories, issues, PRs, and Actions from the command line, reducing context switching and speeding up workflows.

Core Features & Use Cases

  • PR management: create, view, review, merge, and close PRs directly from the terminal.
  • Issue and repository operations: view, create, comment on issues, and manage repository settings.
  • Actions monitoring: list runs, view logs, and trigger workflows from the command line.

Quick Start

Create a pull request from the current branch using gh pr create --fill.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I manage GitHub pull requests from the terminal?

Manage GitHub pull requests from the terminal by using commands to create, view, review, merge, and close PRs directly, reducing context switching and speeding up workflows.

What is the best way to view GitHub Actions workflow runs and logs in a command line environment?

View GitHub Actions workflow runs and logs in a CLI environment by executing commands to list runs, inspect detailed logs, and trigger workflows directly from the terminal.

Can I create and comment on GitHub issues using a command line interface?

Yes, you can create and comment on GitHub issues using a command line interface, which supports listing, creating, and commenting on issues alongside performing repository tasks across projects.

Do I need GitHub CLI installed and authenticated to automate repository tasks across multiple projects?

Yes, you need the GitHub CLI installed and authenticated to automate repository tasks across multiple projects, as the automation relies on the gh tool with common flags and safe defaults.

Does the GitHub CLI support interactive prompts and safe defaults for repository operations?

Yes, the GitHub CLI supports interactive prompts and safe defaults for repository operations, ensuring guided automation when creating PRs, commenting on issues, or triggering workflows.