agentleFS
oschinaoschina/gitee-agent-skills/skills/triage-issues/SKILL.md

triage-issues

Skill4 starsChanged 7 months agoMITView on GitHub

Use this skill when the user asks to triage issues, organize the issue list, "triage issues", "show me all open issues", "categorize issues", "triage-issues". Requires Gitee MCP Server to be configured.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use clack-cli-patterns, drag-to-reorder and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • openchamberSkill

    clack-cli-patterns

    Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.

    Also in 3 projects that use this

  • openchamberSkill

    drag-to-reorder

    Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.

    Also in 3 projects that use this

  • gabriellstSkill

    desktop-shell

    Work on the CODM desktop shell — the Tauri v2 host (packages/app/tauri), the react client-side services DI (packages/app/react/src/services — ports + platform services + Container/Token + ServicesProvider), sidecar supervision, or any OS-integration capability (folder picker, notifications, badge, secrets, autostart). Use whenever a task mentions Tauri, the desktop app, sidecars, or an OS capability the react console needs.

    Also in 3 projects that use this

  • +9 more from openchamber

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use list_repo_issues to retrieve open Issues:

    line 26
  2. Distinctive:

    Ask the user whether to automatically update labels and priorities.

    line 110
  3. Very specific:

    After confirmation, use update_issue to:

    line 112
  4. Very specific:

    Add type labels (bug, feature, enhancement, question, docs, duplicate)

    line 113
  5. Very specific:

    Add additional labels based on context (help wanted, security, etc.)

    line 114
  6. Distinctive:

    Add priority indicator (if supported by the repository)

    line 115
  7. Distinctive:

    Always confirm with the user before performing bulk updates to avoid unintended changes

    line 140
  8. Distinctive:

    If there are more than 50 Issues, consider processing in batches or filtering by a specific label

    line 141
  9. Distinctive:

    Use consistent labels to help contributors find Issues matching their interests

    line 142
  10. Distinctive:

    Check existing labels in the repository first — some projects may have custom label names

    line 143

“Common” is measured: kept by at least 6 in 10 of the 16 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

Note: If you have mcporter installed locally, you should use mcporter to invoke the MCP tool instead of directly calling the MCP tool. The mcporter CLI provides a more convenient interface and better error handling.

Triage Issues via Gitee MCP

Batch-process a repository's Issues: classify by priority, add labels, identify duplicates, and generate a clear action list.

Prerequisites

  • Gitee MCP Server configured (tools: list_repo_issues, get_repo_issue_detail, update_issue, create_comment (resource_type: issue))
  • User must provide: repository owner, repository name
  • Optional: filter criteria (bugs only / unassigned only / specific milestone, etc.)

Steps

Step 1: Fetch the Issue List

Use list_repo_issues to retrieve open Issues:

  • state: open (open Issues only)
  • Paginate if there are many Issues (20 per page)

Step 2: Batch Analysis

For each Issue, quickly evaluate:

Type classification (use labels)

TypeLabelDescription
Bugbugsomething is broken, throwing errors, or crashing
Featurefeaturerequest for new functionality
Enhancementenhancementimprovement to existing functionality
Questionquestionusage question
Documentationdocsdocumentation-related
Duplicateduplicatesame as an existing Issue

Common additional labels

LabelUse Case
help wantedNeeds external contribution
wontfixWill not be addressed
invalidInvalid or spam
securitySecurity-related
performancePerformance-related
ui/uxUser interface improvements
backendBackend-related
frontendFrontend-related

Priority assessment

  • P0 - Critical: affects core functionality, production bug, security vulnerability
  • P1 - High: significant functional defect, affects many users
  • P2 - Medium: general improvement, workaround exists
  • P3 - Low: nice-to-have, cosmetic improvement

Status assessment

  • Whether there are sufficient reproduction steps (for bugs)
  • Whether more information is needed
  • Whether a PR is already addressing it

Step 3: Generate Triage Report

Output a structured report:

## Issue Triage Report
Repository: [owner/repo]
Date: [date]
Total open issues: [N]

---

### 🔴 P0 Critical (needs immediate attention)
| # | Title | Type | Labels | Note |
|---|-------|------|--------|------|
| #N | [title] | bug | bug, security | [one sentence explaining urgency] |

### 🟠 P1 High Priority
| # | Title | Type | Labels | Note |
|---|-------|------|--------|------|

### 🟡 P2 Medium Priority
| # | Title | Type | Labels | Note |
|---|-------|------|--------|------|

### 🟢 P3 Low Priority
| # | Title | Type | Labels | Note |
|---|-------|------|--------|------|

---

### Needs More Information
- #N [title]: [what information is missing]

### Possible Duplicates
- #N may be a duplicate of #M: [explanation]

### Recommended for Closure
- #N [title]: [reason, e.g., long inactive / already resolved another way]

Step 4: Update Issue Labels (requires user confirmation)

Ask the user whether to automatically update labels and priorities.

After confirmation, use update_issue to:

  • Add type labels (bug, feature, enhancement, question, docs, duplicate)
  • Add additional labels based on context (help wanted, security, etc.)
  • Add priority indicator (if supported by the repository)

Label assignment examples:

  • A bug report → add bug label
  • A feature request with good description → add feature label
  • An enhancement suggestion → add enhancement label
  • A simple question → add question label
  • Needs external help → add help wanted

For Issues that need more information, use create_comment (resource_type: issue) to ask:

Thanks for submitting this issue!

To help us address it more effectively, could you please provide:
- [Missing reproduction steps]
- [Environment and version info]
- [Expected behavior vs. actual behavior]

Thank you!

Notes

  • Triage focuses on classification and organization — no need to deep-dive into technical details of each Issue
  • Always confirm with the user before performing bulk updates to avoid unintended changes
  • If there are more than 50 Issues, consider processing in batches or filtering by a specific label
  • Use consistent labels to help contributors find Issues matching their interests
  • Check existing labels in the repository first — some projects may have custom label names

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.