Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.
80
73%
Does it follow best practices?
Impact
90%
1.18xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/code-simplifier/SKILL.mdNested ternary replacement and clarity over brevity
No nested ternaries
100%
100%
If/else or switch used
100%
100%
Chained call broken into steps
100%
100%
Named intermediate variables
100%
100%
Function keyword used
50%
100%
Explicit return types
100%
100%
Functionality preserved
100%
100%
Obvious comments removed
50%
30%
No new compact patterns
90%
100%
Redundant helper removed
0%
0%
ES module imports and React component patterns
Function keyword for component
0%
100%
Explicit Props type
100%
100%
Function keyword for helpers
100%
100%
Explicit return types on functions
0%
100%
ES module import extensions
0%
0%
Import sorting
100%
100%
Redundant wrapper removed
100%
100%
Naming convention consistency
100%
100%
Functionality preserved
100%
100%
Obvious comments removed
100%
100%
No new compact patterns introduced
100%
100%
Focused scope and error handling patterns
Stable code untouched
100%
100%
Try/catch replaced
100%
100%
Function keyword used
0%
100%
Explicit return types
60%
70%
Related logic consolidated
0%
50%
Nested ternaries absent
100%
100%
Clear variable names
100%
100%
Functionality preserved
100%
100%
Obvious comments removed
100%
100%
No over-consolidation
100%
100%
45417f2
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.