What problem does it solve?
This skill hunts code that silently replaces missing or bad data with defaults or swallows errors, which creates plausible-but-wrong outcomes in data-heavy systems and financial calculations. It helps teams locate hidden error suppression and fail-soft anti-patterns so critical data paths fail fast and loud instead of corrupting decisions.
Core Features & Use Cases
- Focused codebase scanning: Guides parallel search agents to scan directories (default: src/) for patterns like fillna/default dict.get, falsy-default chains, broad exception handlers, and try/except fallbacks.
- Context-aware classification: Prioritizes findings into P0–P3 severity tiers based on whether the fallback affects scoring, pricing, portfolio valuation, or only display code.
- Actionable reporting & prevention: Produces file+line snippets, hidden-effect analysis, decision-path flags, and concrete prevention suggestions such as Semgrep rules and code-review gates.
- Use case: Audit a trading or risk-calculation service to find
.fillna(0) or broad excepts that could silently change portfolio valuations or risk signals.
Quick Start
Scan the src/ tree for silent fallbacks and generate a prioritized P0–P3 remediation report.