gh-cli

Reference GitHub CLI commands for repos, issues, PRs, and workflows.

3|Updated Jul 13, 2020
One-click install
npx skills add https://github.com/nieomylnieja/dotfiles --skill gh-cli-nieomylnieja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/nieomylnieja/dotfiles/tree/main/config/agents/skills/gh-cli
Command: npx skills add https://github.com/nieomylnieja/dotfiles --skill gh-cli-nieomylnieja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a centralized, easy-to-browse reference for all GitHub CLI (gh) commands, enabling quick learning and accurate usage across GitHub entities from the terminal.

Core Features & Use Cases

  • Comprehensive command coverage across gh domains (auth, repo, issue, pr, run, workflow, codespaces, release, gist, etc.)
  • Quick lookups with structured sections and examples to speed up scripting and automation.
  • Use Case: onboarding new contributors and automating common GH tasks with ready-to-run examples.

Quick Start

Ask for a sample gh command for a given task and it will return the exact command and explanation.

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 and issues from the terminal?

Use the GitHub CLI (gh) to manage pull requests and issues directly from the terminal. This skill provides structured command mappings and examples for daily development workflows, covering authentication, repository management, and PR automation.

What GitHub CLI commands are available for automating repository workflows?

GitHub CLI commands for automating repository workflows span across auth, repo, issue, pr, run, and workflow domains. This reference provides ready-to-run examples and best practices for scripting common GitHub tasks and automating development processes.

Can I check GitHub Actions workflow runs using the gh command?

Yes, you can check GitHub Actions workflow runs using the gh command. This reference documents workflow run commands alongside codespaces, releases, and gists, providing exact command syntax and explanations for tracking CI/CD statuses.

What is the best way to learn GitHub CLI for onboarding new contributors?

The best way to learn GitHub CLI for onboarding is through a comprehensive command reference with structured sections. This skill offers quick lookups and documented examples across all gh domains, accelerating terminal proficiency for new contributors.

Does the GitHub CLI support managing codespaces and releases from the command line?

Yes, the GitHub CLI supports managing codespaces and releases from the command line. This reference includes documented sections for codespace creation, release publishing, and gist management, complete with examples for daily automation scripts.

How do I authenticate and configure the GitHub CLI before running commands?

To authenticate and configure the GitHub CLI, use the gh auth command. This reference provides structured command mappings starting with authentication setup, ensuring secure access before managing repositories, issues, and pull requests.