Agent skill
reviewing-silent-failures
Silent failure detection patterns for frontend code. Triggers: silent failure, empty catch, エラーハンドリング, 握りつぶし, swallowed error.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/reviewing-silent-failures
SKILL.md
サイレント障害レビュー
検出
| ID | パターン | 修正 |
|---|---|---|
| SF1 | catch (e) {} |
catch (e) { logger.error(e); throw } |
| SF1 | catch (e) { console.log(e) } |
ユーザーフィードバック表示 + コンテキストログ |
| SF2 | .catch()なしの.then(fn) |
.catch() 追加またはtry/catch使用 |
| SF2 | async () => { await fn() } |
try/catchでラップ、エラー処理 |
| SF3 | エラーUI状態なし | Error Boundary、フィードバックコンポーネント |
| SF4 | サイレントな value ?? defaultValue |
フォールバック使用時にログ |
| SF4 | data?.nested?.value |
予期せぬnullをチェックして報告 |
参考
| トピック | ファイル |
|---|---|
| 検出 | references/detection-patterns.md |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?