setup-labels
Skill1 starsChanged 19 days agoMITView on GitHub
Use when a repository does not have the type or priority labels that the issue rules name. One building block of bootstrap. Lists the missing labels and creates them with the owner's OK.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apply-architectureSkill
- assess-threatsSkill
- bootstrapSkill
- chart-routeSkill
- clarify-intentSkill
- code-reviewSkill
- domain-glossarySkill
- improve-agentsSkill
- investigate-bugSkill
- learnSkill
- make-diagramSkill
- migrate-dataSkill
- model-domainSkill
- plan-workSkill
- profile-performanceSkill
- recover-workSkill
- releaseSkill
- review-blast-radiusSkill
- review-specSkill
- review-standardsSkill
- setup-dkstackSkill
- setup-editorconfigSkill
- setup-quality-gatesSkill
- setup-repo-protectionSkill
- setup-supply-chainSkill
- setup-versioningSkill
- start-issueSkill
- tdd-loopSkill
- triageSkill
- ui-designSkill
- ui-reviewSkill
- verify-claimSkill
- write-adrSkill
- write-prSkill
- writing-checkSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Read the labels that the project has.
- Very specific: line 21
Keep it, and add the dkstack label.
- Distinctive: line 24
Read the labels again. Record in the issue what the owner applied and what stays open.
- Distinctive: line 28
Do not start subagents for this skill.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up labels
A building block of bootstrap. Use it alone, or as a step of bootstrap. Do not weaken an existing quality gate. See coding/quality-gates.md.
The issue rules name the labels. Labels are shared project settings. Create, change or delete a label only with the owner's OK that names the labels.
Steps
- Find out if the project uses an issue tracker that has labels. If it does not, skip this skill. The local files use the
TypeandPrioritylines in place of labels. - Read the labels that the project has. If the tool supports the code host of the project, the owner can run the audit tool. It lists the missing labels. It needs Node.js, the command line tool of the code host and the
<owner/repo>argument. - List each label below that the project does not have:
- Type:
type:bug,type:feature,type:chore,type:refactor,type:docsandtype:research. - Priority:
priority:p0,priority:p1,priority:p2andpriority:p3.priority:p0is the most urgent.
- Type:
- List each existing label that has a similar job but a different name, for example
bugorenhancement. Do not change or delete an existing label without the owner's OK. Ask the owner to select one option for each label:- Keep it, and add the dkstack label.
- Rename it to the dkstack label. A rename keeps the label on its issues.
- Give the list to the owner. Create or rename only the labels that the owner names in the OK.
- Read the labels again. Record in the issue what the owner applied and what stays open.
Subagents
Do not start subagents for this skill. Reason: this is one small job, and step 5 needs the owner. bootstrap can check it in a subagent. See the subagent guide.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

