
Code Simplify
This takes messy code and makes it readable without changing what it actually does. It flattens nested conditionals, pulls out clear variable names, removes duplication, and breaks up dense transform chains. The workflow is conservative: it preserves public APIs, side effects, and error behavior, then runs lints and tests to verify nothing broke. You can point it at specific files or let it work on whatever you just modified in the session. It knows when to stop and ask instead of attempting speculative rewrites. Good for when you need to clean up before review but want guardrails against breaking changes.
- skills.sh installs
- 2.3K
- GitHub stars
- 104
- last updated
- Aug 21, 2026
Install
$ npx -y skills add paulrberg/agent-skills --skill code-simplify --agent claude-codeInstalls into .claude/skills of the current project.
Files
This takes messy code and makes it readable without changing what it actually does. It flattens nested conditionals, pulls out clear variable names, removes duplication, and breaks up dense transform chains. The workflow is conservative: it preserves public APIs, side effects, and error behavior, then runs lints and tests to verify nothing broke. You can point it at specific files or let it work on whatever you just modified in the session. It knows when to stop and ask instead of attempting speculative rewrites. Good for when you need to clean up before review but want guardrails against breaking changes.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/paulrberg/agent-skills
- Categories
- Code Review & Quality, AI & Agent Building
- First seen
- Apr 16, 2026