github

Manage GitHub issues, pull requests, and Actions workflows via the gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines your GitHub workflow by enabling you to manage issues, pull requests, and GitHub Actions directly through the command line, saving you time and context switching.

Core Features & Use Cases

  • Issue Management: Create, triage, view, and edit GitHub issues efficiently.
  • Pull Request Workflow: Handle PR creation, reviews, merging, and status checks.
  • CI/CD Debugging: Inspect and debug GitHub Actions runs, view logs, and manage artifacts.
  • Use Case: Quickly find and fix a failing CI job by listing failed runs, viewing logs, and inspecting the workflow YAML, all without leaving your terminal.

Quick Start

Use the github skill to list the last 5 failed runs on the main branch.

Frequently Asked Questions about github

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

FAQPage Schema
How do I debug failing GitHub Actions runs from the command line?

Inspect failed GitHub Actions runs by listing failed workflow runs, viewing detailed logs, and rerunning or debugging workflows directly through the gh CLI to identify and fix CI failures.

Can I create and triage GitHub issues without using the web interface?

Yes, you can create, triage, view, and edit GitHub issues entirely through the command line using the gh CLI to manage repository automation and avoid context switching.

What's the best way to manage pull request reviews and merging from a terminal?

Managing pull requests involves handling PR creation, performing reviews, checking status, and merging directly through the gh CLI to streamline your repository workflow.

Do I need the gh CLI installed to manage GitHub Actions and PRs?

Yes, this functionality relies on the gh CLI to interact with GitHub Actions workflows, pull requests, and issues, serving as the underlying mechanism for repository automation.

Why use command line tools for GitHub CI/CD instead of the web interface?

Using command line tools for GitHub CI/CD saves time and prevents context switching by allowing you to inspect workflow runs, view logs, and manage artifacts directly in your development environment.