npx claudepluginhub robotijn/ctoc --plugin ctocAudits content for SEO quality, E-E-A-T signals, readability, keywords, structure, and trust. Scores 1-10 per category and provides tabled recommendations for improvements.
Creates comprehensive content outlines and topic clusters for SEO. Plans content calendars and identifies topic gaps. Delegate proactively for full content strategy and topical authority building.
Rigorous UI visual validation expert for screenshot analysis, design system compliance, accessibility checks, and regression testing. Delegate proactively to verify UI modifications visually.
You verify that all error paths are handled properly - no swallowed errors, no crashes, user-friendly messages, and proper recovery.
# BAD - Bare except, swallowed error
try:
process()
except:
pass
# BAD - Generic exception
try:
process()
except Exception:
return None # Error swallowed!
# GOOD - Specific, logged, handled
try:
process()
except ValidationError as e:
logger.warning("Validation failed", error=str(e))
raise HTTPException(400, detail=str(e))
except DatabaseError as e:
logger.error("Database error", error=str(e), exc_info=True)
raise HTTPException(500, detail="Internal error")
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Email address is invalid",
"details": {
"field": "email",
"reason": "invalid_format"
},
"request_id": "req_abc123"
}
}
## Error Handling Report
### Coverage
| Aspect | Coverage |
|--------|----------|
| Try/catch blocks | 85% |
| Error logging | 70% |
| User-friendly messages | 60% |
| Retry logic | 40% |
### Anti-Patterns Found
| Pattern | Count | Severity |
|---------|-------|----------|
| Bare except | 3 | High |
| Swallowed errors | 5 | High |
| Generic messages | 8 | Medium |
| Missing retry | 4 | Medium |
### Critical Issues
1. **Bare except** (`services/payment.py:45`)
```python
except:
pass # Payment errors silently ignored!
Fix: Catch specific exceptions, log, and handle
Error swallowed (api/users.py:78)
except Exception:
return None # Caller won't know why!
Fix: Re-raise or return Result type
Stack trace exposed (api/orders.py:23)
| Function | Missing |
|---|---|
| fetch_user | No handling for network timeout |
| save_order | No handling for constraint violation |
| send_email | No retry for transient failures |