code-smell-detector
Installation
SKILL.md
Code Smell Detector
Systematic detection and categorization of code smells based on Martin Fowler's catalog and established software engineering literature. This skill provides heuristics for identifying problematic code patterns, assigns severity scores, and recommends specific refactoring strategies to resolve each smell.
When to Use This Skill
Use this skill for:
- Reviewing code for structural quality problems before merging
- Identifying methods, classes, or modules that have grown too large or too complex
- Detecting coupling and cohesion issues across a codebase
- Prioritizing refactoring efforts based on smell severity and impact
- Training developers to recognize common anti-patterns
- Establishing code quality baselines for a project
- Preparing a codebase for new feature development by cleaning up existing smells
Trigger phrases: "code smell", "detect smells", "find code smells", "code quality issues", "long method", "god class", "feature envy", "data clumps", "shotgun surgery", "code review quality", "structural problems", "anti-patterns"