360 Secure SkillHub
360 安全技能中心

issue-review

该 Skill 通过 gh 命令行读取指定仓库最近的未关闭 issue,逐条结合源码与测试判断问题是否成立、是否符合设计原则,为没有标签的 issue 补打标签,并检索相似 issue 检测重复,最后输出每条 issue 的结论与汇总表。

分类:开发
toss
热度 0.00
最近更新 2026-11-25 11:51:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add toss/es-toolkit/issue-review
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
issue-review
description
Review recent issues with labeling, context analysis, and duplicate detection
argument-hint
[count=10]
allowed-tools
Bash, Read, Grep, Glob, Skill

Issue Review

Fetch recent issues, label unlabeled ones with context, detect duplicates.

Input

$ARGUMENTS — Number of issues (default: 10)

Examples:

  • /issue-review — 10 most recent open issues
  • /issue-review 20 — 20 issues

Workflow

1. Fetch recent issues

gh issue list --repo toss/es-toolkit --state open --limit {count} --json number,title,author,labels,createdAt

2. Deep review per issue

For each issue:

a. Read issue content

gh issue view {number} --repo toss/es-toolkit --json title,body,labels,comments

b. Read related source code

If the issue mentions a specific function:

  • Read the function source to understand current behavior
  • Read existing tests to see what's covered
  • Check if there's already a compat variant

c. Provide context

  • Bug reports: Is the reported behavior actually a bug? Or is it by design? Does lodash behave differently?
  • Feature requests: Does this align with design principles? Is it replaceable by modern JS? Is it TC39 Stage 3+?
  • Type issues: Read the current type signature, assess the proposed change
  • Docs: Check what's currently documented vs what's being requested

d. Label if unlabeled

If no labels exist, run /issue-label {number}.

3. Detect duplicates

gh issue list --repo toss/es-toolkit --state all --search "{function name}" --limit 10 --json number,title,state,labels

Group by:

  • Same function name in title
  • Similar error descriptions
  • Same feature being requested

4. Report per issue

### Issue #{number} — {title}

**Label**: {existing or newly applied}
**Context**: {what the function currently does, relevant code snippet}
**Analysis**: {is the request valid? design principle alignment?}
**Duplicates**: {similar issues if any}
**Action**: {label applied / needs discussion / close as wontfix / link to existing PR}

5. Summary

## Issue Review — {date}

| # | Title | Label | Duplicate? | Action |
|---|-------|-------|------------|--------|

- {N} issues reviewed
- {N} newly labeled
- {N} potential duplicates
- {N} actionable bugs
- {N} feature requests