← スキル一覧に戻る

triage
by xiaoju111a
AI code review GitHub Action powered by Kimi (Moonshot AI)
⭐ 5🍴 0📅 2026年1月21日
SKILL.md
name: triage description: Auto-triage issues by classifying type, priority, and suggesting labels version: 1.0.0 author: xiaoju111a triggers:
- triage
- classify
- categorize
Issue Triage Skill
Automatically classify and triage GitHub issues to help maintainers quickly process incoming issues.
Purpose
- Classify issue type (bug, feature, question, docs, etc.)
- Assess priority based on impact and urgency
- Suggest appropriate labels from repository's label set
- Provide actionable recommendations for maintainers
Issue Type Classification
| Type | Description | Signals |
|---|---|---|
bug | Something isn't working | "error", "crash", "not working", "broken", "fails", stack traces, error messages |
feature | New functionality request | "would be nice", "add support", "implement", "request", "new feature" |
enhancement | Improvement to existing feature | "improve", "better", "enhance", "upgrade existing" |
question | Help or clarification needed | "how to", "is it possible", "can I", "help", "?", "wondering" |
documentation | Docs improvements | "documentation", "readme", "example", "typo", ".md files" |
help wanted | Needs community help | Complex issues, good for contribution |
good first issue | Suitable for newcomers | Well-defined, small scope, good docs |
Priority Assessment
| Priority | Criteria | Examples |
|---|---|---|
| Critical (P0) | System down, security vulnerability, data loss | Security breach, complete service outage, data corruption |
| High (P1) | Major feature broken, significant user impact | Core feature not working, affects many users |
| Medium (P2) | Important but not urgent, workarounds exist | Non-critical bugs, moderate improvements |
| Low (P3) | Minor issues, nice-to-have | Cosmetic issues, minor enhancements, edge cases |
Priority Signals
Critical/High Priority Signals
- Security-related keywords: "vulnerability", "CVE", "security", "exploit", "injection"
- Data issues: "data loss", "corruption", "deleted", "missing data"
- Availability: "down", "unavailable", "500 error", "timeout"
- Scale: "all users", "everyone", "production"
Low Priority Signals
- Cosmetic: "typo", "formatting", "color", "alignment"
- Edge cases: "rare", "edge case", "specific scenario"
- Nice-to-have: "would be nice", "minor", "small improvement"
Analysis Guidelines
- Read the full issue - Title and body together provide context
- Check for reproduction steps - Well-documented bugs are easier to assess
- Consider the author - First-time contributors may phrase things differently
- Look at linked issues/PRs - May provide additional context
- Assess impact scope - How many users are affected?
Codebase Analysis
This skill includes a scan_codebase script that automatically:
- Extracts keywords from issue title and body
- Searches the codebase for relevant files
- Returns code snippets for context
How It Works
- Identifies function names, file paths, and technical terms in the issue
- Searches source files (
.py,.js,.ts,.go, etc.) for matches - Provides relevant code context to improve classification accuracy
Benefits
- Confirms if mentioned features/files exist in codebase
- Helps identify which components are affected
- Increases confidence in classification
Output Format
{
"type": "bug|feature|enhancement|question|documentation|other",
"priority": "critical|high|medium|low",
"labels": ["label1", "label2", "label3"],
"confidence": "high|medium|low",
"summary": "One-line summary of the issue",
"reason": "Brief explanation of classification reasoning",
"related_files": ["src/auth.py", "src/login.js"]
}
Rules
- Be conservative - Only suggest labels you're confident about
- Maximum 4 labels - Don't over-label issues
- Use repo labels - Only suggest labels that exist in the repository
- Acknowledge uncertainty - If unsure, set confidence to "low" and explain
- Consider context - Repository type matters (library vs app vs docs)
Special Cases
Needs More Information
If the issue lacks critical details:
- Set confidence to "low"
- Note what information is missing in the reason
- Consider suggesting "needs-info" or "needs-triage" label if available
Duplicates
If the issue appears to be a duplicate:
- Note in the reason
- Suggest "duplicate" label if available
- Don't assign other type labels
Multi-Type Issues
If an issue contains both a bug report and feature request:
- Classify based on the primary concern
- Note the secondary aspect in the reason
- Recommend splitting if appropriate
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です