github

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

19|3|Updated Feb 4, 2021
One-click install
npx skills add https://github.com/laulauland/dotfiles --skill github-laulauland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/laulauland/dotfiles/tree/main/shared/.claude/skills/github
Command: npx skills add https://github.com/laulauland/dotfiles --skill github-laulauland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with GitHub using the gh CLI to manage issues, PRs, CI runs, and API queries from a single interface.

Core Features & Use Cases

  • Issue management via gh issue
  • Pull request workflows via gh pr
  • CI status checks via gh run
  • API data retrieval via gh api
  • Flexible queries with --json and --jq for structured outputs

Quick Start

Install the gh CLI and start by listing issues with gh issue list --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 manage GitHub issues and pull requests from the command line?

You can manage GitHub issues and pull requests using the gh CLI to programmatically list, create, and update issues and PRs. It enforces the --repo flag when you are not in a git directory.

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

Yes, you can check CI status and workflow runs using the gh run commands. This allows you to monitor CI runs across repositories and retrieve API data directly.

What is the best way to get structured JSON output from GitHub API queries?

The best way to get structured output from GitHub API queries is using gh api with the --json and --jq flags. This allows flexible data retrieval and filtering for your software development workflows.

Do I need to install gh CLI separately to manage GitHub PRs?

Yes, you need to install the gh CLI separately before you can manage pull requests, issues, and CI runs. Once installed, you can interact with GitHub data from a single interface.

Why does my gh issue command fail when I run it outside a git directory?

Your gh issue command fails outside a git directory because the tool enforces --repo usage when not in a local git context or when using URLs. You must specify the target repository explicitly.

Can I retrieve repository data without cloning it using GitHub API queries?

Yes, you can retrieve repository data without cloning by using gh api queries. This method fetches API data directly across repositories, bypassing the need for a local git directory.