gh

Automate GitHub workflow tasks using the gh CLI for issues, PRs, actions, releases, and repositories.

3|5|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill gh-sparkfabrik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh
Source: https://github.com/sparkfabrik/sf-awesome-copilot/tree/main/skills/system/gh
Command: npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill gh-sparkfabrik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The gh skill streamlines GitHub operations by providing a command-line interface strategy to manage issues, pull requests, Actions workflows, releases, and repositories without leaving the terminal.

Core Features & Use Cases

  • Issue and PR management: create, view, label, and comment on issues and PRs using gh subcommands.
  • Workflow and Actions control: list, view, and trigger workflow runs, monitor statuses, and fetch logs.
  • Release and repo interactions: create releases, draft notes, and manage repository metadata.
  • Safe CLI usage guidance: detect GitHub-hosted projects, prefer gh subcommands, and handle authentication failures gracefully.

Quick Start

Run gh auth status to verify authentication, then start exploring the repository with gh pr list or gh issue view to retrieve current issues and PRs.

Frequently Asked Questions about gh

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

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

You can manage GitHub pull requests and issues from the command line using the gh CLI to create, view, label, and comment on them directly within your terminal workflow.

Can I trigger and monitor GitHub Actions workflows using gh?

Yes, you can trigger and monitor GitHub Actions workflows using gh subcommands to list, view, and trigger workflow runs, check statuses, and fetch execution logs.

What is the best way to automate GitHub releases for my repository?

The best way to automate GitHub releases is using gh CLI commands to create releases, draft release notes, and manage repository metadata without leaving the terminal.

Do I need to authenticate gh CLI separately to manage repository tasks?

Yes, you need to authenticate gh CLI separately by running gh auth status to verify credentials and ensure safe, structured command-line automation across your GitHub-hosted projects.

Does gh CLI work with repositories that have a GitHub remote?

Yes, gh CLI works with any repository that has a GitHub remote, applying structured command-line automation to manage issues, PRs, actions, and releases across your projects.

Why does gh CLI require safe output handling during automation tasks?

gh CLI requires safe output handling during automation tasks to gracefully manage authentication failures, detect GitHub-hosted projects, and ensure reliable command execution across workflows.