Back to Agent Skills
Security & Quality
Code Simplification
by Addy Osmani 78k GitHub stars
Reduce complexity while preserving behavior — remove dead code, flatten logic, and improve readability.
#refactoring#simplification#quality#cleanup
Claude Code Codex
Overview
This skill reduces code complexity without changing behavior, removing dead paths, flattening convoluted logic, and improving readability. Use it to pay down complexity after a feature lands.
What it is good for
- Simplifying tangled logic safely
- Removing dead or duplicate code
- Improving readability post-feature
- Refactoring without behavior change
Install
Install in Claude Code
# Add the marketplace, then install the skill in Claude Code:
/plugin marketplace add addyosmani/agent-skills
/plugin install code-simplification
# Or install manually into ~/.claude/skills:
git clone https://github.com/addyosmani/agent-skills.git
cp -r agent-skills/code-simplification ~/.claude/skills/code-simplification Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Skills
Security & Quality
Code Review and Quality
Perform a five-axis code review with severity labels covering correctness, design, and maintainability.
Claude Code Codex
Security & Quality Security and Hardening
Prevent OWASP-class vulnerabilities and audit dependencies to harden applications against attack.
Claude Code Codex
Security & Quality Trail of Bits Security Skills
Vulnerability scanning, contract auditing, CodeQL/Semgrep analysis, and property-based testing from Trail of Bits.
Claude Code Codex Cursor