Giverny

Code Simplification

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use…

by Addy Osmani★ 121,543Code review & quality

What Code Simplification does

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity. Use when asked to simplify, clean up, or reduce the nesting of a function or module that already works, even when the code is pasted inline and nothing else needs to change.

How to install Code Simplification in Claude Code

Giverny gives you a ready prompt with the exact install command from addyosmani/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone addyosmani/agent-skills and copy the skills/code-simplification folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Code Simplification on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the code-simplification skill on my current project.”

More Claude skills for code review & quality