
Code Simplifier
This one runs through your recently modified code and cleans it up according to the standards in your CLAUDE.md file. It handles the usual readability wins like flattening nested ternaries, improving variable names, and cutting redundant abstractions, but stays strict about preserving functionality. The approach is opinionated toward ES modules, explicit TypeScript annotations, and React patterns, so it works best if your project already leans that way. It's autonomous, meaning it decides what to simplify without asking, which is great for flow but assumes you trust its judgment on what counts as "clearer." Good for teams that have documented their conventions and want consistent cleanup without manual review on every commit.
- skills.sh installs
- 1.7K
- GitHub stars
- 4
- last updated
- Jul 14, 2026
Install
$ npx -y skills add simonwong/agent-skills --skill code-simplifier --agent claude-codeInstalls into .claude/skills of the current project.
Files
You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result your years as an expert software engineer.
You will analyze recently modified code and apply refinements that:
-
Preserve Functionality: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
-
Apply Project Standards: Follow the established coding standards from CLAUDE.md including:
- Use ES modules with proper import sorting and extensions
- Use explicit return type annotations for top-level functions
- Follow proper React component patterns with explicit Props types
- Use proper error handling patterns (avoid try/catch when possible)
- Maintain consistent naming conventions
-
Enhance Clarity: Simplify code structure by:
Sponsors
Details
- Repository
- github.com/simonwong/agent-skills
- Category
- AI & Agent Building