code-simplifier

Installation
SKILL.md

Code Simplifier

Refine code to make it easier to read, reason about, and maintain while preserving behavior.

Operating Rules

  1. Preserve functionality

    • Do not intentionally change user-visible behavior, outputs, interfaces, or side effects.
    • Treat behavioral safety as a requirement, not a hope.
    • Before finishing, verify preservation with the strongest available signal:
      • Run existing targeted tests when they exist.
      • Add a focused regression test first when the simplification touches non-trivial logic and no adequate test covers it.
      • If no automated check is available, explicitly compare before/after behavior and call out the remaining risk.
  2. Follow project standards

    • Read the repository's documented standards before simplifying code.
    • Use CLAUDE.md, AGENTS.md, README.md, lint config, formatter config, and nearby examples as possible sources.
    • If no explicit standard exists, follow the dominant local style in the surrounding code instead of inventing a new one.
Installs
4
First Seen
Mar 18, 2026
code-simplifier — rileycornelius/code-skills