gh-cli-operations

Automate GitHub repositories, issues, PRs, releases, Gists, and secrets via gh CLI.

Updated May 23, 2026
One-click install
npx skills add https://github.com/zengbaocheng/hermes-tech-hub --skill gh-cli-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli-operations
Source: https://github.com/zengbaocheng/hermes-tech-hub/tree/main/github/gh-cli-operations
Command: npx skills add https://github.com/zengbaocheng/hermes-tech-hub --skill gh-cli-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill reduces the manual overhead of managing GitHub resources by automating repository creation, issue/PR workflow, releases, Gists, and secret management through the gh CLI, enabling consistent cross-platform operations.

Core Features & Use Cases

  • Create and configure repositories from the command line, including descriptions and topics.
  • Manage issues, pull requests, and code reviews across multiple repositories.
  • Publish releases, manage Gists, and securely handle repository secrets and environment variables.
  • Perform quick searches, retrieve repository information, and extend automation via gh api for REST calls.
  • Example use case: initialize a new project, open a PR, and draft a release notes entry in a single scripted workflow.

Quick Start

Install gh CLI and run a simple command to list your current repositories.

Frequently Asked Questions about gh-cli-operations

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

FAQPage Schema
How do I automate GitHub repository management from the command line?

You can automate GitHub repository management by using the gh CLI to create and configure repositories, including setting descriptions and topics, directly from Linux and macOS terminals.

What is the best way to handle GitHub issues and PR reviews in a scripted workflow?

Handling GitHub issues and PR reviews in a scripted workflow is done by executing gh CLI commands to manage issues, pull requests, and code reviews across multiple repositories consistently.

Can I use gh CLI to publish releases and manage Gists on macOS and Linux?

Yes, you can use gh CLI to publish releases and manage Gists on macOS and Linux, enabling cross-platform automation of these common GitHub tasks without manual web interface interaction.

Do I need to authenticate before managing repository secrets with gh CLI?

Yes, gh CLI authentication validation is required before managing repository secrets and environment variables to ensure secure access to your GitHub resources.

How do I extend GitHub automation when native gh CLI commands are not enough?

You extend GitHub automation by using the 'gh api' command to make REST API calls, allowing you to perform extended operations beyond the native repository, issue, and release commands.