github

Automate GitHub issues, PRs, runs, and API queries via gh CLI.

6|1|Updated Nov 23, 2023
One-click install
npx skills add https://github.com/gmcabrita/dotfiles --skill github-gmcabrita
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/gmcabrita/dotfiles/tree/main/.agents/skills/github
Command: npx skills add https://github.com/gmcabrita/dotfiles --skill github-gmcabrita

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline GitHub workflows by enabling powerful, terminal-based control over issues, pull requests, CI checks, and API queries via the gh CLI, reducing context switching and speeding up development tasks.

Core Features & Use Cases

  • Interact with GitHub from the command line using gh to create, list, and manage issues and PRs.
  • Check CI status on PRs, list recent workflow runs, and view run details.
  • Retrieve data via gh api for advanced queries and automation across repositories.

Quick Start

Run a simple command to check a PR's CI status using gh pr checks <pr-number> --repo owner/repo.

Frequently Asked Questions about github

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub issues and pull requests from the terminal?

You can automate GitHub issues and pull requests from the terminal by using the gh CLI to create, list, and manage repository interactions without switching contexts. This Skill streamlines software development workflows requiring quick repo management.

Can I check CI status and workflow runs using the gh CLI?

Yes, you can check CI status and workflow runs using the gh CLI. This Skill enables you to check CI status on PRs, list recent workflow runs, and view detailed run information directly from the command line.

Do I need to install and configure the gh CLI to manage GitHub repositories?

Yes, you need to install and configure the gh CLI to manage GitHub repositories using this Skill. It requires the gh CLI to be set up in your environment to execute terminal-based commands for repo management and data retrieval.

How do I run GitHub API queries across multiple repositories?

You can run GitHub API queries across multiple repositories by using the gh api command. This Skill supports advanced data retrieval and automation, allowing you to use the --repo flag when executing commands outside a git directory.

What is the best way to interact with GitHub when outside a git directory?

The best way to interact with GitHub when outside a git directory is to use the gh CLI with the --repo flag. This allows you to specify the owner/repo directly, enabling terminal-based control over issues and PRs from anywhere.