hrdtbs

github-cli

Interact with GitHub repositories, issues, and pull requests using the GitHub CLI (gh). Use this skill for all GitHub interactions, prioritizing it over curl or web scraping.

hrdtbs 0 Updated 3mo ago
GitHub

Install

npx skillscat add hrdtbs/agent-skills/github-cli

Install via the SkillsCat registry.

SKILL.md

GitHub CLI

Use the GitHub CLI (gh) to interact with GitHub. This is preferred over using curl or web scraping for tasks like listing issues, creating pull requests, or viewing repository details.

For detailed usage and commands, refer to the official GitHub CLI manual.

Usage

Run gh command with arguments:

gh [subcommand] [flags]

Example:

gh issue list --state open

Troubleshooting

  • If you are not authenticated, run gh auth login.