Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.
71
58%
Does it follow best practices?
Impact
91%
1.68xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/simplify/SKILL.mdFunction style and TypeScript conventions
function keyword: formatDate
0%
100%
function keyword: calculateTotal
0%
100%
function keyword: parseConfig
0%
100%
Explicit return type: formatDate
0%
100%
Explicit return type: calculateTotal
0%
100%
Explicit return type: parseConfig
0%
100%
Import extensions
0%
0%
Import sort order
0%
0%
No nested ternaries
100%
100%
Functionality preserved
100%
100%
Obvious comments removed
50%
100%
No over-consolidation
100%
100%
Nested ternary avoidance and clarity
No nested ternaries: getStatusLabel
100%
100%
No nested ternaries: getPriorityColor
100%
100%
switch or if/else: getStatusLabel
0%
100%
switch or if/else: getPriorityColor
0%
100%
Explicit return type: getStatusLabel
100%
100%
Explicit return type: getPriorityColor
100%
100%
function keyword usage
0%
100%
No dense one-liners
100%
100%
Functionality preserved: getStatusLabel
100%
100%
Functionality preserved: getPriorityColor
100%
100%
React component patterns and error handling
Explicit Props type
100%
100%
Props type used in signature
100%
100%
function keyword for component
0%
100%
Explicit return type annotation
0%
100%
No try/catch in component
100%
100%
Import sorting
100%
100%
Import extensions
0%
0%
Scope limited to UserCard
100%
100%
No nested ternaries in JSX
0%
100%
Obvious comments removed
100%
100%
1a9819e
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.