labels-as-code
Installation
SKILL.md
labels-as-code
Brings a single GitHub repository's labels under version control and keeps pull-request labeling in sync with the files that changed.
Where this skill fits
| Concern | Skill |
|---|---|
| One repo's label set, tracked in a file, synced on demand or on schedule | /labels-as-code (this skill) |
| Path-based PR auto-labeling for one repo | /labels-as-code (this skill) |
| Label policy across many repos, reconciled from one admin repo | /safe-settings |
| Issue forms, PR templates, community health files | /oss-hygiene |
/safe-settings can also manage labels org-wide through its labels block (rename via oldname, exclusion patterns), reconciled every full-sync run. Reach for /safe-settings when label policy must stay in sync across many repos from a central admin repo. Reach for this skill when the scope is one repository and the file lives in that repository.