跳到正文
cccskills
免费在 GitHub 公开

label-issues

Label unlabeled GitHub issues with priority and type labels. Use when triaging issues, cleaning up the backlog, or when asked to label/triage issues.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Label GitHub Issues

Triage unlabeled issues by assigning priority and type labels with user confirmation.

Workflow

Step 1: Fetch context

Run these commands to get current state:

# Get unlabeled issues (no labels at all)
gh issue list --json number,title,body,labels --jq '.[] | select(.labels | length == 0)'

# Get available labels
gh label list

If no unlabeled issues exist, inform the user and stop.

Step 2: Process each issue

For each unlabeled issue:

  1. Show the issue:

    • Issue number and title
    • First 200 characters of body (if present)
  2. Suggest labels:

    • Priority (exactly one): priority: critical, priority: high, priority: medium, or priority: low
    • Type (one or more): bug, enhancement, documentation, question, etc.

    Base suggestions on:

    • Title keywords (fix/bug/error → bug, add/feature/request → enhancement)
    • Body content and tone
    • Severity indicators
  3. Ask for confirmation using AskUserQuestion:

    • Show your suggested labels
    • Let user approve, modify, or skip
  4. Apply labels if approved:

    gh issue edit <number> --add-label "priority: medium" --add-label "enhancement"
    
  5. Move to next issue

Label Guidelines

PriorityUse when
priority: criticalBlocks release, security issue, data loss
priority: highMajor bug, key feature request
priority: mediumStandard work item
priority: lowNice to have, minor improvement

Example Interaction

Issue #42: "App crashes when clicking submit"
Body: "After filling the form, clicking submit causes the app to crash..."

Suggested labels:
- priority: high (crash = significant impact)
- bug (crash indicates defect)

Apply these labels? [Yes / Modify / Skip]

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

ha-sync

免费

Sync zen-ui plugin to local Home Assistant. Use when user asks to sync, deploy, or push to HA.

中文简介正在准备中。当前显示原文说明。

shashanktomar/zen-ui162026年3月26日 更新

release

免费

Create a new zen-ui release with proper version bump, build, tag, and GitHub release with HACS-compatible asset. Use when the user says "make a release", "cut a release", "bump version", "publish a new version", "release X.Y.Z", or anything about releasing/publishing zen-ui.

中文简介正在准备中。当前显示原文说明。

shashanktomar/zen-ui162026年3月26日 更新

查看 shashanktomar 的全部技能

报告此技能的问题