cleanup-defensive
OfficialEliminate useless try/catch blocks and defensive guards for better error handling.
Authorraintree-technology
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill identifies and removes try/catch blocks and defensive null-checks that do not add value, improving error handling and code readability.
Core Features & Use Cases
- Identify and Remove Try/Catch Blocks: Scans code for and removes try/catch blocks that do not serve a useful role.
- Preserve Boundary Code: Keeps try/catch blocks in system boundary files like HTTP handlers and CLI entry points.
- Use Case: When you want to clean up defensive code, stop swallowing errors, or remove pointless try/catch blocks.
Quick Start
Analyze and clean up defensive code in the current directory.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cleanup-defensive Download link: https://github.com/raintree-technology/agent-starter/archive/main.zip#cleanup-defensive Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.