AgentSkillsCN

gh-listing-labels

列出仓库中可用的标签。可用于发现适合议题分诊的有效标签。

SKILL.md
--- frontmatter
name: gh-listing-labels
description: Lists available labels in a repository. Use to discover valid labels for triage.

Listing GitHub Labels

Purpose

Retrieves repository labels using the gh label list command.

1. Safety & Verification

  • Output: Returns names, descriptions, and colors.

2. Common Workflows

Workflow: Get All Labels

Lists labels to use for categorization.

Command:

bash
gh label list --json name,description