.agents/skills/issue-review/SKILL.md
Perform iterative issue tracker review using Rule of 5 methodology. Reviews completeness, scope, dependencies, plan alignment, and executability.
npx skillsauth add charly-vibes/wai issue-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Perform thorough issue review using the Rule of 5 - iterative refinement until convergence.
For Beads:
bd list # All issues
bd ready # Unblocked issues
bd graph # Dependency visualization
bd show <id> # Individual issue details
bd dep tree # Dependency tree
bd dep cycles # Check for circular dependencies
For GitHub Issues:
gh issue list --label "needs-review" --json number,title,body,labels
gh issue view <number>
For other systems:
Perform 5 passes, each focusing on different aspects. After each pass (starting with pass 2), check for convergence.
Focus on:
Output format:
PASS 1: Completeness & Clarity
Issues Found:
[CLRT-001] [CRITICAL|HIGH|MEDIUM|LOW] - Issue ID/Number
Title: [Issue title]
Description: [What's unclear or incomplete]
Evidence: [Why this is a problem]
Recommendation: [How to fix - specific command or action]
[CLRT-002] ...
What to look for:
For Beads:
# Fix issues found
bd edit <id> description # Update description
bd update <id> --title="New clear title"
For GitHub:
gh issue edit <number> --title "New title"
gh issue edit <number> --body "New description"
Focus on:
Prefix: SCOPE-001, SCOPE-002, etc.
What to look for:
For Beads:
# Split large issues
bd create --title="Phase 1: ..." --description="..."
bd create --title="Phase 2: ..." --description="..."
bd dep add phase2-id phase1-id # phase2 depends on phase1
# Merge small issues
bd close small-issue-1 --reason="merged into main-issue"
bd update main-issue --description="Now includes work from small-issue-1"
Focus on:
Prefix: DEP-001, DEP-002, etc.
What to look for:
For Beads:
# Check for problems
bd dep cycles # Find circular dependencies
bd dep tree # Visualize dependencies
# Fix dependencies
bd dep add <blocked-id> <blocker-id> # Add missing dependency
bd dep remove <blocked-id> <blocker-id> # Remove incorrect dependency
For GitHub:
# Use labels and issue references
gh issue edit <number> --add-label "blocked-by-#123"
# Or reference in description: "Depends on #123"
Focus on:
Prefix: ALIGN-001, ALIGN-002, etc.
What to look for:
For Beads:
# Add plan reference
bd update <id> --description="...
Ref: plans/2026-01-12-feature.md#phase-2"
For GitHub:
gh issue edit <number> --body "...
Related Plan: `plans/2026-01-12-feature.md#phase-2`"
Focus on:
Prefix: EXEC-001, EXEC-002, etc.
What to look for:
After each pass (starting with pass 2), report:
Convergence Check After Pass [N]:
1. New CRITICAL issues: [count]
2. Total new issues this pass: [count]
3. Total new issues previous pass: [count]
4. Estimated false positive rate: [percentage]
Status: [CONVERGED | ITERATE | NEEDS_HUMAN]
Convergence criteria:
If CONVERGED before Pass 5: Stop and report final findings.
After convergence or completing all passes:
## Issue Tracker Review Final Report
**System:** [Beads/GitHub/Linear/Jira]
**Scope:** [All issues / Milestone X / Labels Y]
### Summary
Total Issues Reviewed: [count]
Issues Found by Severity:
- CRITICAL: [count] - Must fix before work starts
- HIGH: [count] - Should fix before work starts
- MEDIUM: [count] - Consider addressing
- LOW: [count] - Nice to have
Convergence: Pass [N]
### Top 3 Most Critical Findings
1. [DEP-001] Circular dependency detected
Issues: #42 → #43 → #44 → #42
Impact: Cannot start any of these issues
Fix: `bd dep remove 42 44` to break cycle
2. [SCOPE-002] Issue too large to complete
Issue: #38 "Implement authentication system"
Impact: Unmanageable scope, blocks other work
Fix: Split into 5 issues for each plan phase
3. [CLRT-003] Missing implementation details
Issue: #29 "Update API"
Impact: Cannot implement without more info
Fix: Add file paths, endpoints, and success criteria
### Recommended Actions
Provide specific commands for fixes:
**Beads Commands:**
```bash
# Fix circular dependency
bd dep remove 42 44
# Split large issue
bd create --title="Phase 1: Auth tokens" --description="..."
bd create --title="Phase 2: Auth middleware" --description="..."
bd dep add phase2-id phase1-id
bd close 38 --reason="split into phase issues"
# Update missing details
bd edit 29 description
# Then add: Files: api/routes.ts, api/handlers.ts; Tests: api/routes.test.ts
GitHub Commands:
gh issue edit 29 --body "...
Files to change:
- api/routes.ts
- api/handlers.ts
- api/routes.test.ts
Success criteria:
- [ ] Tests pass
- [ ] Endpoints return correct status codes"
[READY_TO_WORK | NEEDS_UPDATES | NEEDS_REPLANNING]
Rationale: [1-2 sentences explaining the verdict]
## Rules
1. **Reference specific issues** - Use issue IDs/numbers precisely
2. **Provide actionable commands** - Show exact commands to fix issues
3. **Check actual content** - Don't assume, verify with issue details
4. **Prioritize correctly**:
- CRITICAL: Blocks all work (circular deps, missing info)
- HIGH: Blocks specific work or causes confusion
- MEDIUM: Could be clearer but workable
- LOW: Minor improvements
5. **If converged before pass 5** - Stop and report
testing
Compare original and distilled prompts to verify the distillation is faithful and lossless. Checks completeness, accuracy, and appropriate conciseness.
development
Implement features following Test-Driven Development methodology. Red-Green-Refactor cycle with phased approach and verification at each step.
development
Orchestrate multi-agent code review with three waves - parallel analysis, cross-validation, and convergence check. Simulates specialist reviewers and synthesizes findings.
development
Apply Steve Yegge's Rule of 5 iterative review to any artifact - code, plans, research, issues, specs, or documents. Five stages from draft through excellence.