🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

ia-simplifying-code

by @iliaal

Simplifies, polishes, and declutters code without changing behavior. Use when asked to simplify, clean up, refactor, declutter, remove dead code or AI slop,...

Versionv3.0.5
πŸ”’ Constraints

  • Only simplify what was requested -- do not add features, expand scope, or introduce new dependencies
  • Leave unchanged code untouched -- do not add comments, docstrings, or type annotations to lines that were not simplified
  • Do not bundle unrelated cleanups into one patch -- each simplification should be a coherent, reviewable unit
  • Do not introduce framework-wide patterns while simplifying a small local change
  • Do not replace understandable duplication with opaque utility layers -- three similar lines are better than a premature abstraction
  • Keep comments that explain intent, invariants, or non-obvious constraints. Remove comments that restate obvious code behavior.
  • If a simplification would make the code harder to understand, skip it
  • Watch for over-simplification: inlining too aggressively removes names that gave concepts meaning; combining unrelated logic into one function hides distinct responsibilities; removing abstractions that exist for testability breaks the test suite
  • When unsure whether a block is dead code, ask instead of deleting
  • View on ClawHub
    TERMINAL
    clawhub install compound-eng-simplifying-code

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’