overlap-check
بواسطة semmyt
Coding Agents & IDEsموجز
Check for existing issues and PRs before creating new ones.
الوصف
ما الذي تفعله هذه المهارة
Checks for existing issues and PRs before creating a new one. Searches the target repo using keyword queries and shows matches so the agent can decide whether to proceed or comment on an existing thread instead.
Runs the duplicate check automatically before gh issue create or gh pr create, so the agent never needs to be reminded to look first.
متى تستخدمها
- Avoiding duplicate bug reports on a shared open source repo
- Checking if a feature request already exists before filing
- Finding related PRs before opening a new fix
- Verifying a patch hasn't already been submitted upstream
- Preventing redundant issue threads after a release
مثال على سير العمل
User asks: 'File a bug report for the clipboard paste issue in WSL2'
- 1
Identifies the target repo with gh repo view --json nameWithOwner
- 2
Extracts keywords: clipboard paste WSL2
- 3
Runs gh search issues and gh search prs with those keywords, limit 5 each
- 4
Reads matching thread titles and comment counts to evaluate relevance
- 5
Reports found duplicates to the user and asks whether to proceed or comment on an existing thread
Two related open issues found; user chooses to add a comment to #13738 instead of opening a new one
المتطلبات
- GitHub account (for gh CLI authentication)
- GitHub CLI (gh) installed and authenticated
التثبيت
clawhub install semmyt/overlap-checkشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.