overcautious-check

Analyze recent git changes for error-swallowing patterns and suppressed failures.

5|1|Updated Oct 18, 2019
One-click install
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill overcautious-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: overcautious-check
Source: https://github.com/Marshall-Hallenbeck/dot_files/tree/main/.claude/skills/overcautious-check
Command: npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill overcautious-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies code patterns that mask failures, such as empty catch blocks or unauthorized fallbacks, which prevent bugs from surfacing and violate robust error-handling policies.

Core Features & Use Cases

  • Pattern Detection: Scans for silent error swallowing, unauthorized fallbacks, and test/lint suppression.
  • Severity Assessment: Categorizes findings into BLOCK, WARN, and INFO to prioritize critical security and stability issues.
  • Use Case: Use this during a code review to ensure that recent changes do not hide network failures or security bypasses behind graceful degradation.

Quick Start

Run the overcautious check command to scan your recent git changes for hidden error handling patterns.

Frequently Asked Questions about overcautious-check

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

FAQPage Schema
How do I detect silent error swallowing in my recent git changes?

To detect silent error swallowing in recent git changes, scan source code for empty catch blocks, unauthorized fallbacks, and suppressed test or lint failures. Categorize findings into BLOCK, WARN, and INFO to prioritize security and stability issues.

What is silent error swallowing and how does it affect code stability?

Silent error swallowing is the practice of masking failures through empty catch blocks or unauthorized fallbacks. It affects code stability by preventing bugs from surfacing, violating robust error-handling policies, and hiding network failures or security bypasses behind graceful degradation.

How do I check for empty catch blocks and unauthorized fallbacks during a code review?

To check for empty catch blocks and unauthorized fallbacks during a code review, analyze recent git changes for patterns that silence or hide failures. Ensure strict error propagation by performing full-file context analysis against project error handling rules.

Can I scan recent git commits for suppressed linting or test failures?

Yes, you can scan recent git commits for suppressed linting or test failures. The analysis targets recent changes to identify hidden error handling patterns, categorizing suppressed failures by severity to highlight critical security and stability issues.

Does this static analysis tool require project error handling rules to function?

Yes, this static analysis tool requires access to project error handling rules to function accurately. It uses these rules alongside full-file context analysis to identify unauthorized fallbacks and ensure strict error propagation across recent git changes.

When should I avoid using graceful degradation in error handling?

You should avoid using graceful degradation in error handling when it hides network failures or security bypasses. If recent git changes introduce unauthorized fallbacks that prevent bugs from surfacing, they violate robust error propagation policies and should be flagged.