You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its...
Install with Tessl CLI
npx tessl i github:sickn33/antigravity-awesome-skills --skill codebase-cleanup-refactor-clean56
Quality
37%
Does it follow best practices?
Impact
89%
1.20xAverage score across 3 eval scenarios
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/codebase-cleanup-refactor-clean/SKILL.mdSOLID decomposition and output format
Cleanup plan present
100%
100%
Refactor targets listed
100%
100%
Impact and risk notes
100%
100%
Test/verification plan
100%
100%
SRP applied
100%
100%
DIP applied
0%
100%
Dependency injection used
100%
100%
Methods under 20 lines
100%
50%
Classes under 200 lines
100%
100%
Before/after metrics
25%
0%
Design pattern applied
100%
100%
Method extraction shown
100%
100%
Without context: $0.6265 · 2m 38s · 22 turns · 71 in / 9,539 out tokens
With context: $1.7066 · 5m 6s · 47 turns · 356 in / 21,411 out tokens
Code smell analysis and prioritization
Priority formula used
0%
90%
Severity levels assigned
100%
100%
Magic numbers extracted
20%
100%
O(n²) eliminated
100%
100%
Cyclomatic complexity reduced
0%
37%
Dead code removed
100%
100%
Descriptive names
87%
100%
Nested loops reduced
100%
100%
Methods under 20 lines
100%
87%
Caching applied
50%
75%
Before/after comparison
71%
100%
DRY principle applied
28%
100%
Without context: $0.6311 · 3m 2s · 17 turns · 66 in / 12,383 out tokens
With context: $0.9389 · 3m 48s · 30 turns · 292 in / 13,789 out tokens
Clean code standards and documentation
Type hints added
100%
100%
Specific exceptions
100%
100%
Custom exception classes
0%
100%
Docstrings with sections
100%
100%
No hardcoded secrets
100%
100%
Logging added
100%
100%
Fail-fast validation
50%
100%
Max 3 parameters
0%
0%
Test suite included
100%
100%
Error conditions tested
100%
100%
No side effects in functions
40%
60%
Cleanup plan present
100%
100%
Without context: $0.9465 · 4m 20s · 20 turns · 69 in / 19,369 out tokens
With context: $1.5005 · 4m 58s · 34 turns · 83 in / 21,553 out tokens
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.