skills/github-review-check-duplicate/SKILL.md
Check if a GitHub issue is a duplicate and find related issues and PRs.
npx skillsauth add 2ykwang/agent-skills github-review-check-duplicateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze an issue to determine if it is a duplicate and find related issues and PRs.
$ARGUMENTS is an issue number or GitHub URL.
https://github.com/owner/repo/issues/749): extract owner/repo, use --repo flaggh repo view --json nameWithOwner -q .nameWithOwnergh issue view $ARGUMENTS --json number,title,body,labels,author,createdAt,comments
A single search is insufficient. Use multiple strategies:
gh search issues "<original keywords>" --repo {owner/repo} --limit 20
gh search issues "<synonym keywords>" --repo {owner/repo} --limit 20
gh search issues "<error code or filename>" --repo {owner/repo} --limit 15
Examples:
gh search prs "<keywords>" --repo {owner/repo} --limit 15
gh issue list --label "<related label>" --state all --limit 20 --json number,title,state --repo {owner/repo}
gh api repos/{owner}/{repo}/issues/{issue-number}/timeline --jq '.[] | select(.event == "cross-referenced")'
For the top 5-10 similar issues from search results, fetch details:
gh issue view <number> --repo {owner/repo} --json number,title,body,state,comments
Mark as duplicate if any of the following apply:
| Criterion | Example | |-----------|---------| | Same bug/error | Same error message, same reproduction steps | | Same feature request | Different wording but identical desired functionality | | Same question | Asked differently but seeking the same answer | | Same root cause | Different symptoms but same underlying cause |
Mark as not duplicate if:
Duplicate Found
Original: #123 - "title" (URL)
State: Open / Closed
Evidence:
- Same error message "XXX" reported
- Identical reproduction steps (do A then B)
- Same component/file involved
Recommended Action:
- Add duplicate label
- Consider closing this issue
Related Items Found
Related Issues:
- #456 - "title" (URL) — different bug in the same module
- #789 - "title" (URL) — similar feature request, different scope
Related PRs:
- #101 - "title" (URL) — Open, fix in progress for this issue
- #102 - "title" (URL) — Merged, relevant prior fix
No Duplicates Found
Search Summary:
- Issues searched: N
- Issues examined in detail: M
- Assessment: appears to be a new issue
Suggested labels: bug / feature-request / question / etc.
development
Render an interactive HTML board for the user to pick among multiple comparable options side-by-side at once — engineering trade-offs, copy audits, action-item triage, architecture decisions, policy calls. Returns the picks (and optional hold/note flags) as a JSON file the agent can apply.
development
Render an interactive HTML board for the user to pick among multiple comparable options side-by-side at once — engineering trade-offs, copy audits, action-item triage, architecture decisions, policy calls. Returns the picks (and optional hold/note flags) as a JSON file the agent can apply.
data-ai
File a GitHub issue maintainers can actually act on — verified, not a duplicate, follows repo conventions (template/label/prefix), and previewed before publishing. Use when reporting a known problem.
data-ai
File a GitHub issue maintainers can actually act on — verified, not a duplicate, follows repo conventions (template/label/prefix), and previewed before publishing. Use when reporting a known problem.