github

Automate GitHub issue, PR, CI, and API tasks via gh CLI.

53|33|Updated Sep 15, 2022
One-click install
npx skills add https://github.com/tutur3u/platform --skill github-tutur3u
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/tutur3u/platform/tree/main/.agents/skills/github
Command: npx skills add https://github.com/tutur3u/platform --skill github-tutur3u

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to manage GitHub resources from the command line using gh CLI, automating common tasks across repositories.

Core Features & Use Cases

  • Issue & PR Management: Create, list, comment on, and close issues and PRs across multiple repos.
  • CI & Runs Insight: Retrieve workflow run statuses and logs for monitoring and auditing.
  • API Queries: Use gh api for advanced data retrieval and custom queries across repositories.

Quick Start

List open issues in a repository: gh issue list --state open --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 automate GitHub issue and pull request management from the command line?

Automate GitHub issue and PR management by executing CLI commands to create, list, comment on, and close resources across multiple repositories without manual web navigation. This Skill runs gh CLI commands to automate these typical software development workflows programmatically.

How can I monitor GitHub CI workflow run statuses and retrieve logs via CLI?

Monitor GitHub CI workflow runs by executing CLI commands to retrieve current run statuses and fetch execution logs. This Skill uses the gh CLI to query workflow run data for continuous monitoring and auditing across your repositories.

Do I need to install and authenticate the gh CLI separately to manage GitHub repositories?

Yes, managing GitHub repositories requires the gh CLI to be installed and authenticated locally. When operating outside a git directory, you must also specify the target repository using the --repo flag to execute commands correctly.

Can I query custom data across multiple GitHub repositories using gh api?

Yes, you can query custom data across multiple GitHub repositories using the gh api command. This Skill leverages the gh CLI for advanced data retrieval, enabling custom queries across various scenarios requiring programmatic GitHub access.

What is the best way to list open issues across different GitHub repositories?

The best way to list open issues across different GitHub repositories is using the gh issue list command with the --state open and --repo flags. This Skill automates the process, handling multiple repositories and scenarios seamlessly.

Why does my gh CLI command fail when running outside a git directory?

Your gh CLI command fails outside a git directory because the tool cannot infer the target repository context locally. You must explicitly append the --repo owner/repo flag to your command to specify the target repository for successful execution.