github

Manage GitHub repositories, pull requests, issues, and CI with gh CLI.

Updated Sep 1, 2021
One-click install
npx skills add https://github.com/unclehowell/unclehowell --skill github-unclehowell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/unclehowell/unclehowell/tree/main/skills/github
Command: npx skills add https://github.com/unclehowell/unclehowell --skill github-unclehowell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a consistent, automatable interface for managing GitHub repositories, pull requests, issues, releases, and CI when interacting from an agent or terminal, eliminating manual, repetitive CLI and API work.

Core Features & Use Cases

  • Repository Management: Clone, create, fork, configure, and inspect repositories with gh or git+cURL fallbacks.
  • Pull Request Lifecycle: Create branches, commit, open PRs, monitor CI, auto-fix failures, and merge with recommended merge strategies.
  • Code Review & Triage: Generate structured review summaries, leave inline comments, triage issues, and manage labels and assignees.
  • CI & Secrets: Inspect workflow runs and logs, rerun failed jobs, manage Actions secrets, and handle authentication detection and setup.
  • Use Case: Automate end-to-end PR creation, CI troubleshooting, and merge for feature branches on both developer workstations and headless CI agents.

Quick Start

Use the github skill to open a pull request from your current branch, wait for CI to pass, and then merge when checks are green.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub pull request creation and merging from the CLI?

Automate GitHub pull requests by creating branches, committing changes, opening PRs, and merging via the gh CLI. This workflow monitors CI status and applies recommended merge strategies once checks pass.

How can I inspect CI workflow logs and rerun failed GitHub Actions jobs?

Inspect CI workflow logs and rerun failed GitHub Actions jobs using the gh CLI. The skill detects available tools and falls back to git+cURL with a GITHUB_TOKEN for headless environments.

Can I manage GitHub Actions secrets and authentication tokens from the terminal?

Manage GitHub Actions secrets and authentication from the terminal using the gh CLI. The skill handles GITHUB_TOKEN detection and setup, supporting both interactive and headless CI agents.

What's the best way to triage GitHub issues and leave code review comments automatically?

Triage GitHub issues and leave code review comments by generating structured review summaries and inline comments via the gh CLI. The skill manages labels and assignees for issue triage.

Does the GitHub CLI skill work in headless CI environments without the gh CLI installed?

The skill works in headless CI environments by detecting available tools and automatically falling back to git+cURL using a GITHUB_TOKEN when the gh CLI is not installed.

Can I fork and configure GitHub repositories using git and curl instead of gh?

Fork and configure GitHub repositories using git and curl as an automated fallback. The skill provides a consistent interface for repository maintenance when the gh CLI is unavailable.