github-ops

Automate GitHub operations using gh CLI and REST/GraphQL APIs.

2|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/leon30083/wenjing-aigc --skill github-ops-leon30083
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-ops
Source: https://github.com/leon30083/wenjing-aigc/tree/main/.claude/skills/github-ops
Command: npx skills add https://github.com/leon30083/wenjing-aigc --skill github-ops-leon30083

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GitHub operations and automation tasks across PRs, issues, repos, workflows, and API interactions can be tedious when done manually; this skill guides users through efficient, CLI-driven workflows using gh CLI and GitHub APIs.

Core Features & Use Cases

  • Pull request management: create, view, merge, and comment on PRs with gh pr commands and API integration.
  • Issue and repository operations: manage issues, labels, milestones, and repo settings via gh issue and gh repo commands.
  • Workflow automation: list, run, monitor, and manage GitHub Actions workflows and runs.
  • API interactions: query REST/GraphQL endpoints via gh api for data retrieval and automation.
  • Use Case: Automate standard onboarding repos setup by creating PRs, applying labels, and triggering workflows across multiple repositories.

Quick Start

Run a simple example by creating a PR with gh pr create and observing its checks with gh pr checks.

Frequently Asked Questions about github-ops

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

FAQPage Schema
How do I automate GitHub pull requests using the command line?

Automate GitHub pull requests using gh CLI commands like gh pr create and gh pr checks. This skill guides you through creating, viewing, editing, merging, and commenting on PRs to streamline your workflow automation.

What's the best way to query GitHub REST and GraphQL APIs for automation?

Query GitHub REST and GraphQL APIs using the gh api command. This skill provides reference materials and practical examples for querying endpoints to retrieve data and automate interactions across GitHub.com and GitHub Enterprise.

Can I manage GitHub Actions workflows and runs with gh CLI?

Yes, you can manage GitHub Actions workflows and runs with gh CLI. This skill covers how to list, run, monitor, and manage workflows to automate continuous integration and deployment tasks efficiently.

Does gh CLI work with GitHub Enterprise for issue and repository management?

Yes, gh CLI works with GitHub Enterprise for issue and repository management. This skill defines core command usage for managing issues, labels, milestones, and repo settings across GitHub.com and GitHub Enterprise instances.

How do I set up authentication for GitHub API automation scripts?

Set up authentication for GitHub API automation scripts using the gh CLI auth configuration. This skill outlines the necessary authentication setup to securely run commands and interact with REST/GraphQL endpoints.

Why use gh CLI instead of manual web interface for GitHub operations?

Use gh CLI instead of the web interface to automate tedious GitHub operations across PRs, issues, repos, and workflows. This skill enables efficient, scriptable command-line workflows that save time on repetitive tasks.