Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Triage Issues

ASecurity

Classify and label incoming GitHub issues by type, component, platform, provider, urgency, and importance.

10 stars
0 votes
0 copies
0 views
Added 10/6/2026
developmentgobashgitapi

Works with

cliapi

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add tomzx/agents --skill triage-issues --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Triage Issues?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Triage Issues
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tomzx-triage-issues/badge)](https://www.skillsdirectory.com/skills/tomzx-triage-issues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: triage-issues
description: Classify and label incoming GitHub issues by type, component, platform, provider, urgency, and importance.
allowed-tools: Bash(gh:*, ghx:*, ~/.agents/scripts/get-env:*), Read, Write
argument-hint: "[repository]"
---

# Triage Issues

Lists all open, unlabeled issues in a GitHub repository and delegates each one to `triage-issue` for classification.
`triage-issue` owns all per-issue work: setup (permissions, label catalog, issue types, Priority field), classification across all dimensions, area-label creation, label/type/priority application, duplicate detection, and clarification comments.

Use this skill for batch triage of a backlog. For event-driven triage of a single issue (e.g., on issue open), invoke `/triage-issue <number> [repository]` directly without this orchestrator.

## Prerequisites

- Apply the shared SDLC conventions in `skills/sdlc/references/shared.md`.
- If no argument is provided, operate on `$REPO`.
- `gh` CLI authenticated with write access to the target repository
- Repository in `owner/repo` format (`$1`), or omit to use the repository in the current working directory
- Attribution footers on every comment posted to GitHub are handled inside `triage-issue` (per `skills/github-post-attribution/SKILL.md`)

## Workflow

```
List open issues via ghx --json
             |
             v
Filter: exclude issues with area:* labels
(untriaged = no area label applied)
             |
             v
For each untriaged issue (newest first):
  Delegate to /triage-issue <number> <repo>
             |
             v
Aggregate per-issue summaries
             |
             v
Output combined triage summary
```

## Steps

1. List open issues that need triage (those without an `area:` label are considered untriaged), sorted by creation date descending (newest first):
   ```
   ghx issue list [--repo $1] --json | jq '[.[] | select(([.labels // [] | .[] | .name // "" | startswith("area:")] | any | not))] | sort_by(.createdAt) | reverse'
   ```
   This filters out issues that already have at least one `area:` label, as those are considered triaged. Process issues from newest to oldest so that recent issues get triaged first, reflecting current state and receiving timely maintainer attention.
2. For each issue returned (processing in creation-date order, newest first), invoke the singular skill:
   ```
   /triage-issue <number> [$1]
   ```
   `triage-issue` performs the full per-issue workflow against the given issue: repo setup (visibility, permissions, label catalog, issue types, Priority field), classification across all dimensions, area-label creation when needed, label/type/priority application, duplicate detection against the full issue corpus, and clarification comments. Each invocation is self-contained and idempotent.
3. Collect each invocation's single-issue triage summary row and assemble them into the combined summary table below. If no untriaged issues were found, output an empty summary stating that.

## Output Format

```markdown
## Triage Summary

| Issue | Title | Type | Area | Platform | Provider | Severity | Repro | Priority | Duplicate | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| #42 | Login crash on mobile | bug | area:ui | platform:ios | - | - | has-repro | Urgent | - | Labeled, type set, priority set |
| #43 | Files deleted after update | bug | area:core | platform:macos | - | data-loss, regression | has-repro | Urgent | - | Labeled, type set, priority set |
| #44 | Add dark mode | feature | area:ui | - | - | - | - | Medium | - | Labeled, type set, priority set |
| #45 | Bedrock request timeout | bug | area:api | - | api:bedrock | - | has-repro | High | - | Labeled, type set, priority set |
| #46 | Something broke | bug | - | platform:windows | - | - | needs-repro | - | - | needs-info, needs-repro applied, comment posted |
| #47 | Login crash on iOS | bug | area:ui | platform:ios | - | - | has-repro | Urgent | #42 | Duplicate label applied, comment posted |
```

Each row corresponds to one `/triage-issue` invocation's output.

## Example Usage

**Scenario 1: Repository with a backlog of unlabeled issues**
```
/triage-issues owner/myrepo
```
Lists all open untriaged issues and delegates each to `/triage-issue`, which classifies and applies type + area + platform + provider + urgency + importance labels.

**Scenario 2: Single new issue (event-driven, no orchestrator)**
```
/triage-issue 42 owner/myrepo
```
Triages one specific issue directly. Use this from webhook-triggered flows, GitHub Actions on `issues` events, or other skills that need per-issue triage without scanning the whole backlog.

## Notes

- The label catalog is rebuilt by each `/triage-issue` invocation. In the previous integrated flow, newly created `area:*` labels were cached for reuse within the same run; that intra-run caching is gone in the delegated model. `gh label list` is cheap and the impact is negligible.
- Duplicate detection inside `triage-issue` still fetches the full open + closed issue corpus for comparison, so the per-issue cost is the same whether triaging one issue or many.
- If the orchestrator's `ghx issue list` call returns a very large backlog, consider invoking `/triage-issue` for the most recent N issues first and reporting the remainder as "deferred" rather than processing hundreds of issues in a single run.

Attribution

tomzxtomzx
View sourceSee grades on GitHubMore from tomzx →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

286712 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Writing Plans

Use when you have a spec or requirements for a multi-step task, before touching code

2927051 votes
View all in development →