code-simplification
Provides a process-driven, language-aware checklist and step-by-step workflow for simplifying working code without changing behavior, emphasizing understanding, incremental changes, and verification by tests. Includes concrete patterns, examples (TypeScript, Python, React), and rules to avoid over‑simplification.
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity. Use when asked to simplify, clean up, or reduce the nesting of a function or module that already works, even when the code is pasted inline and nothing else needs to change.
- Category: Software development
- Source: addyosmani/agent-skills at commit e997ac5
- Stars: 120776
- License: MIT
- Automated scan and AI review: passed on commit e997ac5 (2026-11-28). All 1 file read in full by the automated scan and the AI review.
What this skill does on your computer
Instructions only: nothing beyond what your agent normally does.
We checked version e997ac5 on 2026-11-28. Later changes to the repository haven't been checked; the install command gets the checked version.
Works with
- Claude Code: copy the folder to ~/.claude/skills/code-simplification/ (or .claude/skills/<skill>/ in a project)
- OpenAI Codex: copy the folder to ~/.codex/skills/code-simplification/
- GitHub Copilot: copy the folder to .github/skills/code-simplification/ in your repository
- Cursor: copy the folder to the skills folder in your Cursor settings
- Gemini CLI: copy the folder to the skills folder in your Gemini CLI settings
- Amp: copy the folder to the skills folder in your Amp settings
Install the checked version: npx degit addyosmani/agent-skills/skills/code-simplification#e997ac5b9a74eab332d5e9793bb38a38c8cfdd74 code-simplification. AI Agents Store never runs skills, and checks can miss things: review the files before you install. How we review skills