GitHub CLI Workflows

Automate GitHub workflow management using gh CLI commands.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/aaronbassett/claude-bell --skill github-cli-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: GitHub CLI Workflows
Source: https://github.com/aaronbassett/claude-bell/tree/main/.claude/skills/github-cli
Command: npx skills add https://github.com/aaronbassett/claude-bell --skill github-cli-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides autonomous guidance and tooling to create, manage, and troubleshoot GitHub workflows and gh CLI commands, enabling consistent, repeatable automation of PRs, issues, Actions, and API interactions across repositories.

Core Features & Use Cases

  • Create and manage pull requests, issues, and workflow runs using gh commands
  • View, rerun, download logs, and monitor GitHub Actions workflow runs
  • Automate common patterns for CI/CD, PR reviews, and issue triage
  • Provide step-by-step guidance and best practices for using the GitHub CLI in automation tasks
  • Use cases include automated PR creation, CI troubleshooting, workflow deployments, and API calls via gh api
  • Example: generate a PR from a feature branch and verify all checks with gh pr checks --watch

Quick Start

To begin, invoke the skill to drive gh CLI tasks such as creating a PR, checking status, and retrieving logs. For example: "Create a PR from the current branch to main with a description and labels" or "Show the status of the latest workflow run and download its logs".

Frequently Asked Questions about GitHub CLI Workflows

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

FAQPage Schema
How do I automate GitHub pull requests and issue triage using gh CLI commands?

Automating GitHub pull requests and issue triage with gh CLI commands involves executing deterministic scripts to create PRs, apply labels, and manage issues autonomously. It provides structured guidance to streamline these repetitive code review tasks within automated pipelines.

What is the best way to monitor GitHub Actions workflow runs and download logs via command line?

Monitoring GitHub Actions workflow runs via command line is best achieved using gh CLI to view statuses, rerun failed jobs, and download logs. This approach enables autonomous CI troubleshooting and workflow management without leaving the terminal environment.

How do I create a pull request from a feature branch and verify CI checks using gh CLI?

Creating a pull request from a feature branch and verifying CI checks uses gh CLI commands to generate the PR and watch status. You can automate this pattern using commands like gh pr checks --watch to ensure all validations pass before merging.

Can I use gh CLI for autonomous API interactions within automated CI/CD pipelines?

Using gh CLI for autonomous API interactions within automated CI/CD pipelines is fully supported through structured gh api commands. It enables software teams to programmatically manage repository resources and automate deployments deterministically.

Does GitHub CLI workflow automation require any external dependencies or plugins?

GitHub CLI workflow automation requires no external dependencies or plugins to manage PRs and Actions. It operates autonomously using standard gh commands to provide deterministic outputs and structured guidance for automation tasks.

What are the limitations of using gh CLI commands for troubleshooting GitHub Actions?

Limitations of using gh CLI commands for troubleshooting GitHub Actions include reliance on deterministic command outputs and structured data parsing. Complex, non-standard pipeline configurations may require manual inspection beyond automated gh CLI log retrieval capabilities.