Code Simplify
Reduce a change's complexity WITHOUT altering behavior — lower cognitive load, not line count: re…
by ulpi-io
The skill
Reduce a change's complexity WITHOUT altering behavior — lower cognitive load, not line count: read the target plus its callers and tests, take a baseline check, then apply the smallest clarifying edits in safest order (dead code and boolean cleanup → flatten nesting with guard clauses → consolidate duplication → local renames and helper extraction), respecting Chesterton's Fence. Re-runs the baseline after each edit and reverts any change that alters observable behavior or regresses, keeping only the safe improvements — a simplification that changes semantics is a bug, not a cleanup. Use only when the user explicitly asks to simplify or clean up existing code.
This skill's licence does not allow redistribution, so the store does not show its text. Read it at the source.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: ulpi-io/code-simplify-64098444087.
Details
- Publisher
- ulpi-io
- Category
- Software Development › Source control & code review
- Updated
- 2026-08-31
References
More from ulpi-io
- Ast Grep Search code by SYNTAX SHAPE, not by text — matching structures grep and regex can't reliably expr…
- Branch Review Before Pr Gate a branch before it becomes a PR — catch the STRUCTURAL defects tests miss, not style: read t…
- Browse Aeo Score a page for how well AI answer engines can CITE it — Answer Engine Optimization, not classic…
- Browse Config Generate camoufox configuration for the `browse` CLI by INTERVIEW, not hand-edited JSON — an AskU…