GitHub CLI

Manage GitHub resources via gh CLI with non-destructive operations.

82|12|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/PaulRBerg/dot-claude --skill github-cli-paulrberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: GitHub CLI
Source: https://github.com/PaulRBerg/dot-claude/tree/main/skills/gh-cli
Command: npx skills add https://github.com/PaulRBerg/dot-claude --skill github-cli-paulrberg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill guides safe, non-destructive GitHub CLI operations (PRs, issues, repository info, workflow triggers, etc.) and helps automate workflows while avoiding destructive actions.

Core Features & Use Cases

  • Guided gh CLI usage for PR/Issue creation, viewing, labeling, and workflow triggering.
  • Safe automation patterns that avoid destructive commands and preserve repository integrity.
  • Comprehensive guidance for managing codespaces, searches, and repository information.

Quick Start

Use this skill when you want to perform GitHub CLI tasks from the command line, such as listing issues, creating PRs, or triggering workflows, with safe defaults and best practices.

Frequently Asked Questions about GitHub CLI

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

FAQPage Schema
How do I automate GitHub pull request and issue management from the terminal?

GitHub CLI (gh) automates PR and issue workflows from the terminal with commands for creating, viewing, labeling, and updating. This Skill guides safe, non-destructive operations that preserve repository integrity while enabling common automation tasks.

Can I use GitHub CLI to trigger workflows and manage repository resources safely?

Yes. GitHub CLI supports triggering workflows, viewing repository information, and managing codespaces. This Skill enforces non-destructive patterns and reversible changes, ensuring safe automation without risking data loss.

What GitHub CLI commands are safe for automation, and which ones should I avoid?

Safe operations include listing, viewing, labeling, updating, and closing issues and PRs. This Skill avoids destructive commands and requires clear input validation and authentication handling to prevent unintended repository changes.

How do I search for and filter GitHub resources using the command line?

GitHub CLI provides search and filtering capabilities for issues, PRs, and repositories. This Skill covers comprehensive guidance for structuring searches and applying filters safely from the terminal.

Do I need special authentication setup to run gh CLI automation safely?

Yes. This Skill requires proper authentication handling and enforces safety constraints to ensure commands execute correctly. It includes error reporting and validation patterns to prevent misconfigurations.