gh-cli

Automate GitHub operations using gh CLI for PR, issue, release, and repository management.

3|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill gh-cli-1mangesh1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/1Mangesh1/dev-skills-collection/tree/main/skills/gh-cli
Command: npx skills add https://github.com/1Mangesh1/dev-skills-collection --skill gh-cli-1mangesh1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

GitHub operations are repetitive and error-prone when performed from the terminal. This skill consolidates PR creation, issue management, releases, and repository actions under the gh CLI, speeding up development workflows.

Core Features & Use Cases

  • PR management: create, list, view, merge, and close pull requests from the command line to accelerate code reviews.
  • Issue and Gist handling: create issues, list and view issues, and manage gists without leaving the terminal.
  • Release workflows: publish releases, upload assets, and track release notes programmatically.
  • Repository administration: clone, fork, and manage repositories with consistent commands to reduce context switching.

Quick Start

Create a PR from your current branch to start reviewing and merging changes using gh.

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 pull request creation and merging from the terminal?

You can automate GitHub pull request creation and merging from the terminal using the gh CLI to create, list, view, merge, and close pull requests. This streamlines code reviews and accelerates development workflows directly from the command line.

Can I manage GitHub issues and gists without leaving the command line?

Yes, you can manage GitHub issues and gists without leaving the command line by using gh CLI commands. The skill enables you to create issues, list and view existing issues, and handle gists programmatically within your terminal workflow.

What is the best way to publish GitHub releases and upload assets programmatically?

The best way to publish GitHub releases and upload assets programmatically is by applying the gh CLI to your release workflows. It allows you to publish releases, upload assets, and track release notes directly from the terminal.

Do I need GitHub authentication configured to use gh CLI for repository administration?

Yes, you need GitHub authentication configured to use gh CLI for repository administration. The skill expects users to have authentication set up to clone, fork, and manage repositories with consistent commands to reduce context switching.

How does terminal-based GitHub automation compare to using the web interface for project-wide tasks?

Terminal-based GitHub automation via gh CLI consolidates repetitive operations like PR creation, issue management, and releases under consistent commands. This speeds up development workflows and reduces the error-prone context switching inherent in the web interface.