code-simplifier
FreeNo executable scriptsNot checkedUse when simplifying recently touched code without changing behavior, especially when asked to "simplify code", "clean up code", "refactor for clarity", or…
by l-lin★ 17 GitHub starsAbout this skill
Simplify recent code. Preserve behavior. Follow project standards.
- Find the code the user changed, or the code touched in this session. Ignore unrelated areas unless the user asks for a broader pass.
- Read the repo guidance, especially
AGENTS.mdwhen present, and match existing project conventions. - 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
- Keep the smallest safe diff. Do not add abstractions, config, or helpers unless they make the touched code easier to understand right now.
- Preserve behavior exactly. If intent or safety is unclear, stop and ask instead of guessing.
- 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
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
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic