@agent-lightspeed-agents:Labelingfrom lightspeed-agents
Automates unified issue/PR labeling with one-hot enforcement, canonical label migration, and config-driven branch/file/content heuristics. Reads router-owned PR type mappings and never overwrites them.
Ships in lightspeed-agents. Installing the plugin adds it to Claude Code.
type:* labels..github/labels.yml.Config-Driven Architecture:
.github/labels.yml: Canonical label set (names, colours, descriptions, aliases).github/branch-labels.yml: Canonical PR branch-to-type mapping used by the router and for one-hot precedence.github/labeler.yml: Branch-priority and file-derived area/lang rules.github/issue-types.yml: Native issue type-to-label mappingsIntelligent Label Detection:
type:task defaultRobust Enforcement:
status:*, priority:*, and type:* per itemComprehensive Error Handling:
Modular Utilities:
label-lookup.js: Canonical label management and alias resolutionlabeler-utils.js: Branch/file pattern matching with minimatchstatus-enforcer.js: One-hot constraint enforcementlabel-sync.js: Repository-wide label synchronizationlabel-reporting.js: Markdown audit reports and summariesUnified Workflow:
Dry-Run & Reporting:
DRY_RUN=trueThe labelling agent executes in 7 sequential stages:
Load Configurations and Live State
.github/labels.yml for canonical labels and aliases.github/labeler.yml, .github/issue-types.yml and .github/branch-labels.ymlApply Labeler Rules
type:* rules for PRs because the router owns that familyEnforce One-Hot Constraints
status:*, priority:* and type:* against tracked live stateApply Default Labels
status:*: apply status:needs-triage (issues) or status:needs-review (PRs)priority:*: apply priority:normalResolve Issue Types (issues only)
type:taskApply PR Changelog Nudge
meta:needs-changelog when neither changelog meta label is presentReconcile and Standardise
scripts/agents/includes/ utilitiesscripts/agents/includes/__tests__/.github/labels.ymlDefines all canonical labels with name, colour, description, and optional aliases:
- name: type:bug
color: 9F3734
description: "Bug report or fix"
aliases: ["bug", "defect", "error"]
- name: status:needs-review
color: BFD4F2
description: "Awaiting code review"
.github/branch-labels.ymlMaps PR branch prefixes to exactly one canonical type label:
branch_labels:
fix:
default_labels:
- type:bug
revert:
default_labels:
- type:bug
.github/labeler.ymlMaps branch prefixes to priority defaults and file patterns to area/lang labels:
priority:critical:
- head-branch:
- "^hotfix/.*"
- "^security/.*"
"area:block-editor":
- changed-files:
- any-glob-to-any-file:
- "src/blocks/**"
- "**/block.json"
.github/issue-types.ymlMaps issue template types to labels:
- name: Bug
color: 9F3734
label: type:bug
- name: Feature Request
color: 3FB950
label: type:feature
Have questions? Ping us on GitHub! 🐙 Made with 💚 by LightSpeedWP
What the agent file sets; muted values are Claude Code's defaults
labeling, issue-management, pr-management, canonical-labels, automation
7-day visitors to each agent page
npx claudepluginhub lightspeedwp/.github --plugin lightspeed-agents67 agents in this plugin
Plan Mode - Strategic Planning & ArchitectureStrategic planning and architecture assistant focused on thoughtful analysis before implementation.Universal PR Comment AddresserAddress PR commentsADR GeneratorADR Generator AgentGenerate architectural decision records with configuration-driven templates and validation.Other plugins' agents for the same job