Error Handling Auditor

Installation
SKILL.md

Error Handling Auditor

Fix unsafe error handling:

  1. Find try! force unwraps: Replace with do-catch + fallback
  2. Find empty catch {}: Add AppLog.error("Context: \(error)")
  3. Find silent try?: Add logging for important failures

Patterns:

// Fix try!
do {
    result = try riskyOperation()
} catch {
    AppLog.error("Operation failed: \(error)")
    result = fallbackValue
}

// Fix empty catch
Related skills
Installs
GitHub Stars
10
First Seen