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-code

Installs 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 GitHub

Sponsors

Details

Repository
github.com/paulrberg/agent-skills
Categories
Code Review & Quality, AI & Agent Building
First seen
Apr 16, 2026

More from paulrberg/agent-skills

All 19
1cursor avatarthermoscursor/pluginsLaunch both thermo-nuclear review subagents in parallel, then synthesize their findings.2.3Kskills.sh installs
2ar9av avatarimpl-validatorar9av/obsidian-wikiValidate whether an implementation matches its stated goal. Use this skill when a skill or agent wants a second opinion on its own output, when the user says "c2.2Kskills.sh installs
3samuraigpt avatarmuapi-nano-bananasamuraigpt/generative-media-skillsReasoning-driven image generation using structured creative briefs (Gemini 3 style) — generates high-fidelity images via muapi.ai with logic-based prompting2.2Kskills.sh installs
4google-deepmind avatarinterpro-databasegoogle-deepmind/science-skillsIdentify domains, families, and sites in proteins; find all proteins in a family or sharing a domain; explore species distribution for a domain; annotate genome2.2Kskills.sh installs
5starchild-ai-agent avatarimage-portraitstarchild-ai-agent/official-skillsIdentity-consistent portrait generation from a reference photo. Covers professional headshots, dating photos, style transfers, themed portraits, photo series, a2.2Kskills.sh installs
6getsentry avatarsred-project-organizergetsentry/skillsTake a list of projects and their related documentation, and organize them into the SRED format for submission.2.2Kskills.sh installs