simplify

Installation
SKILL.md

Code Simplification

Review the specified code (or recent changes) for unnecessary complexity and simplify it.

What to look for

  1. Over-abstraction — helpers, utilities, or wrapper functions used only once. Inline them.
  2. Unnecessary indirection — callback chains, event buses, or service layers that just pass data through.
  3. Defensive overkill — error handling for impossible cases, null checks deep inside trusted internal code.
  4. Dead code — unused imports, unreachable branches, commented-out blocks, unused variables.
  5. Complex conditionals — nested if/else that could be early returns, switch statements that could be lookups.
  6. Premature generalization — config objects for one use case, plugin systems with one plugin, factory patterns for one type.
  7. Redundant comments — comments that restate the code instead of explaining why.

Principles

Installs
5
GitHub Stars
114
First Seen
Apr 13, 2026
simplify — seifbenayed/claude-code-sdk