skills/reviewing-silent-failures/SKILL.md
Silent failure detection. Use when: silent failure, empty catch, エラーハンドリング, 握りつぶし, swallowed error. Do NOT use for security (reviewing-security), readability (reviewing-readability), or type safety (reviewing-type-safety).
npx skillsauth add thkt/dotclaude reviewing-silent-failuresInstall 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.
| 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 |
| Topic | File |
| --------- | ------------------------------------------------------ |
| Detection | ${CLAUDE_SKILL_DIR}/references/detection-patterns.md |
documentation
Generates and updates .claude/OUTCOME.md interactively. When the file is absent or empty (no Behavior / all sections TBD), collects content via AskUserQuestion and writes the stub; when present, shows the current state and applies updates.
development
Judge a SKILL.md against craft axes (single responsibility, description distinctiveness, imperative voice, verifiable completion, calibration, progressive disclosure) and apply the fixes the audit surfaces. Do not use for format-presence-only checks (use reviewer-prompt) or reproducibility loops (use /tuning).
tools
Internal helper for /think Step 11. Renders SOW.md + Spec.md as an integrated Astro view and returns a dev server URL.
development
Extract repository spec while detecting bugs, spec gaps, and consistency drift via dual-purpose documentation. OUTCOME.md-axis question-driven exploration with ephemeral output. Do NOT use for code review (use /audit or /polish), feature implementation (use /code), planning only (use /think), or single-bug fix (use /fix).