github-issues

Create, triage, label, and manage GitHub issues via gh CLI or REST API.

Updated May 13, 2026
One-click install
npx skills add https://github.com/superfhp/lumi-agent-body --skill github-issues-superfhp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-issues
Source: https://github.com/superfhp/lumi-agent-body/tree/main/skills/github/github-issues
Command: npx skills add https://github.com/superfhp/lumi-agent-body --skill github-issues-superfhp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing GitHub issues manually through the web UI is slow and hard to automate. This Skill provides ready-to-use commands for creating, searching, labeling, assigning, and closing issues using either the gh CLI or direct REST API calls with curl. ## Core Features & Use Cases - Full Issue Lifecycle: Create, view, comment on, close, and reopen issues with both gh and curl fallback commands. - Triage Workflow: List untriaged issues, categorize them, apply labels and priorities, and assign owners in a structured process. - Bulk Operations: Batch-close or batch-update issues by combining API calls with shell scripting. - Use Case: When asked to triage a backlog, list all issues labeled "needs-triage", read each one, apply appropriate labels like "bug" or "priority:high", assign owners, and post triage comments automatically. ## Quick Start Ask the assistant to create a GitHub issue titled "Login redirect ignores next parameter" labeled as a bug in the current repository.

Frequently Asked Questions about github-issues

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

FAQPage Schema
How do I create a GitHub issue from the command line?▼

Use gh issue create with --title, --body, --label, and --assignee flags, or send a POST request to /repos/{owner}/{repo}/issues with a JSON payload containing title, body, labels, and assignees.

How to triage GitHub issues with gh CLI?▼

List untriaged issues with gh issue list --label "needs-triage" --state open, read each issue, then apply labels with gh issue edit --add-label, assign owners with --add-assignee, and add triage comments with gh issue comment.

Can I use the GitHub REST API instead of the gh CLI?▼

Yes, every operation has a curl fallback using the GitHub REST API with an Authorization token header. The token can come from the GITHUB_TOKEN environment variable, a .env file, or git credentials.

Why does the GitHub issues API return pull requests too?▼

The GitHub /issues endpoint includes pull requests because PRs are internally issues. Filter them out by checking for the pull_request key in each returned item before processing the results.

How do I close multiple GitHub issues at once?▼

List issue numbers with gh issue list --label and --json number, then pipe them to xargs with gh issue close, or loop over curl PATCH requests setting state to closed for each issue number.