GitHub CLI for issues, PRs, CI/check logs, comments, reviews, releases, repos, and gh api queries.
The GitHub AI skill provides seamless integration with the GitHub CLI (`gh`) to streamline repository management, issue tracking, pull requests, CI/CD workflows, and API queries. It enables users to interact with GitHub repositories programmatically, offering a consistent interface for accessing and managing issues, pull requests, comments, reviews, releases, and more. By bridging the gap between local git operations and GitHub's online services, this skill helps developers and teams maintain productivity and ensures smoother collaboration within projects.
Key features include comprehensive support for pull request workflows, such as listing, viewing details, checking CI status, creating, and merging pull requests. Users can efficiently manage issues by listing, viewing, creating, commenting, and closing them. The skill also facilitates monitoring and interacting with CI runs, including viewing logs, rerunning failed workflows, and retrieving structured API responses using JSON and JQ queries. Advanced capabilities include handling bodies and comments containing complex content, such as shell snippets or environment variables, ensuring accurate submission through the `--body-file` option.
This skill is ideal for software developers, DevOps engineers, and project maintainers who regularly interact with GitHub repositories. It supports use cases ranging from automating repetitive repository tasks, performing code reviews, tracking issues and pull requests, monitoring CI workflows, to extracting structured data via the GitHub API. By leveraging this skill, users can enhance workflow efficiency, maintain code quality, and enable more effective collaboration across distributed teams.
You can check authentication status using `gh auth status` and log in with `gh auth login`. If your gateway HOME differs from your operator HOME, set `GH_CONFIG_DIR` in the gateway service environment and restart the service.
The skill requires the GitHub CLI (`gh`) and provides installation options via Homebrew (`brew`) and APT (`apt`), making it compatible with macOS and Debian/Ubuntu-based Linux systems.
Yes, you can view pull requests directly using URLs with commands like `gh pr view https://github.com/owner/repo/pull/55`.
Use the `--body-file` option to submit content safely without issues related to special characters, code snippets, or environment variables.
Yes, you can list runs, view logs for specific runs, and rerun failed jobs using `gh run` commands with the appropriate flags.
Quick Setup:
.claude/skills/Repository
steipete/clawdis