skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
laurigates/claude-plugins52 installs

github-labels

GitHub labels via gh CLI — list, apply, create. Use when labeling a PR or issue, checking which labels a repo has, or creating a new label.

How do I install this agent skill?

npx skills add https://github.com/laurigates/claude-plugins --skill github-labels
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides a safe set of instructions and examples for managing GitHub labels using the official GitHub CLI (gh). It covers common tasks such as listing, creating, and applying labels to issues and pull requests using standard patterns.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

GitHub Labels

Reference for discovering and applying labels to GitHub PRs and issues.

When to Use This Skill

Use this skill when...Use something else when...
Listing available labels in a repoCreating or managing milestones
Adding or removing labels on PRs/issuesManaging GitHub Projects boards
Creating new labels with colorsBulk-editing many issues at once
Inheriting labels from issue to PRSetting PR reviewers or assignees

Discovering Available Labels

# List all labels with details
gh label list --json name,description,color --limit 50

# Search for specific labels
gh label list --search "bug"

# Output as simple list
gh label list --json name -q '.[].name'

Adding Labels to PRs

# Single label
gh pr create --label "bug"

# Multiple labels (repeat flag)
gh pr create --label "bug" --label "priority:high"

# Comma-separated
gh pr create --label "bug,priority:high"

# Add to existing PR
gh pr edit 123 --add-label "ready-for-review"

Adding Labels to Issues

# Create with labels
gh issue create --label "bug,needs-triage"

# Add to existing issue
gh issue edit 123 --add-label "in-progress"

# Remove label
gh issue edit 123 --remove-label "needs-triage"

Common Label Categories

CategoryExamples
Typebug, feature, enhancement, documentation, chore
Prioritypriority:critical, priority:high, priority:medium, priority:low
Statusneeds-triage, in-progress, blocked, ready-for-review
Areafrontend, backend, infrastructure, testing, ci-cd

Label Inheritance Pattern

When creating a PR from an issue:

  1. Read issue labels via gh issue view N --json labels
  2. Apply same labels to PR: gh pr create --label "label1,label2"

This maintains traceability and consistent categorization.

Agentic Optimizations

ContextCommand
List all labels (machine-readable)gh label list --json name,description,color --limit 50
Get label names onlygh label list --json name -q '.[].name'
Add label to PR silentlygh pr edit $PR --add-label "label"
Check current issue labelsgh issue view $ISSUE --json labels -q '.labels[].name'
Inherit labels from issue to PR`gh issue view $ISSUE --json labels -q '[.labels[].name]

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/laurigates/claude-plugins/github-labels">View github-labels on skillZs</a>