agentleFS
kellykampenkellykampen/agent-skills/skills/workflow/linear-labels/SKILL.md

linear-labels

Skill2 starsChanged 12 days agoMITView on GitHub

Audit, create, group, and consolidate Linear issue and project labels across workspace, parent teams, and subteams. Use for label ownership, duplicates, inherited labels, or taxonomy cleanup; ordinary issue authoring should reuse existing labels first.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the connected Linear tools when they expose the required operation.

    line 11
  2. Very specific:

    Read the team hierarchy and each label's ID, owning team, parent group, inheritedFrom, retirement state, and group selection mode.

    line 20
  3. Distinctive:

    Do not assume a client's default workspace list includes team-owned labels.

    line 22
  4. Very specific:

    Follow the user's established taxonomy.

    line 42
  5. Distinctive:

    Ask about ambiguous ownership one family at a time, with a recommendation grounded in actual usage.

    line 54
  6. Distinctive:

    Read references/consolidation.md before bulk replacement, alias merging, group changes, or moving a label between scopes.

    line 66
  7. Distinctive:

    Prefer a supported native consolidation over rewriting each issue's complete label list.

    line 73
  8. Distinctive:

    After each batch, read back names, scopes, group membership, inheritance, and retirement states.

    line 78
  9. Distinctive:

    When creating or revising tickets as part of this work, apply relevant existing labels and a non-empty provisional estimate on the team's …

    line 85
  10. Distinctive:

    Read both fields back before handoff.

    line 87

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Linear labels

Use the connected Linear tools when they expose the required operation. Use linear-cli api for missing fields or mutations, and Linear settings for scope moves that the public API cannot perform. Inspect current tool schemas or CLI help before writing; supported fields differ between clients.

Discover before creating

Issue labels and project labels are separate catalogs. A project label named cli does not label an issue. Inspect both when the request covers all labels. Read the team hierarchy and each label's ID, owning team, parent group, inheritedFrom, retirement state, and group selection mode. Follow every page. Do not assume a client's default workspace list includes team-owned labels.

Reuse an existing workspace or inherited label before creating a local variant. Resolve by ID and scope when names are ambiguous. A child team's separate ID with inheritedFrom is an inherited definition, not evidence of accidental duplication. Do not edit or remove inherited copies independently.

For cleanup, capture label metadata and current assignments, including archived issues and projects. Check affected views, templates, filters, and automations when they reference labels. Keep snapshots outside the repository and out of public PR evidence if they contain private workspace data.

Choose the owner and group

ScopeUse
WorkspaceConcepts with the same meaning across unrelated teams.
Parent teamConcepts shared within that parent's descendants. Let subteams inherit them.
Product teamComponents or delivery terms unique to that product.

Follow the user's established taxonomy. For example, a workspace may use Platform with cli, web, desktop, mobile, cloud, extension, shared, backend, and frontend; and Type with Bug, Feature, Improvement, Task, Story, and spike. These are examples, not a requirement to create missing labels in every workspace. Keep short child names where available; do not add a local platform:cli when the workspace already provides cli.

Groups organize a dimension; their scope determines who can use it. Use multi-select when multiple children can apply to one item. Check existing co-occurrences before introducing single-select, which can remove another selection. A group itself cannot be applied as a label.

Ask about ambiguous ownership one family at a time, with a recommendation grounded in actual usage. If the user wants only workspace and parent-team choices, exclude leaf teams from the choices. Continue independent approved work while waiting; do not treat silence as a decision.

Similar names do not establish equivalent meaning. For example, stack-4 and Stack 04 can describe different historical sequences. Inspect the work and conflicting assignments before merging. No current usage or a null lastAppliedAt does not prove a label was never used.

Consolidate and verify

Read references/consolidation.md before bulk replacement, alias merging, group changes, or moving a label between scopes. It covers native replacement constraints and settings moves. For sibling definitions that belong to their shared parent, prefer Linear's native Move to parent team action when available. Read the promotion guidance in that reference before recreating labels or migrating assignments.

Prefer a supported native consolidation over rewriting each issue's complete label list. Preserve unrelated labels and existing multi-label combinations. For authorized unused-label cleanup, prefer retirement when it provides the requested result and keeps history recoverable.

After each batch, read back names, scopes, group membership, inheritance, and retirement states. A successful mutation is not proof every requested field changed. Compare assignments by entity ID against the snapshot, accounting for replacement IDs and concurrent new work. A smaller label count alone is not evidence of a successful cleanup. Report completed changes, unresolved ownership, semantic conflicts, and verification limits separately.

When creating or revising tickets as part of this work, apply relevant existing labels and a non-empty provisional estimate on the team's configured scale. Read both fields back before handoff. If estimation is disabled or the scale cannot express the intended estimate, resolve that with the owner rather than silently changing team settings or leaving the estimate empty.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.