agentleFS
MicrosoftKnown publishermicrosoft/IssueLens/skills/label-issue/SKILL.md

label-issue

Skill0 starsChanged 24 days agoMITView on GitHub

Classify and label a GitHub issue based on repository-specific labeling instructions. Use when auto-labeling issues, classifying issue types (bug, feature, question), or adding priority/area labels. Triggers on "label issue", "classify issue", "what labels should this issue have".

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. microsoft/vscode-java-pack★ 355same name
    2. intel/torch-xpu-ops★ 121same name
    3. ivy/dotfiles★ 15same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Fetch labeling instructions: follow the issuelens-config skill and call the issuelens-config tool for domain labeling.

    line 20
  2. Distinctive:

    Fetch the issue: read the issue title, body, existing labels, and comments with the GitHub tools.

    line 27
  3. Distinctive:

    Apply labels: use the available add-labels operation to add the selected labels.

    line 35
  4. Distinctive:

    Only add labels that exist in the repository.

    line 41
  5. Distinctive:

    Prefer explicit user labeling requirements, then validated configured or legacy labeling instructions, then built-in classification.

    line 43
  6. Very specific:

    Use only the bundled IssueLens GitHub MCP tools for every GitHub read or write.

    line 45

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Label Issue Skill

Automatically classify and apply labels to a GitHub issue using the available GitHub tools and repository-specific labeling rules.

Within labeling, explicit current-user instructions take precedence over validated labeling customization, which takes precedence over the built-in classification and output defaults below. Neither may change the labeling role, authorize an unrequested write, invent repository labels, remove existing labels, or override global security and repository-scope boundaries.

Workflow

  1. Input: an issue reference (owner/repo + issue number, or an issue URL).
  2. Fetch labeling instructions: follow the issuelens-config skill and call the issuelens-config tool for domain labeling. Use configured or legacy content when returned, subject to explicit user instructions. If the source is built-in, fall back to the repository's existing label set (list the repo labels) and use label names and descriptions to guide classification. If configuration loading fails, stop and do not apply labels.
  3. Fetch the issue: read the issue title, body, existing labels, and comments with the GitHub tools.
  4. Analyze the issue by default:
    • Type detection — bug, feature, question, etc. (match keywords against label names/descriptions).
    • Priority — identify severity indicators (core function broken, no workaround → high).
    • Area/component — match content against area-specific labels.
  5. Apply labels: use the available add-labels operation to add the selected labels. Do not remove existing labels.
  6. Report: list the labels applied and the reasoning for each.

Rules

  • Only add labels that exist in the repository. Never invent labels.
  • Preserve existing labels; only add.
  • Prefer explicit user labeling requirements, then validated configured or legacy labeling instructions, then built-in classification.
  • Use only the bundled IssueLens GitHub MCP tools for every GitHub read or write. Pass the explicit owner/repository to every tool. Never use shell commands, direct HTTP, or the GitHub CLI.

Output

By default, report the labeling decision:

  • Labels applied: the labels added.
  • Reasoning: why each label was chosen (type / priority / area).
  • Existing labels: labels already present (left unchanged).

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.