Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

code-simplifier

FreeNo executable scriptsNot checked

Use when simplifying recently touched code without changing behavior, especially when asked to "simplify code", "clean up code", "refactor for clarity", or…

l-linby l-lin★ 17 GitHub stars

About this skill

Simplify recent code. Preserve behavior. Follow project standards.

  1. Find the code the user changed, or the code touched in this session. Ignore unrelated areas unless the user asks for a broader pass.
  2. Read the repo guidance, especially AGENTS.md when present, and match existing project conventions.
  3. Simplify for clarity:
    • remove dead helpers, duplication, and needless comments
    • reduce nesting and conditional sprawl
    • prefer explicit names and straightforward control flow
    • avoid clever one-liners and nested ternaries
  4. Keep the smallest safe diff. Do not add abstractions, config, or helpers unless they make the touched code easier to understand right now.
  5. Preserve behavior exactly. If intent or safety is unclear, stop and ask instead of guessing.
  6. Verify the result against the changed code, then report only the simplifications that matter to understanding.

Install code-simplifier in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the code-simplifier skill do?

Use when simplifying recently touched code without changing behavior, especially when asked to "simplify code", "clean up code", "refactor for clarity", or "improve readability".

How do I install the code-simplifier skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the code-simplifier skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare code-simplifier with