Agent Skillswarpdotdev/oz-skills › github-issue-dedupe

github-issue-dedupe

GitHub

利用语义搜索和关键词匹配检测GitHub重复Issue,支持手动运行或自动化配置。

.agents/skills/github-issue-dedupe/SKILL.md warpdotdev/oz-skills

Trigger Scenarios

发现重复Issue 检查相似Issue 设置自动去重

Install

npx skills add warpdotdev/oz-skills --skill github-issue-dedupe -g -y
More Options

Non-standard path

npx skills add https://github.com/warpdotdev/oz-skills/tree/main/.agents/skills/github-issue-dedupe -g -y

Use without installing

npx skills use warpdotdev/oz-skills@github-issue-dedupe

指定 Agent (Claude Code)

npx skills add warpdotdev/oz-skills --skill github-issue-dedupe -a claude-code -g -y

安装 repo 全部 skill

npx skills add warpdotdev/oz-skills --all -g -y

预览 repo 内 skill

npx skills add warpdotdev/oz-skills --list

SKILL.md

Frontmatter
{
    "name": "github-issue-dedupe",
    "license": "MIT",
    "description": "Detect duplicate GitHub issues using semantic search and keyword matching. Use when asked to find duplicates, check for similar issues, or set up automated duplicate detection."
}

GitHub Duplicate Issue Detection

Find duplicate GitHub issues using multi-strategy search. Can be run manually or automated via GitHub Actions.

Workflow

1. Gather Issue Context

Extract key information from the target issue:

  • Issue number and title
  • Full body content
  • Error messages or stack traces
  • Keywords and technical terms
  • Symptoms or behavior descriptions

2. Search Strategy

Use gh to search for related issues using multiple strategies:

  • Keyword search from title and body
  • Search for similar error messages
  • Look for similar symptoms

3. Candidate Inspection

For each potential duplicate:

  • View full issue with gh issue view <number>
  • Compare:
    • Root cause (same underlying problem?)
    • Symptoms (identical behavior?)
    • Error messages (exact match or very similar?)
    • Affected components (same area of code?)

High confidence indicators:

  • Identical error messages
  • Same reproduction steps
  • Same root cause with different descriptions
  • One issue references the other

Low confidence (not duplicates):

  • Similar symptoms but different causes
  • Related but independent bugs
  • Same component but different behaviors

4. Report Findings

If duplicates found:

Post comment on target issue:

gh issue comment <number> --body "This is potentially a duplicate of #123 and #456."

Format rules:

  • Single duplicate: "This is potentially a duplicate of #123."
  • Two duplicates: "This is potentially a duplicate of #123 and #456."
  • Three+ duplicates: "This is potentially a duplicate of #123, #456, and #789."

Only comment if high confidence (90%+ certain). When uncertain, do nothing.

Examples

Example 1: Clear Duplicate

Target Issue #150:

Title: "Dropdown menu stays open on mobile Safari"
Body: Clicking menu items doesn't close dropdown on iOS

Search process:

gh issue list --search "dropdown mobile safari"
gh issue list --search "menu doesn't close"
gh issue view 87  # Found similar issue

Issue #87:

Title: "Mobile menu not closing after selection"
Body: On iOS Safari, menu stays open after clicking items

Determination: Duplicate

  • Same symptom (menu stays open)
  • Same platform (iOS Safari)
  • Same root cause

Example 2: Similar But Not Duplicate

Target Issue #200:

Title: "Form validation error on submit"
Error: "Cannot read property 'value' of null"

Search process:

gh issue list --search "form validation"
gh issue list --search "Cannot read property value null"
gh issue view 175

Issue #175:

Title: "Form submission fails"
Error: "Cannot read property 'email' of undefined"

Determination: Not duplicate

  • Different error messages
  • Different null references (value vs email)
  • Related area but different bugs

Example 3: Multiple Duplicates

Target Issue #300:

Title: "Build fails with 'module not found' error"
Error: Error: Cannot find module './config'

Search results:

  • Issue #250: Same error, same module
  • Issue #280: Same error, same module
  • Issue #290: Different module error (not duplicate)

Action:

gh issue comment 300 --body "This is potentially a duplicate of #250 and #280."

Version History

  • 6c08c49 Current 2026-07-24 16:31

Same Skill Collection

.agents/skills/analysis-artifacts/SKILL.md
.agents/skills/ci-fix/SKILL.md
.agents/skills/create-pull-request/SKILL.md
.agents/skills/dbt-model-index/SKILL.md
.agents/skills/docs-update/SKILL.md
.agents/skills/github-bug-report-triage/SKILL.md
.agents/skills/mcp-builder/SKILL.md
.agents/skills/scheduler/SKILL.md
.agents/skills/seo-aeo-audit/SKILL.md
.agents/skills/slack-qa-investigate/SKILL.md
.agents/skills/terraform-style-check/SKILL.md
.agents/skills/web-accessibility-audit/SKILL.md
.agents/skills/web-performance-audit/SKILL.md
.agents/skills/webapp-testing/SKILL.md

Metadata

Files
0
Version
6c08c49
Hash
27ba2736
Indexed
2026-07-24 16:31

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 23:39
浙ICP备14020137号-1 $mapa de visitantes$