
Description
This skill gives an AI coding agent a set of rules for simplifying code to make it clearer, more consistent and easier to maintain without changing what it does. It contains 47 rules in 8 categories, ordered by impact from critical ones like understanding context and preserving behaviour down to smaller ones like language idioms. Each rule explains the reasoning, shows an incorrect and a correct example, and notes its impact. Four principles guide it: learn the project's conventions before changing anything, change how code is written but never its behaviour, stay focused on recently modified code with small diffs, and favour explicit readable code over clever one-liners. Use it when cleaning up new code, reducing nesting or duplication, improving names or reviewing maintainability. Install with npx skills add https://github.com/pproenca/dot-skills --skill code-simplifier.…
Highlights
- 47 rules across 8 categories
- Rules ranked by impact
- Incorrect vs correct examples for each rule
- Strict behaviour preservation
- Focus on recently modified code
Ratings & Reviews
No ratings yet
Be the first to rate code-simplifier.
People also visit

clean-code
Write readable, maintainable code through disciplined naming, small functions
code-simplifier FAQ
What does code-simplifier do?
It guides an agent to simplify code for clarity and maintainability while keeping its behaviour exactly the same.
How are the rules organised?
47 rules in 8 categories, prioritised from critical (context discovery, behaviour preservation) to incremental (language idioms), each with examples.
When should it be used?
When cleaning up recently changed code, reducing nesting, complexity or duplication, improving naming, applying idioms or reviewing maintainability.
How do I install it?
Run: npx skills add https://github.com/pproenca/dot-skills --skill code-simplifier
What were the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best code-simplifier alternatives?
Popular alternatives to code-simplifier include code-simplify, clean-code and refactoring-patterns. See all code-simplifier alternatives













