gh-cli

Automate GitHub issue and pull request management from the command line.

3|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/ThaddeusJiang/agent-skills --skill gh-cli-thaddeusjiang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/ThaddeusJiang/agent-skills/tree/main/gh-cli
Command: npx skills add https://github.com/ThaddeusJiang/agent-skills --skill gh-cli-thaddeusjiang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub issue and PR management from the command line reduces context switching and speeds up repository workflows by allowing direct actions without navigating the web interface.

Core Features & Use Cases

  • Create, List, View, Update, Close issues
  • Create, List, View, Update, Merge, Close PRs
  • Verification: always verify results after execution to ensure changes took effect

Quick Start

Install gh, authenticate, and then issue the appropriate gh commands to manage issues and pull requests from the terminal.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I automate GitHub issue and pull request management from the CLI?

You can automate GitHub issue and PR management by executing command line operations to create, list, view, update, and close repository items. This approach streamlines workflows by removing the need to navigate the web interface.

How do I verify GitHub CLI operations after creating or updating issues and PRs?

To verify GitHub CLI operations, you must perform explicit post-execution verification checks. This ensures that actions like creating, updating, or closing issues and pull requests actually took effect in the target repository.

Do I need to authenticate with GitHub before using CLI commands for repository workflows?

Yes, you must authenticate with GitHub and ensure the gh CLI is available as a prerequisite. These enforced checks are required before you can execute commands to manage issues and pull requests from the terminal.

Can I merge pull requests from the command line without navigating the web interface?

Yes, you can merge pull requests directly from the command line. The CLI supports creating, viewing, updating, merging, and closing PRs to reduce context switching and speed up your repository workflows.

What is the best way to streamline GitHub repository workflows for issues and PRs?

The best way to streamline GitHub repository workflows is by using command line automation to manage issues and PRs. This allows direct actions like creating, updating, and closing items without web interface context switching.

Why does my GitHub CLI workflow require post-operation verification steps?

Your GitHub CLI workflow requires post-operation verification to guarantee that changes took effect after execution. Enforcing these explicit verification steps ensures that repository updates like closing issues or merging PRs are successful.