github-cli

Manage GitHub issues and pull requests with structured gh commands.

2|Updated Jun 2, 2024
One-click install
npx skills add https://github.com/magnusrodseth/dotfiles --skill github-cli-magnusrodseth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-cli
Source: https://github.com/magnusrodseth/dotfiles/tree/main/.claude/skills/github-cli
Command: npx skills add https://github.com/magnusrodseth/dotfiles --skill github-cli-magnusrodseth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies GitHub issue and pull request management by providing a structured command interface, reducing manual steps and improving efficiency.

Core Features & Use Cases

  • Issue Management: Create, read, update, and close issues with predefined commands and labels.
  • Label Management: Create, list, update, and delete labels for categorizing issues and PRs.
  • Pull Request Management: Determine base branches, create PRs from issues, manage reviews, and merge them efficiently.
  • Use Case: As a software developer, you can use this Skill to automate common GitHub CLI workflows, such as creating issues with a structured description and merging pull requests with proper conflict resolution.

Quick Start

Create a new issue with a title and description using the GitHub CLI skill.

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 issue and pull request management from the command line?

You can automate GitHub issue and pull request management by using structured commands to create, update, and close issues, manage labels, and merge pull requests via the GitHub CLI. This reduces manual steps and streamlines developer workflows.

Can I create a GitHub pull request from an existing issue using CLI commands?

Yes, you can create a pull request from an existing issue. The workflow determines the correct base branch, generates the PR from the issue details, and facilitates the review and merging process using structured CLI commands.

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

Yes, the gh CLI tool is a required dependency. This Skill is specifically designed to interface with the GitHub CLI, using structured commands to execute label management, issue tracking, and pull request merging operations directly.

What is the best way to structure GitHub CLI workflows for merging pull requests?

The best way to structure GitHub CLI workflows for merging pull requests is to use predefined commands that determine the base branch, handle conflict resolution, and execute the merge efficiently. This provides a structured command interface for reliable developer automation.

How do I categorize GitHub issues and pull requests with structured labels?

You can categorize GitHub issues and pull requests by using label management commands. This allows you to create, list, update, and delete labels, providing a structured way to organize issues and PRs directly from the command line.