silent-failure-hunter
Find silent failures and error swallowing in code. Use when reviewing error handling or auditing catch blocks.
Why use this skill?
Identify swallowed errors, inadequate catch blocks, and dangerous silent fallbacks in your code with the OpenClaw silent-failure-hunter agent. Improve system reliability today.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anton-abyzov/sw-silent-failure-hunterWhat This Skill Does
The silent-failure-hunter is an advanced code auditing agent designed to identify, analyze, and remediate error handling anti-patterns within your codebase. In production environments, silent failures represent a significant technical debt that leads to data inconsistencies, corrupted states, and frustrated users. This skill automates the reconnaissance of your try-catch blocks and promise catch handlers, systematically enforcing five rigorous safety rules. It moves beyond simple syntax checking by evaluating whether your error handling strategies provide sufficient visibility to developers and appropriate context to the end-user. By detecting swallowed errors, console-only logging, and dangerous silent fallbacks, this agent ensures your application's resilience is robust and observable.
Installation
To integrate the silent-failure-hunter into your OpenClaw workflow, execute the following command in your terminal within your project root:
clawhub install openclaw/skills/skills/anton-abyzov/sw-silent-failure-hunter
Ensure that you have sufficient permissions to allow the agent to scan your source directory.
Use Cases
- Production Audits: Use this agent before major releases to identify hidden failure points that could cause outages.
- Legacy Code Refactoring: When touching legacy modules, use this tool to uncover "buried" errors that have been masked by empty catch blocks for years.
- PR Reviews: Run this agent against feature branches to prevent the introduction of new, non-actionable error handling code.
- Incident Investigation: If users report inconsistent data, use this tool to hunt for catch blocks that might be returning null or stale data silently.
Example Prompts
- "Analyze the authentication service for silent failures and suggest improvements for the error handling in our catch blocks."
- "I suspect we have some swallowed errors in the payment processing module. Can you run the silent-failure-hunter on /src/services/payments and report any high-priority issues?"
- "Review the recently modified database controllers. Ensure that no catch blocks are masking potential network timeouts or constraint violations."
Tips & Limitations
- Context is King: The agent performs best when it has access to the full repository. Ensure file-read permissions are granted.
- False Positives: Sometimes a silent catch is intentional (e.g., ignoring a specific, non-critical file system error). You may need to instruct the agent to ignore specific files or patterns after its initial sweep.
- Manual Oversight: While the agent is excellent at finding where problems exist, the fix often requires understanding business logic. Always review the agent's proposed remediation code before applying it to your codebase.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anton-abyzov-sw-silent-failure-hunter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
network-engineer
Cloud network architect for VPC design, service mesh, zero-trust networking, load balancers, and CDN optimization. Use for network troubleshooting or connectivity issues.
jira-multi-project-mapper
Expert in mapping SpecWeave specs to multiple JIRA projects with intelligent project detection and cross-project coordination. Use when syncing to multiple JIRA projects (project-per-team, component-based), or managing bidirectional sync across team boundaries.
helm-chart-scaffolding
Design, organize, and manage Helm charts for templating and packaging Kubernetes applications with reusable configurations. Use when creating Helm charts, packaging Kubernetes applications, or implementing templated deployments.
performance-optimization
React Native performance with Hermes V1, FlashList, expo-image v2, concurrent rendering. Use for slow app, memory leaks, or FPS issues.
release-strategy-advisor
Release strategy advisor - detects brownfield patterns (tags, CI/CD, changelogs), recommends versioning strategy based on architecture. Creates release-strategy.md.