Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Performs step-by-step code refactoring with SOLID principles evaluation and technical debt visualization for JavaScript projects.
Use this skill ↓52% 91%+39 ptsof test cases passed
Passed 21 of 23 test cases with the skill, and 12 of 23 without it.
A refactoring proposal requires 2 hours of engineering effort and is estimated to save 12 hours of maintenance work (6x ROI). What is its priority matrix tier and response timeframe?
Classifies the task as Critical priority based on ROI exceeding 5x.
3 of 3 safety checks passed
Performs safe, step-by-step code refactoring with quantitative SOLID principles evaluation. Visualizes technical debt and clarifies improvement priorities.
# Identify complex code and create refactoring plan
find . -name "*.js" -exec wc -l {} + | sort -rn | head -10
"Refactor large files to reduce complexity"
# Detect and consolidate duplicate code
grep -r "function processUser" . --include="*.js"
"Consolidate duplicate functions using Extract Method"
# Evaluate SOLID principles violations
grep -r "class.*Service" . --include="*.js" | head -10
"Assess whether these classes follow Single Responsibility Principle"
# Find long methods
grep -A 50 "function" src/*.js | grep -B 50 -A 50 "return" | wc -l
"Split methods over 50 lines using Extract Method"
# Find complex conditions
grep -r "if.*if.*if" . --include="*.js"
"Improve nested conditions using Strategy pattern"
# Find code smells
grep -r "TODO\|FIXME\|HACK" . --exclude-dir=node_modules
"Resolve technical debt in comments"
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.