mcpField
G
github-cli

github-cli

github.com/hairyfDevelopment26207 installsUpdated 2w ago
Repository

About github-cli

A skill for using GitHub CLI (gh) to work with repositories, issues, pull requests, Actions, and other GitHub features. It serves developers who need command-line operations and scripting guidance across common GitHub workflows.

Key features

  1. 01Repository, issue, and PR operations
  2. 02Manage Actions runs and secrets
  3. 03Projects, releases, and gists
  4. 04Search and API commands
  5. 05JSON output and shell setup

Use cases

  1. 01Reviewing and merging pull requests from a terminal
  2. 02Checking or rerunning Actions workflows
  3. 03Scripting GitHub tasks with JSON and jq

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill github-cli

After installing, type/github-cliin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
references/
best-practices-workflows.md
core-auth-config.md
core-cli-structure.md
core-install.md
core-issue-pr-advanced.md
core-repo-extras.md
core-repo-issues-prs.md
features-actions-secrets.md
features-preview-agent-task.md
features-projects-releases-gists.md
features-search-api-misc.md

Details

From the project README

GitHub CLI (gh)

Use this skill when working with GitHub from the command line: repos, issues, PRs, Actions, projects, releases, gists, codespaces, search, secrets, and API. Content is based on gh 2.85.0 (January 2026).

Core References

TopicDescriptionReference
CLI StructureFull command tree for discoverycore-cli-structure
Install & VerifyInstall on macOS, Linux, Windows; verifycore-install
Auth & ConfigLogin, token, config, env vars, browse, global flags, JSON/template outputcore-auth-config
Repos, Issues, PRsCreate/list/view/edit repo, issue, PR; merge, review, checkoutcore-repo-issues-prs
Repo ExtrasAutolinks, deploy keys, gitignore/license, rename, archivecore-repo-extras
Issue & PR AdvancedStatus, pin, lock, transfer, delete, review types, merge optionscore-issue-pr-advanced

Features

Actions & Secrets
TopicDescriptionReference
Runs, Workflows, CacheList/watch/rerun/delete runs, run workflows, manage cachesfeatures-actions-secrets
Secrets & VariablesRepository, environment, org secrets/variablesfeatures-actions-secrets
Projects, Releases & More
TopicDescriptionReference
ProjectsFields, items, link/unlink, copy, mark-templatefeatures-projects-releases-gists
ReleasesCreate, upload, download, verify, verify-assetfeatures-projects-releases-gists
Gists & CodespacesGist rename/multi-file; codespace cp, jupyter, logs, portsfeatures-projects-releases-gists
OrgsList, view, JSON outputfeatures-projects-releases-gists
Preview & Agent Tasksgh preview, gh agent-taskfeatures-preview-agent-task
Search, API, MiscSearch, labels, SSH/GPG keys, gh api, aliases, extensions, rulesets, attestationfeatures-search-api-misc

Best Practices

TopicDescriptionReference
Environment SetupShell completion, aliases, git credential helperbest-practices-workflows
Workflows & PracticesAutomation tips, bulk ops, repo setup, CI/CD, fork sync, helpbest-practices-workflows

Quick Tips

  • Use GH_TOKEN and GH_REPO for non-interactive use.
  • Prefer --json + --jq for scripting.
  • Use gh repo set-default owner/repo to avoid repeating --repo.

Comments

Markdown supported