github

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

1|1|Updated Aug 3, 2020
One-click install
npx skills add https://github.com/lolwierd/dotfiles --skill github-lolwierd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/lolwierd/dotfiles/tree/main/ai/dot-agents/skills/github
Command: npx skills add https://github.com/lolwierd/dotfiles --skill github-lolwierd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with GitHub resources efficiently by scripting common tasks via the gh CLI, reducing manual repetitive work and errors.

Core Features & Use Cases

  • Create and manage issues and PRs, monitor CI runs, and query repository data from the command line.
  • Use cases include automating issue triage, PR labeling, status checks, and generating summaries for dashboards.
  • Real-world scenario: a dev team auto-batches issue triage by labeling, assigning, and commenting on new PRs as they arrive.

Quick Start

Authenticate with GitHub and start automating common tasks 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 labeling?

Automate GitHub issue triage and PR labeling by using the gh CLI to script commands that automatically label, assign, and comment on new pull requests as they arrive. This streamlines repetitive repository management tasks.

Can I query repository data across multiple repos using the gh CLI?

Yes, you can query repository data across multiple repos using the gh CLI with the --repo flag. The Skill supports gh commands with --json and --jq for structured output to ensure actionable data and robust automation.

What is the best way to monitor CI runs from the command line?

The best way to monitor CI runs from the command line is automating GitHub interactions with the gh CLI. This Skill allows you to check status checks and query workflow run data directly, reducing manual repetitive work.

How do I get structured output from gh commands for automation scripts?

Get structured output from gh commands for automation scripts by using the --json and --jq flags. This Skill applies these gh CLI parameters to ensure actionable data and robust automation when managing issues, PRs, and repository data.

Do I need to authenticate with GitHub before automating workflows with the gh CLI?

Yes, you must authenticate with GitHub before automating workflows with the gh CLI. The Skill requires initial GitHub authentication to securely manage issues, PRs, CI runs, and repository data queries across your software development workflows.