# Code Simplifier

> Paste a function. Get back the same logic in half the lines. Removes accidental complexity without breaking behaviour.

- Skill: `jackson-video-resources/code-simplifier` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jackson-video-resources/code-simplifier`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jackson-video-resources/code-simplifier/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jackson-video-resources (https://skillmd.com/u/jackson-video-resources)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jackson-video-resources/code-simplifier

---


Review the code just written and simplify it without changing behavior.

Steps:
1. Read all files that were modified in this session
2. For each file, identify:
   - Unnecessary abstractions (helpers used once, over-engineered patterns)
   - Redundant comments or dead code
   - Variables that could be inlined
   - Functions that could be collapsed
   - Any code that was added "just in case" but isn't used
3. Simplify ruthlessly: the goal is minimum lines for correct behavior
4. Do NOT change public interfaces, exported types, or behavior
5. Do NOT add new features, docstrings, or error handling that wasn't there
6. After simplifying, re-read the result and confirm it still makes sense

Guiding principle: if you can delete it without breaking anything, delete it.

