github

Automate GitHub issues, PRs, and CI data using the gh CLI.

223|6|Updated May 25, 2018
One-click install
npx skills add https://github.com/megalithic/dotfiles --skill github-megalithic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/megalithic/dotfiles/tree/main/home/programs/ai/pi-coding-agent/skills/github
Command: npx skills add https://github.com/megalithic/dotfiles --skill github-megalithic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables seamless GitHub automation via the gh CLI, removing the need to switch between web UI and terminal for routine tasks.

Core Features & Use Cases

  • CLI-driven management: Create and manage issues, PRs, and milestones directly from scripts.
  • CI & workflow queries: Fetch workflow runs, check statuses, and view logs for debugging.
  • Use Case: Automate issue triage or PR labeling by scripting gh commands against repos not in git directories.

Quick Start

Use the github skill to run a sample PR check or list issues in a repository using gh.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub issue triage and PR management from the CLI?

Automate GitHub issue triage and PR management by scripting gh CLI commands to create issues, manage pull requests, and apply labels directly without switching to the web UI.

Can I check GitHub Actions workflow run statuses and view logs via the command line?

Check GitHub Actions workflow statuses and view logs via the command line by executing gh run commands to fetch CI data, monitor build statuses, and retrieve debugging output for specific runs.

Does the GitHub automation skill work with repositories outside my local git directory?

Yes, GitHub automation works with repositories outside your local git directory by leveraging gh API commands to query and manage issues, PRs, and workflows across multiple repos or organizations.

What do I need to set up before using gh CLI to manage GitHub pull requests and issues?

Before using gh CLI to manage GitHub pull requests and issues, you must install the gh CLI tool on your system and complete the authentication process to authorize access to your repositories.

How do I fetch and review pull requests across multiple organization repositories?

Fetch and review pull requests across multiple organization repositories by running gh pr commands with organization and repository parameters, retrieving PR data and review statuses directly in your terminal.

What are the limitations of automating GitHub tasks with gh CLI instead of the web UI?

Automating GitHub tasks with gh CLI requires familiarity with command syntax and lacks visual diff rendering found in the web UI, but enables faster batch operations and scripting across multiple repositories.