updatelisted
Install: claude install-skill rube-de/cc-skills
# Update: Issue Audit & Cleanup
Audit open GitHub issues for staleness, drift, and hygiene problems. Categorize findings and execute approved remediations.
## Workflow
```text
1. Auth Check → 2. Detect Repo → 3. Fetch Issues → 4. Pass 1: Metadata Audit
→ 5. Pass 2: Codebase-Aware Audit → 6. Categorize → 7. Present Report
→ 8. Interactive Remediation → 9. Execute Actions → 10. Summary
```
### Step 1: Verify GitHub Auth
```bash
gh auth status
```
**On failure:** Stop and tell the user to run `gh auth login`.
### Step 2: Detect Repository
```bash
gh repo view --json nameWithOwner -q .nameWithOwner
```
**On failure:** Ask the user for the target repository (`owner/repo`).
### Step 3: Fetch Open Issues
```bash
gh issue list --state open --limit 100 --json number,title,body,labels,assignees,milestone,createdAt,updatedAt,author
```
**Edge case — no open issues:** Report "No open issues to audit" and stop.
**Edge case — 100+ issues:** Warn the user that results are capped at 100. Suggest filtering by label or milestone for larger backlogs.
### Step 4: Pass 1 — Metadata Audit
Check each issue for these problems:
| Check | Condition | Severity |
|-------|-----------|----------|
| **Stale** | No updates in 30+ days | Medium |
| **Ancient** | No updates in 90+ days | High |
| **Orphaned blocker** | References `Blocked by: #<number>` where the referenced issue is closed (see batch verification note below) | Medium |
| **Completed sub-tasks** | All `- [x]` checkboxes checke