detect-empty-catch

Detect empty catch blocks and swallowed exceptions across C#, TypeScript, Python, Java, and Go.

3|Updated May 29, 2026
One-click install
npx skills add https://github.com/anortham/miller --skill detect-empty-catch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detect-empty-catch
Source: https://github.com/anortham/miller/tree/main/.claude/skills/detect-empty-catch
Command: npx skills add https://github.com/anortham/miller --skill detect-empty-catch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill detects empty or swallow-exception catch blocks across languages, helping improve error handling.

Core Features & Use Cases

  • Semantic and pattern searches for empty catches
  • Language-specific idioms across C#, TS, Python, Java, Go
  • Inspect suspicious catches with symbol details

Quick Start

Scan codebase for empty or swallow-catch blocks and prompt for fixes.

Frequently Asked Questions about detect-empty-catch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect empty catch blocks in my codebase?

Empty catch blocks silently swallow exceptions, hiding errors. This Skill detects empty or exception-swallowing catch blocks across C#, TypeScript, JavaScript, Python, Java, and Go, surfacing silent failures and missing logging so you can add proper error handling and fix improper error propagation.

Can I scan multiple languages for swallowed exceptions?

Yes. This Skill performs semantic and pattern-based searches for empty catches and suspicious exception handling across C#, TypeScript, JavaScript, Python, Java, and Go in the same codebase, emitting a standardized scan report with findings and severity.

What's the best way to identify error-handling gaps in legacy code?

Pattern-based analysis identifies empty catches and swallowed exceptions that mask bugs. This Skill inspects try-catch patterns with symbol details and generates a standardized exception-handling report with severity levels and remediation guidance for legacy and modern code alike.

How do I know which catch blocks are problematic?

This Skill analyzes try-catch patterns to surface silent failures, missing logging, and improper error propagation, then emits a standardized report with findings, severity classifications, and remediation steps so you can prioritize fixes.

Does this work on mixed-language projects?

Yes. The Skill applies multi-language semantic and pattern-based analysis to detect empty and swallowing catches across C#, TypeScript, JavaScript, Python, Java, and Go simultaneously, making it suited for polyglot codebases.