Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews code changes or removes redundant error handling, verifying that existing behavior is preserved.
87% 83%−4 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 20 of 23 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
review <pr-id|commit-range|description>: review the identified change. For a
PR, follow REVIEW.md; it owns practice routing, evidence,
verdicts, and posting. For a commit range, apply the same relevant practices
and report findings to the caller without inventing a PR destination.cleanup [scope]: implement removal of redundant error handling in the
requested scope. The existing defensive-code-cleanup command routes here.Read code quality and select additional guidance from the documentation index. Searches identify candidates; inspect actual behavior before reporting a violation.
Search the requested source for catches that only log and rethrow, fabricate a generic success/empty result, or duplicate a framework-owned error response. For an unbounded cleanup request, select up to ten related, justified removals.
Before removing each catch, trace its caller and owning error boundary. Establish what the caller observes after removal and why the existing handler is redundant. Do not remove:
Apply fallback rules, deployment compatibility, and reference authority when those boundaries are involved. A catch containing only a log is not automatically redundant: verify whether it owns necessary diagnostics or rejection handling.
Remove unused imports and adjust callers only when the preserved contract
requires it. Keep async work attached to its owning cancellation signal;
detach() is not a replacement for error handling inside signals.
Next to this one in the catalogue, plus more from the same author.