gh-cli

Automates GitHub pull request creation, status checking, and commenting via gh CLI.

3|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/whimzyLive/nightshift-ai --skill gh-cli-whimzylive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-cli
Source: https://github.com/whimzyLive/nightshift-ai/tree/main/plugins/sdlc/skills/gh-cli
Command: npx skills add https://github.com/whimzyLive/nightshift-ai --skill gh-cli-whimzylive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages GitHub operations through the gh CLI, reducing token usage and automating common tasks such as PR creation and status checks.

Core Features & Use Cases

  • PR Management: Automates PR creation, checking, commenting, and URL capturing.
  • Token Efficiency: gh CLI outputs minimal information, significantly reducing token consumption compared to other tools.
  • Integration: Works seamlessly with Git and GitHub for efficient workflow management.

Quick Start

Create a new pull request from your current branch with gh pr create.

Frequently Asked Questions about gh-cli

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

FAQPage Schema
How do I automate GitHub PR creation and status checks?

You can automate GitHub PR creation and status checks using the gh CLI to manage pull requests. It executes commands to create PRs, verify status, and capture URLs, significantly reducing manual effort.

What is the best way to reduce token consumption when managing GitHub pull requests?

The best way to reduce token consumption during PR management is using the gh CLI. It outputs minimal information during operations, significantly lowering data transfer compared to other GitHub integration tools.

How do I create a pull request from my current branch using the command line?

To create a pull request from your current branch, use the `gh pr create` command. This automates the PR creation process and captures the resulting URL for immediate use.

Does the gh CLI work with existing Git workflows for code review?

Yes, the gh CLI works seamlessly with existing Git workflows for code review. It integrates with Git and GitHub to manage pull requests, add comments, and check statuses efficiently.

Why should I use gh CLI instead of other tools for PR management?

You should use the gh CLI for PR management because it ensures token efficiency. By outputting minimal information, it reduces token consumption significantly compared to other tools, streamlining your development workflow.