gh-issuelisted
Install: claude install-skill NomadicDaddy/aidd
# GitHub Issue Fix
Fetch a GitHub issue by number, verify it's a real issue, and fix it if valid.
## Usage
```
gh-issue [issue-number]
```
- `[issue-number]` → GitHub issue number. If omitted, infer one unambiguous issue reference from
the branch, commits, or current pull request; otherwise return a usage error.
## Instructions
1. **Resolve the issue number**
- Provide the issue number as an argument to this skill
- If no number is provided, infer a single issue reference from the branch, commits, or current
pull request; otherwise return a usage error
2. **Fetch the GitHub issue**
- Determine the current project path (check if there's a current project context)
- Verify the project has a GitHub remote:
```bash
git remote get-url origin
```
- Fetch the issue details using GitHub CLI:
```bash
gh issue view <ISSUE_NUMBER> --json number,title,state,author,createdAt,labels,url,body,assignees
```
- If the command fails, report the error and stop
3. **Verify the issue is real and valid**
- Check that the issue exists (not 404)
- Check the issue state:
- If **closed**: Verify whether the reported request remains actionable; implement it when
current and otherwise return a no-action result
- If **open**: Proceed with validation
- Review the issue content:
- Read the title and body to understand what needs to be fixed
- Check labels for context