github

by Unknown v1.0.0

GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.

What It Does

Enables interaction with GitHub via the `gh` CLI, allowing users to manage issues, pull requests, CI runs, and perform advanced API queries.

When To Use

When you need to automate GitHub tasks from the command line, check CI status, manage pull requests, or retrieve specific data from the GitHub API.

Inputs

Commands and arguments for the `gh` CLI, including repository names, issue/PR numbers, and API endpoint paths.

Outputs

The output of the `gh` CLI commands, including status information, lists of issues/PRs, CI run details, and JSON data from API queries.

Limitations

Requires the `gh` CLI to be installed and configured. Relies on the availability and stability of the GitHub API. Requires proper authentication for private repositories.

Installation

1. Save the SKILL.md content to a local file.
2. Ensure the `gh` CLI is installed and configured on your system.
3. Refer to the documentation of your agent platform (e.g., Cline, Aider, Continue) for instructions on how to load and use skills from local files.
4. Verify that the agent has the necessary permissions to execute shell commands.

View Cline documentation

1. Open Cursor IDE.
2. Create a new file named `github.skill.md` in your project.
3. Paste the raw SKILL.md content into the file.
4. Install the `gh` CLI if you haven't already.  You may need to configure Cursor to use the correct shell environment where `gh` is available.

View Cursor IDE documentation

1. Save the SKILL.md content to a local file.
2. Ensure the `gh` CLI is installed and configured on your system.
3. Refer to the documentation of your agent platform (e.g., Cline, Aider, Continue) for instructions on how to load and use skills from local files.
4. Verify that the agent has the necessary permissions to execute shell commands.

View Aider documentation

Have a Skill to Share?

Join the community and help AI agents learn new capabilities. Submit your skill and reach thousands of developers.