use-context-reviewer-silence
Detection
| ID | Pattern | Fix |
|---|---|---|
| SF1 | catch (e) {} |
catch (e) { logger.error(e); throw } |
| SF1 | catch (e) { console.log(e) } |
Show user feedback + log context |
| SF2 | .then(fn) without .catch() |
Add .catch() or use try/catch |
| SF2 | async () => { await fn() } |
Wrap in try/catch, handle error |
| SF3 | No error UI states | Add error boundary, feedback component |
| SF4 | value ?? defaultValue silently |
Log when using fallback |
| SF4 | data?.nested?.value |
Check and report if unexpected null |
| SF5 | catch { return defaultValue } |
Log root cause before returning default |
| SF5 | config.x || fallback |
Validate config, warn on missing keys |
References
The detection patterns in detail live in ${CLAUDE_SKILL_DIR}/references/detection-patterns.md.