Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-labels

БесплатноБез исполняемых скриптовНе проверен

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.

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

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 repo Creating or managing milestones
Adding or removing labels on PRs/issues Managing GitHub Projects boards
Choosing a build:, area:, core: or needs: label Bulk-editing many issues at once
Inheriting labels from issue to PR Setting PR reviewers or assignees
Provisioning or auditing a repo's label taxonomy Linking 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.
  2. List every label:
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

Label Says Defined in
bug, enhancement, chore, docs, security, refactor Type: the kind of change. One per issue or PR The standard set shared by the owner's repos
build:<name> The build in a monorepo it belongs to: one firmware, app or package among several The repo's taxonomy file
area:<name> A toolchain or subsystem that cuts across builds The repo's taxonomy file
core:<name> Repo machinery: core:ci, core:quality, core:agent, core:build, core:components, core:docs The standard set
needs:hardware, needs:decision, needs:human, blocked What stops the issue being picked up The 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

Label Set by Cleared by
needs:hardware An agent or the maintainer, when the next step needs physical hardware: a bench check, a test print, a measurement The maintainer, or an agent recording the maintainer's result in a comment. Automation leaves it alone
needs:decision An agent stopping on a call that is the maintainer's, with a comment giving the options and a recommendation Whoever records the decision in a comment
needs:human An agent, when the work needs a live session, credentials, local data or a scheduled run The maintainer, or the agent that lands the work
blocked Together with a blocked_by dependency link when the blocker is an issue; by hand when it is a PR or an upstream change The 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

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/issue-labels.py" <subcommand> --repo <owner>/<repo>
Subcommand Does Writes
provision Creates 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 actions Labels
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 security Nothing
validate --issue <N> --labels-file <file> Filters
Полный SKILL.md на GitHub

Установить github-labels в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash(gh label list *)
Bash(gh issue view *)
Bash(gh issue edit *)
Bash(gh pr edit *)
Bash(gh pr create *)
Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/issue-labels.py *)
Read
Grep
Glob

FAQ

Что делает скилл github-labels?

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.

Как установить скилл github-labels?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github-labels запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить github-labels с