Identify design quality issues in code including high coupling, low cohesion, God classes, long methods, and other code smells. Use when: (1) Reviewing code architecture and design quality, (2) Identifying refactoring opportunities, (3) Detecting God classes or classes with too many responsibilities, (4) Finding high coupling or low cohesion issues, (5) Analyzing code maintainability and technical debt. Detects coupling smells, cohesion problems, complexity issues, size violations, and encapsulation problems with actionable refactoring suggestions.
90
92%
Does it follow best practices?
Impact
79%
1.05xAverage score across 3 eval scenarios
Passed
No known issues
Smell detection with script and JSON output
Uses detect_smells.py
0%
100%
JSON format flag
0%
100%
smell-report.json created
100%
100%
God Class identified
100%
100%
High Coupling identified
30%
100%
Long Method identified
0%
0%
Severity levels used
50%
100%
Critical smells prioritized
100%
100%
God Class refactoring strategy
100%
100%
Coupling refactoring strategy
50%
100%
Refactoring workflow with before/after verification
Pre-refactor detection run
0%
100%
Post-refactor verification run
0%
100%
Before/after metrics documented
100%
100%
Extract Class applied
100%
100%
Dependency Injection applied
100%
100%
Extract Method applied
100%
100%
God Class threshold respected
100%
100%
Smell count reduced
100%
30%
Critical smells resolved
100%
90%
CI/CD integration and pre-commit hooks
Pre-commit uses detect_smells.py
100%
0%
Pre-commit exit on critical
100%
0%
Pre-commit hook file created
100%
0%
CI workflow file created
100%
100%
CI triggers on push and PR
100%
100%
CI workflow runs detect_smells.py
100%
100%
Checkout step included
100%
100%
Source directory targeted
100%
50%
Python used to invoke script
100%
100%
0f00a4f
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.