github

by v1.0.0

This skill leverages the official GitHub CLI (`gh`) to provide comprehensive interaction with GitHub. It enables AI agents to manage various aspects of GitHub repositories, including listing and viewing pull requests and issues, creating new ones, adding comments, and monitoring CI/CD runs. The skill also facilitates direct queries to the GitHub API for advanced data retrieval.

Designed for developers and DevOps engineers, this skill streamlines common GitHub workflows, allowing for efficient automation of tasks that typically require manual interaction with the GitHub web interface or complex API scripting. It integrates seamlessly into agent-driven development and operational pipelines.

The skill emphasizes using `gh` for GitHub-specific operations, while recommending `git` for local version control and dedicated code-reading tools for in-depth reviews, ensuring a clear separation of concerns.

What It Does

The skill provides an interface for the GitHub CLI (`gh`), allowing an AI agent to perform a wide range of GitHub operations. This includes listing, viewing, creating, and merging pull requests; managing issues (listing, viewing, creating, commenting, closing); monitoring CI/CD runs; and executing arbitrary queries against the GitHub API. It enables programmatic interaction with GitHub resources.

When To Use

Use this skill when an AI agent needs to:
* Automate pull request management (e.g., creating PRs from generated code, merging approved PRs).
* Manage issues (e.g., creating bug reports, commenting on issues, closing resolved issues).
* Monitor CI/CD pipeline status and logs.
* Fetch specific repository data or user information via the GitHub API.
* Integrate GitHub operations into automated development workflows or incident response.

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

Add to Copilot workspace settings

View GitHub Copilot documentation

Add to .cursor/skills/

View Cursor IDE documentation

Add to Cline skills directory

View Cline documentation

Configure in .aider.conf.yml

View Aider documentation

Add to .vscode/skills/

View VS Code documentation

What people say, and where to get help

No ratings yet. If you have used this skill, yours would be the first.

No reviews yet

This skill has not been rated. If you have run it, a short note about what you used it for helps the next person more than any description can.

Related Skills You May Like

Discover more AI agent skills in the same category to enhance your workflow automation.

Have a Skill to Share?

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