Investigate a GitHub issue, fact-check it, and optionally execute
Investigates GitHub issues, verifies validity, and offers to implement fixes.
/plugin marketplace add bengous/claude-code-plugins/plugin install git-tools@bengous-pluginsUsage: /handle <issue-number>
Investigate a GitHub issue, verify it's still valid, and offer to execute it.
Do not speculate about code you haven't read. If the issue mentions a file, function, or pattern—read it before making any claims.
gh issue view $1 --json number,title,body,state,author,createdAt,labels,comments
If the issue doesn't exist or is closed, report that and stop.
From the issue body, identify:
For each code reference extracted above:
Glob for file paths, Grep for function/error namesIf the issue mentions no specific files, search for keywords from the problem description.
Issues become stale. Code changes. PRs merge without linking. Verify before investing effort.
Check 1: Does the problem exist?
Check 2: Already fixed?
git log --oneline -20 -- <relevant-file>
Look for commits that address this. Check if related PRs were merged.
Check 3: Outdated?
If INVALID or OUTDATED:
## Issue #N: [Title]
**Status: INVALID** (or OUTDATED)
**Why:** [One sentence explanation]
**Evidence:**
- [Quote from code, commit hash, or specific finding]
**Recommendation:** Close with reason: [completed | not_planned]
Offer to close it with an appropriate comment.
If VALID:
## Issue #N: [Title]
**Status: VALID**
**Problem:** [One sentence summary]
**Confirmed in:**
- `path/to/file.ts:123` — [what you found]
**Root cause:** [Brief explanation of why this happens]
If valid, ask:
Issue confirmed. Enter plan mode to implement a fix?
If yes, use EnterPlanMode. If no, done.