Find Bugs Skill
Hunt for bugs in: {{.paths}}
Quick Start
bash
# Get high-risk files (threshold 0.8 = high risk) omen -f json defect --risk-threshold 0.8 # Find hotspots omen -f json hotspot --days 30 # Check for explicit markers omen -f json satd | jq '.items[] | select(.category == "defect")'
Priority Order
- •Defect probability > 0.8: Investigate first
- •Hotspot score > 0.5: Review complex logic
- •BUG/FIXME markers: Known issues
- •Temporal coupling: Check related files
In Each File
- •Look for functions with cognitive > 20
- •Check error handling paths
- •Review boundary conditions