laurigates/claude-plugins/github-labels

Claude Code and agent skill by laurigates/claude-plugins

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

GitHub labels via gh CLI and the build:/area:/needs: taxonomy. Use when labeling a PR or issue, checking which labels a repo has, or creating a label.

Install

npx vskill@latest install laurigates/claude-plugins/github-labels

SKILL.md

The same SKILL.md was published earlier as laurigates/claude-plugins/github-labels.

GitHub Labels

Reference for discovering and applying labels to GitHub PRs and issues, and for the prefix taxonomy a repository may follow.

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
Choosing a build:, area:, core: or needs: labelBulk-editing many issues at once
Inheriting labels from issue to PRSetting PR reviewers or assignees
Provisioning or auditing a repo's label taxonomyLinking issues by dependency (git-issue-hierarchy)

Read the Repository's Labels First

The labels a repository has are its vocabulary. Apply those, and read them before choosing:

  1. Read .github/issue-labels.json when it exists. It is the repo's taxonomy

file: its build: and area: labels, and the paths and title scopes that select each one.

  1. List every label:
bash
gh label list --limit 500 --json name,description,color
# Search for specific labels
gh label list --limit 500 --search "bug"

gh label list returns 30 labels unless --limit says otherwise, so on a larger repo a label that exists reads as missing.

Prefix Meanings

LabelSaysDefined in
bug, enhancement, chore, docs, security, refactorType: the kind of change. One per issue or PRThe standard set shared by the owner's repos
build:<name>The build in a monorepo it belongs to: one firmware, app or package among severalThe repo's taxonomy file
area:<name>A toolchain or subsystem that cuts across buildsThe repo's taxonomy file
core:<name>Repo machinery: core:ci, core:quality, core:agent, core:build, core:components, core:docsThe standard set
needs:hardware, needs:decision, needs:human, blockedWhat stops the issue being picked upThe standard set

An issue carries one type label and at least one routing label (build:, area: or core:). A repository that does not use these prefixes is labelled with whatever gh label list shows.

To add a build: or area: label, add an entry to the taxonomy file; the provision subcommand creates it. A label from the standard set is added wherever the owner manages that set (often infrastructure as code), because a gh label create for one of them drifts from it. Ask before creating any other label.

What Stops an Issue: Who Sets and Clears It

LabelSet byCleared by
needs:hardwareAn agent or the maintainer, when the next step needs physical hardware: a bench check, a test print, a measurementThe maintainer, or an agent recording the maintainer's result in a comment. Automation leaves it alone
needs:decisionAn agent stopping on a call that is the maintainer's, with a comment giving the options and a recommendationWhoever records the decision in a comment
needs:humanAn agent, when the work needs a live session, credentials, local data or a scheduled runThe maintainer, or the agent that lands the work
blockedTogether with a blocked_by dependency link when the blocker is an issue; by hand when it is a PR or an upstream changeThe unblock subcommand for linked issues; by hand otherwise

The dependency link is the record and blocked shows it on the issue list. Add the link with the git-issue-hierarchy skill (--blocked-by <N>), then the label. A blocked label with no link behind it is cleared by a person, since nothing records what it waits for.

The REST write is POST repos/<owner>/<repo>/issues/<n>/dependencies/blocked_by with the blocker's integer id (-F issue_id=<id>, not its number), as GitHub's REST reference documents it. The two read endpoints (dependencies/blocked_by, dependencies/blocking) were checked against the live API on 2026-11-10; the write call is pending verification against it.

The issue-labels Script

bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/issue-labels.py" <subcommand> --repo <owner>/<repo>
SubcommandDoesWrites
provisionCreates the taxonomy file's missing build: and area: labels, updates colour and (when the entry gives one) description, renames through renamed_from. Refuses any other name, and a rename from a type, core:, needs:, blocked, merge:* or dependencies label; an unprefixed label may be renamed. Deletes nothing. An absent taxonomy file is taxonomy_missing, an empty one taxonomy_empty. --dry-run prints the actionsLabels
classify --issue <N> or --pr <N>Prints the labels the item's title, body and changed files point at, as JSON (add). A prefix that already has a label is skipped. It does not set securityNothing
validate --issue <N> --labels-file <file>Filters labels a model proposed: type labels and build:/area:/core:/needs: names that exist in the repo. A needs: label is kept only with a quote found in the issue, and of two type labels only the firstNothing
unblock --issue <N>After issue N closes, removes blocked from each open issue it was blocking whose blocked_by issues are all closedRemoves blocked
auditLists open issues with no type label, no routing label, blocked without a link, an open blocked_by link without blocked, or a needs: label older than --needs-stale-days (30)Nothing
apply-auditAdds blocked for open_link_not_blocked, removes it for blocked_resolved; never adds a label the repo lacks. --dry-runAdds or removes blocked
backfillLists open issues missing a type or routing label, oldest first, with classify's labels, up to --max-issues (25). Ones it derives nothing for are listed apart and do not count. --jsonNothing

classify reads a title in three forms:

TitleTypeScope looked up in the taxonomy
[Bug] parser: crashes on empty inputbugparser
fix(parser): handle empty inputbugparser
parser: crashes on empty inputnoneparser
[DNS]: add a recordnonedns (the bracket word)

A type word (docs, ci, fix, ...) leading a conventional title is not a scope when a parenthesised scope follows it, so docs(parser): ... selects parser and not core:docs. Set "type_words_as_scope": true at the top of the taxonomy file to offer it as one. A bare type word with no parenthesised scope (docs: ..., ci: ...) is the title's only scope and is offered either way. A word inside the parentheses, or before the colon after a bracket ([Chore] ci: ...), is always a scope. A bracket word that is not a type word is a scope too, so an issue form's [GitHub Repo]: ... title is routed by a taxonomy entry with the scope github repo. [Bench] and hw(...) map to enhancement, [Task] and task(...) to chore. A feedback(<plugin>): ... title maps to no type: feedback-plugin's feedback-session sets bug, enhancement or positive-feedback itself when it files the issue.

An issue with no routing label from its title scope is routed by the repo paths its body quotes; a scope whose label the repo lacks counts as no scope. A PR takes the labels its changed files match, up to "max_routing_labels" routing labels in all (default 3): the title's count first, then the labels matching the most files; the rest are listed under capped. A body token is a path only when it has a / or a .: docs/ and ./justfile are paths, the words "docs" and "justfile" are not. classify and validate only print labels; apply them with gh issue edit <N> --add-label. audit findings come back as STATUS=WARN with exit 0, and a failed read as STATUS=ERROR with exit 1.

Adding Labels to PRs

bash
# Single label
gh pr create --label "bug"
# Multiple labels (repeat flag)
gh pr create --label "bug" --label "area:parser"
# Comma-separated
gh pr create --label "bug,area:parser"
# Add to existing PR
gh pr edit 123 --add-label "core:ci"

Adding Labels to Issues

bash
# Create with labels
gh issue create --label "bug,build:firmware"
# Add to existing issue
gh issue edit 123 --add-label "needs:decision"
# Remove label
gh issue edit 123 --remove-label "needs:decision"

Label Inheritance Pattern

When creating a PR from an issue:

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

The needs: and blocked labels describe the issue's state and stay on the issue.

Agentic Optimizations

ContextCommand
List all labels (machine-readable)gh label list --limit 500 --json name,description,color
Get label names onlygh label list --limit 500 --json name -q '.[].name'
Derive labels for an issuepython3 "${CLAUDE_PLUGIN_ROOT}/scripts/issue-labels.py" classify --repo $REPO --issue $ISSUE
Sweep open issues for label gapspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/issue-labels.py" audit --repo $REPO
Add label to PR silentlygh pr edit $PR --add-label "label"
Check current issue labelsgh issue view $ISSUE --json labels -q '.labels[].name'

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
6
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurigates/claude-plugins/github-labels/badge)](https://verified-skill.com/skills/laurigates/claude-plugins/github-labels)

Something wrong with this skill or its page? Tell us.